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,
Adam 

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.

+1

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

107 views 3 3
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