Practical Kubernetes: Setting up K8s cluster on AWS using Terraform

Aleksa Vukotic
May 13 · 9 min read

Prerequisites

Provisioning AWS EKS Cluster

IAM Policies for AWS EKS Cluster

https://github.com/aleksav/k8s-blogs/blob/master/01-setup-k8s-on-aws-eks/terraform/eks-k8s-cluster/02-elb-iam-policy.tf

Time to create our k8s cluster

K8s cluster created using Terraform viewed from AWS console
EC2 instances provisioned for the k8s cluster

Connecting to the cluster

aws eks — region eu-west-1 update-kubeconfig — name tsf-k8s-blog
cp kubeconfig_tsf-k8s-blog ~/.kube/config
kubectl cluster-infokubectl get nodes

Mentions

thestartupfactory.tech

The best from Design, Tech and Business for all things Startup. You’ll love it…

Aleksa Vukotic

Written by

software development pragmatist, startup tech by day and night

thestartupfactory.tech

The best from Design, Tech and Business for all things Startup. You’ll love it…