I am Building a solution, where I have 10-15 micro-services REST Applications running in ECS Container and few will be in EC2. I am using Cognito as API Gateway authentication. Now UI Application will send the request to API Gateway, which in turn connect with REST Application and returns the response.
I have tried implementing API Gateway authentication with Cognito and I am able to connect to the REST endpoint running in EC2.
Now I need a solution like API Gateway -> Application Load Balancer -> Target Group -> ECS/EC2 will be running in Public Subnet.
How do I Configure this?
Am I following the correct approach?