⚓Setup KOps and Calico within AWS Gov Cloud using Gossip DNS

Private Topology | Calico | Multiple Masters | ⚗ Kevin Summersill

⚗ Kevin Summersill 🔋
4 min readMay 1, 2020

It may be a challenge to set up a Kubernetes environment on the AWS Gov Cloud with high availability. One of the main challenges is dealing with the DSN not being able to set up AWS “alias” within Route 53. In this article, we will cover how to set up a highly scalable Kubernetes environment that utilizes a private topology, 3 masters that are associated with 3 different availability zones, a network with Calico, and 3 nodes. So let's get started.

  1. Creating a Virtual Private Cloud (VPC) within AWS Gov Cloud

There are two main ways to create a VPC: 1. Create it via the Console. 2. Create it via the AWS CLI. For this article, we will use the AWS CLI. Enter the following to create a new VPC:

Note: To install the AWS CLI, you can click here: AWS CLI. Make sure to type “aws configure” and use your Access ID and Secret Key. Make sure that your Access ID (aka user) has the permissions to create a VPC. Also, make sure that you are within the same region as you are setting up your Kubernetes environment.

aws ec2 create-vpc --cidr-block <your-cidr-block> --region <your-gov-region>

--

--

⚗ Kevin Summersill 🔋

Enterprise Solution Architect | Certified K8s Administrator/Developer ⚓ | SAFe SPC | Cert Terraform | AWS Solutions Architect | Dev*Ops/GitOps Engineer 🔥