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

1 vote
Tom Kane Atlassian Team Apr 13, 2016

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.

Tom Kane Atlassian Team Apr 13, 2016

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.


Tom Kane Atlassian Team Apr 21, 2016

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

280 views 0 12
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