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
demandé il y a 7 mois64 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions