Deploy on AWS
Using Terraform
Introduction
Amazon Web Services, one of the world's three most popular cloud providers, offers reliable and scalable cloud computing services. Free to join. Pay only for what you use.
At the moment, memphis utilizing Terraform to automate the entire deployment process from VPC creation, to K8S, to memphis deployment.
Terraform codifies cloud APIs into declarative configuration files.
Prerequisites
AWS CLI installed and configured
Make sure your local station is connected with AWS Account using an AWS IAM user which has access to create resources (EKS, VPC, EC2)
IAM Policy to use -
How to configure AWS CLI -
Terraform Installation Flow
Step 0: Clone Memphis-Terraform repo
Using git ssh
Using git http
Step 1: Deploy EKS Cluster using Terraform
Instead of running three terraform commands
Step 2: Deploy Memphis
Once deployment is complete, the Application Load Balancer URL will be revealed.
Step 3: Login to Memphis
Display memphis load balancer public IP by running the following -
The UI will be available through https://<Public IP>:9000
Appendix A: Clean (Remove) Memphis Terraform deployment
Destroy Memphis App -
It might take a few minutes for the ELB to be deleted.
Destroy Memphis EKS Cluster -
Last updated