Closed lzy7071 closed 4 years ago
I suspect so but I can't be sure.
Build / Test on Circle -> push to ECR -> deploy to ECS
Base docker image on tiangolo/meinheld-gunicorn-flask
Use https://github.com/KarrLab/datanator_rest_api_aws to instantiate / destroy an AWS deployment stack.
Load Balancer
in VPC across 1 AZ with 2 security groups, one for public subnet, the other for the containers.
Need to create log groups in https://github.com/KarrLab/datanator_rest_api_aws/blob/master/ecs_ecr_templates/public-service.yml
Need to have READ_PREFERENCE env variable.
Done.
This seems like a good idea. Is this part of the reason that the REST API fails intermittently?