How do I use the AWS CodeDeploy add on to push builds to multiple regions?

Currently, my AWS CodeDeploy add on is configured to deploy to (AWS) us-east-1. In the Settings for my repo, under CodeDeploy, is it possible to deploy to multiple regions?

1 answer

The AWS CodeDeploy add-on currently only supports deploying to one location (in one region).

If you have a specific need, you can make a feature request here and we will take it into consideration.

Note that in order to deploy to multiple regions you must define your application once in each region (if you haven't already). See How do I deploy an AWS CodeDeploy application to multiple regions? in the AWS CodeDeploy FAQ for more information.

One workaround in the meantime is to have multiple clones of your repo and configure each to deploy to a different region.

Thanks a lot Tom, I see that, right now its possible. We will probably not attempt the hacky way.

Relatedly, would tools like Ansible or Chef be a direction worth taking? Wherein, we have one repo with the app codebase, that needs to be pushed out to instances on AWS (and in the future, on Azure/GCE) on commits.

 

Sorry, I don't have enough experience with Ansible or Chef to advise you.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

682 views 0 4
Read article

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