DEV Community

Choonho Son
Choonho Son

Posted on

1

Amazon EC2 & Minikube

In a Amazon EC2 VM, this guide is to install

  • docker
  • kubernetes (minikube)
  • kubectl
  • helm

Docker

https://docs.docker.com/desktop/install/fedora/

init docker repository

sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
Enter fullscreen mode Exit fullscreen mode

Install docker

sudo yum update
sudo yum install docker
Enter fullscreen mode Exit fullscreen mode

Start docker

sudo service docker start
sudo usermod -aG docker ec2-user && newgrp docker
Enter fullscreen mode Exit fullscreen mode

Minikube

https://minikube.sigs.k8s.io/docs/start/

Image description

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-latest.x86_64.rpm
sudo rpm -Uvh minikube-latest.x86_64.rpm
Enter fullscreen mode Exit fullscreen mode

start minikube

minikube start --driver=docker --memory=4096mb
Enter fullscreen mode Exit fullscreen mode

kubectl

https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
Enter fullscreen mode Exit fullscreen mode

helm

https://helm.sh/docs/intro/install/

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
Enter fullscreen mode Exit fullscreen mode

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay