Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to bootstrap and/or deploy a server in Amazon EC2 not in the US region ? In juju's constraints, it seems that we can only choose region a, b, c or d which are in the US. Thanks for help

share|improve this question
Is it possible you are confusing "region" with "availability zone", which come in those single letters? – SpamapS Aug 6 '12 at 16:57
No, that's ok with the letters. – sherpa Aug 6 '12 at 17:48
But I was unable to find the "region" syntax. Whith your helps, I have finally find all the ec2 regions (us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1,ap-northeast-1 and sa-east-1). – sherpa Aug 6 '12 at 17:57

You can deploy to different EC2 Regions, which you can specify in the environments.yaml file. In your environments file, under your AWS environment, you can specify a region key. So to deploy to the Ireland AWS region add the following to the environments file:

region: eu-west-1

That will bootstrap and deploy everything in that environment to that AWS region.

See also:

share|improve this answer
Thanks ! It's ok ! I tought I had tried that ... – sherpa Aug 6 '12 at 15:58
JuJu 2.0 no longer uses environments.yaml to configure cloud environments. – wurde Jun 1 at 18:10

With JuJu 2.0 release the ability to set region has now moved to the bootstrap command itself.

juju bootstrap [options] <controller_name> <cloud_name>[/region]

So for a command to deploy JuJu to US West on a t2.micro instance (Free Tier):

sudo juju bootstrap --bootstrap-constraints="instance-type=t2.micro" aws-devenv-controller aws/us-west-1
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.