DEV Community

Cover image for Shell into ECS Fargate container with VSCode AWSTool
Gernot Glawe for AWS Community Builders

Posted on

Shell into ECS Fargate container with VSCode AWSTool

The AWS Toolkit for Visual Studio Code keeps getting better:

Easily log into fargate container

Log into fargate

This becomes possible with aws ecs execute-command, see ecs.exec. It has nothing to do with ssh, it's done via the Systems Manager!

Execute Lambda Functions

Lambda execute

As I like to save some example events locally, this lets me use these files. Again - faster than with the console.

View larger CloudWatch logs streams

If you have a large log stream with the console, you must click load more several times.

Load More

The same thing is achieved by the toolkit:

Logs

Good work toolkit team!

Top comments (0)