AWS SSM reverse tunnel to AWS ECS Fargate

0

For development and debug I would like to run a NodeJS app on my laptop and make it available as a task running on ECS Fargate.

I can do that in a EC2 instance instead (without ECS). I do reverse port forwarding from my local NodeJS app port to the EC2 80 port (using SSM and EC2's instanceId), so that my local NodeJS app is available to http://<EC2_PUBLIC_IP> . As such, any http call to http://<EC2_PUBLIC_IP> is actually served by my local laptop, and therefore I can debug with my IDE as usual.

I am wondering if there is a way to do reverse port forwarding to Fargate by SSM (on Fargate there is no instace id to use for that). Ideally, I would connect to the Fargate container without opening 22 port or so...

profile picture
Fabio
asked 7 months ago62 views
No Answers

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