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 Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

85 views 2 2
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot