Using Terraform to Configure an AWS Environment
Explore setting up infrastructure on AWS using Terraform to deploy the MallBots application.
The MallBots application is going to be run from AWS Elastic Kubernetes Service (EKS), a managed Kubernetes environment. The IaC to create the infrastructure is going to be found in the /deployment/infrastructure
directory.
Setting up infrastructure on AWS with Terraform
We will be configuring a small typical AWS environment across two Availability Zones (AZs):
In the infrastructure directory, there are several Terraform files. Altogether, they are going to be used to set up the following in AWS:
Docker repositories with Elastic Container Service (ECS). We will be uploading the built microservice images here.
A Kubernetes cluster in EKS. We will be deploying our application here from images stored in ECS.
A PostgreSQL database using Relational Database Service (RDS). A single instance will serve all of the microservice databases and schemas. ...