- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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!
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa