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
posta 7 mesi fa64 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande