Install Minikube on your Ubuntu 18.04(AWS)
Tags: aws, docker, kubernetes, minikube
Published: 2022-06-11 13:28:35

## Step1.Lanuch EC2 Instance
![Image description](https://community.ops.io/remoteimages/uploads/articles/czvrsli0m84ayivqbd69.png)
 
### 1.Choose Image(Ubuntu 18.04)
![Image description](https://community.ops.io/remoteimages/uploads/articles/nkqpg4acb84eq43iwbvy.png)
 
### 2.Choose Instance Type(T3.medium)
![Image description](https://community.ops.io/remoteimages/uploads/articles/d373si7xwcx1ez76auh8.png)
 
### 3.Add Storage(Least 10GiB)
![Image description](https://community.ops.io/remoteimages/uploads/articles/4dfuyb9q5msnan7qwr5r.png)
 
### 4.Add Tags(Options)
![Image description](https://community.ops.io/remoteimages/uploads/articles/a5qglwz28jqwm8xjq0xj.png)
 
### 5.Add SecurityGroup
![Image description](https://community.ops.io/remoteimages/uploads/articles/5l6zyexrui1uhbay9nm1.png)
 
### 6.Check and lanuch
![Image description](https://community.ops.io/remoteimages/uploads/articles/xv2bydcnumbc340y2fmo.png)
 
### 7.View Your Instance
![Image description](https://community.ops.io/remoteimages/uploads/articles/xu9h8vv0d9v8ailijqi1.png)
 


## Step2.Login into your Instance
### 1.Open SecureCRT Connect Tool
![Image description](https://community.ops.io/remoteimages/uploads/articles/4ohw8nac9pt25huvylzo.png)

### 2.Add .PEM key 
![Image description](https://community.ops.io/remoteimages/uploads/articles/req1iox0bak4adcd7efv.png)
![Image description](https://community.ops.io/remoteimages/uploads/articles/gslpgcnf2f7ggjo42grv.png)
  
### 3.Login use ubuntu User 
![Image description](https://community.ops.io/remoteimages/uploads/articles/mv8n6ap6dpjpcet3e72g.png)
![Image description](https://community.ops.io/remoteimages/uploads/articles/gb5cbfu9kkzognv2hqw3.png)
  
 
## Step3.Install Kubectl(Use ubuntu User)
```bash
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
```
![Image description](https://community.ops.io/remoteimages/uploads/articles/prxdcv9g5dug0njhgny9.png)
 

## Step4.Install Docker(Use ubuntu User)
```bash
sudo apt-get update && sudo apt-get install docker.io -y
sudo systemctl start docker
```
![Image description](https://community.ops.io/remoteimages/uploads/articles/9sj8donlxvvy1d0krcrx.png)
 
## Step5.Install and check Minikube
### 1.Install conntrack(Root User)
```bash
sudo -i
apt install conntrack
```
![Image description](https://community.ops.io/remoteimages/uploads/articles/upfkqck3ahx8g1skzn05.png)

### 2.Install Minikube
```bash
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
```
![Image description](https://community.ops.io/remoteimages/uploads/articles/30rqgvu2fui6pzu6jgyy.png)

 
## Step6.Start and check Minikube


```bash
minikube start --vm-driver=none
minikube status
```
![Image description](https://community.ops.io/remoteimages/uploads/articles/632iau7owxnxf1uhdw9d.png)
![Image description](https://community.ops.io/remoteimages/uploads/articles/vvn24jyjcqhkhiatt2ew.png)