How to Build a Service with Private VPC/Subnets/Kubernetes Cluster/Elastic File Server

Here’s another relatively simple process ( shell script ) that will build a service, complete with its own VPC, subnets both public and private, Kubernetes cluster along with an EFS server to support a persistent data storage function.  I’ll also supply some of the AWS documentation URL’s so we can have some reference to where this is all coming from.

The shell script that can be run from the command line, it creates a complete private VPC/Subnets/Kubernetes Cluster/Elastic File Server and several supporting IAM policies/roles as well as a few other random services, resulting in an end-to-end containerized application utilizing these AWS services:

IAM ( for creating accounts/roles for various services )
ELB ( alb load balancer )
EKS ( Elastic Kubernetes Service using Fargate )
EFS ( Elastic File Services )

The complete source code are located here:  git repo

So fill in the variables to match your local environment and then launch it to create your complete services.  Feel free to comment and let me know how it goes.

Good luck!