This is the working github repository for the "Learning Live with AWS & HashiCorp" series. We'll discuss the foundations of a microservices architecture, the problem space it solves, where service mesh fits into all of this, and then begin from scratch - setting up a Terraform project, creating a Virtual Private Cloud (VPC), and explaining all of the concepts along the way.
This repo will be updated after each episode!
This repo is split into branches, each representing a part in the series:
- Part 1 - Setting up the Terraform project and creating a VPC
- Part 2 - Creating your first containerized microservice on Amazon ECS with Terraform
- Part 3 - Extending your application with private microservices
Our first section of episodes will work towards building out the following architecture:
The second section of episodes will work towards refactoring the first section's architecture into using a Service Mesh.
-
Have an AWS Account.
-
Install HashiCorp Terraform.
-
Have the AWS CLI Installed.
-
Create an AWS IAM User with Admin or Power User Permissions.
- this user will only be used locally
- Configure the AWS CLI with the IAM User from Step 4.
- Terraform will read your credentials via the AWS CLI
- Other Authentication Methods with AWS and Terraform
-
Clone this repo to an empty directory.
-
Run
terraform planto see what resources will be created. -
Run
terraform applyto create the infrastructure on AWS! -
Run
terraform destroywhen you're done to get rid of the infrastructure.
Reach out to either Jenna Pederson or J. Cole Morrison. Also, feel free to leave any issues you run into on this Github Repo!
