1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Hello,
By API Gateway I guess you mean within your application, not using AWS API Gateway, right?
If you can put your services into a docker-compose file, which helps with local testing and configuration, ECS Compose-X will deal with setting everything up for you: it will create IaC templates (CloudFormation) to deploy everything to AWS (with something as simple as ecs-compose-x up
. It will create your ECS Cluster, VPC, the ECS resources, IAM roles, etc. for you. You can also have it deal with other things such as DNS, ELB etc.
Alternatively, you can try Copilot too, but that does not use the docker-compose syntax.
Hope this helps,
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 9달 전
- AWS 공식업데이트됨 일 년 전
Yea correct. In Nestjs i have 2 "apps" in my monorepo. One api-gateway & products. All my calls go through my api-gateway and using rabbitMq messages it calls the proper microservice (in this case only products). I have a docker-compose file in my project and then Dockerfile in each app. When i do docker-compose up its runs perfectly no issues.
If this ecs-compose-x up deploys this then perfect ill take a look!