Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to deploy to ECS using Pipes and enable ExecuteCommand



we have a running ECS cluster with a deploy definition in bitbucket and we would be able to connect using ExecuteCommand.

Is it possible to Enable ExecuteCommand during ECS deployment using pipes 

atlassian/aws-ecs-deploy:1.0.0 ?
Thanks a lot

1 answer

0 votes
Caroline R Atlassian Team Oct 06, 2021

Hi, Roberto! Welcome to the community! 

Could you please give me more details about your business case and some examples, so I can further understand what you are looking for? With this information, I can create a feature request for our dev team to implement this to the pipe. 

Thank you. 

Kind regards,

Hi Caroline,

thanks for replying.

My company is using as a repository and every time we are committing changes an automatic pipeline (don't know if it is a correct term) run to build and deploy a container image to AWS ECS.

The pipeline is using your atlassian/aws-ecs-deploy:1.0.0 library and it works very good.

The problem is that we want to connect a shell (or run an interactive command) to a running container on AWS ECS cluster; what normally you can do in docker with this command: $ docker container exec -it my_mysql /bin/bash

AWS added a new feature called "--enable-execute-command"; see


$ aws ecs run-task --cluster ecs-exec-demo-cluster --task-definition ecs-exec-demo --network-configuration awsvpcConfiguration="{subnets=[$PUBLIC_SUBNET1, $PUBLIC_SUBNET2],securityGroups=[$ECS_EXEC_DEMO_SG_ID],assignPublicIp=ENABLED}" --enable-execute-command --launch-type FARGATE --tags key=environment,value=production --platform-version '1.4.0' --region $AWS_REGION


I was wondering if it is possible to enable the "--enable-execute-command" feature using your atlassian/aws-ecs-deploy:1.0.0 library.

Thanks a lot.

Kind Regards,


Caroline R Atlassian Team Oct 12, 2021

Hi, @Roberto Vottero

Thank you for sharing the additional details. I have created a feature request to our dev team as you can see here:

I would suggest that you add your vote there (by selecting the Vote for this issue link) as the number of votes helps the development team and product managers better understand the demand for new features. 

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy here and any updates will be posted in the feature request. 

Please feel free to let me know if you have any questions.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

172 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you