Production setup for Kubernetes with KOPS in AWS

Aashish Naik
Mar 18, 2019 · 4 min read
Containers getting ready to be loaded onto a ship for transportation. (credits: gcaptain.com)

Introduction

In the previous blog we setup a simple K8 cluster using KOPS in AWS, this is the next part to extend the setup to a Highly Available and scalable K8 cluster for production workloads.

For a production grade K8 cluster we will create the cluster in private subnet. We will create 3 Masters one in each AZ. We will create 3 instance groups one per AZ and configure autoscaling groups so the underlying K8 nodes can scale up or down in each AZ depending on the workload. The architecture of the K8 cluster looks as follows.

VPC architecture of highly scalable, highly available private kubernetes cluster

Installation steps:

  1. Perform steps 1 through 7 as mentioned in this blog kubernetes with KOPS in AWS

2. create a cluster.yaml, use this template file and update it as needed.

3. Create the cluster

4. Validate the cluster

5. Continue from step 9 and beyond in this blog kubernetes with KOPS in AWS to install dashboard and deploy test application.

The Startup

Medium's largest active publication, followed by +610K people. Follow to join our community.

Aashish Naik

Written by

DevOps Thought Leader, Mentor, Status Quo Challenger, Transformation Agent, Executionist

The Startup

Medium's largest active publication, followed by +610K people. Follow to join our community.

More From Medium

More from The Startup

More from The Startup

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade