I want to integrate AWS ECS with API Gateway (REST API) without using NLB, lambda, or any other service.

0

I want to integrate my ECS cluster services with the API gateway, but I don't want to use NLB or any other service in between, like lambda, etc.

2 Answers
0
profile pictureAWS
EXPERT
answered 19 days ago
0

If your ECS cluster is private, i.e., you can't access it from the internet, then you need to use VPC Link from API Gateway to get into the VPC. If you are using REST API, it only supports NLB. If you are using an HTTP API, you can use an NLB, ALB or CloudMap (which may be what you want).

If your cluster is exposed to the internet, you can connect API Gateway directly to it, but, API Gateway is not a load balancer, so you will only be able to connect it to a single instance. Also, if your service is exposed to the internet, users can bypass it and access the service directly, so it is not recommended.

profile pictureAWS
EXPERT
Uri
answered 17 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions