Spinning up AWS EKS with CloudFormation
Now that we have walked through a local installation of Kubernetes and explored some of the cloud vendor options, we are going to try deploying containers to an AWS-hosted Kubernetes environment. This will be the EKS service we briefly introduced in the previous section of this chapter.
In order to achieve this, we will describe how to create and manage an EKS cluster using AWS CloudFormation, their infrastructure-as-code service. For more information on CloudFormation, be sure to check out the AWS guides and documentation at https://docs.aws.amazon.com/cloudformation/.
Assuming you have previously created an AWS account or followed the instructions under the Technical requirements section of this chapter, load up the AWS cloud console.
To proceed, we need to set up EKS. There are many ways to get a working EKS cluster that require varying amounts of work:
- Set up everything by hand, step by step through the AWS console. We do...