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
Community showcase
Posted yesterday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: https://www.icloud.com/keynote/0RyJ4VEdNUpjDpGfMhfZx9fEg#Confluence_Security_Advisor More details: https://co...

35 views 1 0
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