Accessing Containers
Using the sst-laravel CLI tool, you can easily connect to your running ECS containers for debugging and troubleshooting.
npx sst-laravel ssh --stage production
This will list all running tasks in your cluster and let you choose which one to connect to.
Connect to a specific service:
npx sst-laravel ssh web --stage production
npx sst-laravel ssh worker --stage production
npx sst-laravel ssh reverb --stage production
If you are naming your workers differently, you can specify the worker name:
npx sst-laravel ssh {worker-name} --stage production
npx sst-laravel ssh worker --stage production