- 新しい順
- 投票が多い順
- コメントが多い順
Having learned a little more about how the API Gateway Integration that is used in this architecture works, I think the answer to my question is: "It is possible to test the ecs service in this architecture before setting up the API Gateway part, but doing so is more trouble than its worth! Just go ahead and wire up the API Gateway, then test through that."
Here's why I think this is true (I'm a beginner at AWS, so I can't be sure whether it IS true): In the absence of the API gateway infrastructure in this architecture, there is no public endpoint for the fargate service running the tasks. Thus testing the behavior of the service requires setting up (for instance) an EC2 instance inside the VPC where the tasks are running, and then getting that EC2 instance to send requests to the service. Getting that set up is really just as much work as setting up the API Gateway infrastructure, so might as well go ahead and do that!
関連するコンテンツ
- AWS公式更新しました 2年前
- AWS公式更新しました 2年前