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 create a pipeline in bit-bucket to deploy in test and production environments of beanstalk ?



I want to create a pipeline in bitbucket to deploy(.zip file) in Elastic Beanstalk. I have two environments (Test and production), so when a developer push to the test branch the pipeline will make a zip file and deploy it in the test environment, and when we push code to the production branch bitbucket pipeline will deploy it in the production branch. 

Can we configure like this in a bitbucket pipeline?  




2 answers

0 votes

Hi @msk134 ,

Have you explored using the AWS Elastic Beanstalk deploy pipe?  As @Oleksandr Kyrdan suggested you can use deployment variables to define `ENVIRONMENT_NAME` to be either test or production environment.


Justin Thomas

I saw that AWS Elastic Beanstalk deploy pipeline configuration. It is a good understanding to run pipelines. As you said define deployment variables in the pipeline, Can I run both environments in a single pipeline configuration(test and production)?




0 votes

Hi @msk134 ,

Thank you for your question!

It's a good case for the Bitbucket Pipelines Deployments.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

67 views 4 3
Join discussion

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