Minikube Installation On EC2

Kubernets’s is a demanding technology and needs lots of hands on and through practise to master it. Luckily we have tools to bootstrap single node cluster on kubernete’s where we can go, practice and get our hands dirty.

WE are going to talk about everyone’s favourite Minikube, a single node cluster bootstrapping tool, we are going to install minikube on and EC2 instance 🙂 Kubernetes + AWS = Fun.

Let’s start with launching EC2 instance and doing SSH into it, I’m starting a micro instance having minimum of two 2 cores of CPU of ubuntu 18+ LTS version for this demo.

Minikube requires minimum of two cores to run as per latest update

Step 1. Install Kubeclt command line client for minikube, which is used to interact with kubernete’s cluster.

Step 2. change permission of the binaries, and move to user folder.

Step 3. Install docker, there are many ways to do it. We will use shell script for this.

Step 4. Install minikube, one can combine the commands into one command with &&

Step 5. Become root, for missions.

Step 6. Start minikube, with no vm args

Steps 7. Check status.

Thats all folks !

Gaurav Bajpai

Note: We are running classroom batches on all of the Devops toolset, feel free to enquire about them ! locations covered Delhi, Hyderabad, Bangalore and Chennai.

Total Page Visits: 212 - Today Page Visits: 4