kubernetes cluster with minikube in AWS

This is a Terraform code which creates:

An AWS EC2 with helm, minikube, docker installed.

A security group with port 22 opened for SSH.

Note: If you don't have a default VPC in the region where you want to create these resources, you should create one before running this code:

aws ec2 create-default-vpc --region your-region

image

Once all resources are created, you can login to EC2 and start minikube:

minikube start

image