Closed andrewpeng02 closed 8 months ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
@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 tokenterraform destroy