How do I deploy to multiple servers in the same environment?

This question is in reference to Atlassian Documentation: Creating a deployment environment

Do I need a SCP task for each server in my environment (ie if I have 100 servers, I have 100 SCP tasks?)?  Same question for deployment scripts that need to be run after the artifact is SCP'd to the box. Would I also have to have 100 separate SSH Script tasks?

Or do I create 1 environment and then clone it for each server, so that I would have 'Production 1', 'Production 2'...'Production 100'?

If the correct way is through mutliple environments, then how do I make sure they all get updated at the same time and someone does not try and push to just one environment?

Thanks in advance,

2 answers

We were lucky and solved this by using AWS CodeDeploy and deploying to auto-scaled groups instead of individual clusters of instances. That is not an option for everyone though. I can't believe the Bamboo documentation has little to nothing on this.


I have the same question, and I'm shocked this use-case was never requested, we basically have this for EVERY deployment in bamboo, and we are currently using `parallel-ssh` python script. Who does still have only one server and no HA?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 10 hours ago in Featured Groups

Are you managing your users efficiently?

Hi everyone, I am Marek, a Senior Product Manager for Crowd   Server and Data Center   here at Atlassian. I would like to spark a discussion about challenges you have with managing use...

75 views 1 2
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you