-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature 1137 Create Terraform scripts for ECS backend #1141
Conversation
4e548b3
to
1d82d50
Compare
7a91557
to
fb6e528
Compare
fb6e528
to
a211b97
Compare
af15f44
to
93aa18b
Compare
Quality Gate passedIssues Measures |
@andrewpeng02 AWESOME work on this! Really love the thoroughness here. Love the detailed testing provided. I added a few minor questions/comments. Could you address those and tag me for re-review? Also, what would be the next steps after this PR? |
Next steps are moving the training into the training containers #1136 @karkir0003 |
Set up AWS infrastructure for the backend
Github Issue Number Here: #1137
What user problem are we solving?
We want to use Terraform for the aws infrastructure so that everything is defined in code. This Terraform code sets up the architecture specified in the diagram below. ALB routes requests to ECS fargate, which houses the Django backend containers. It also sets up ECS with EC2 launch type (g4dn.xlarge) that'll eventually be used for the training workers, but right now they don't do anything yet..
Testing Methodology
cd dlp-terraform/ecs
terraform apply
HTTP GET http://alb-[id].us-east-1.elb.amazonaws.com/api/datasets/default/IRIS/columns gets the proper columns when passed a Bearer token
terraform destroy