I want to be able to deploy charms both locally and to EC2. What's an example environments.yaml that has both entries?
And how can I switch between them so I can just deploy to EC2 and/or LXC?
|
I want to be able to deploy charms both locally and to EC2. What's an example environments.yaml that has both entries? And how can I switch between them so I can just deploy to EC2 and/or LXC? |
|||
closed as off-topic by Jorge Castro, terdon♦ Jul 25 '16 at 12:50This question appears to be off-topic. The users who voted to close gave this specific reason:
|
|||
|
|
|||
|
after we've created more environments as ec1 'n ec2, how can we assign some nodes to ec1 and others nodes to ec2? And the bootstraps of nodes assigned on that environments how is work? It's just to have a better way to manage the services deployed on them,Thanks. |
|||||
|
|
You can have as many environments as you want in .juju/environments.yaml , and then set one as the default. Here is my sanitised environments.yaml with ec2, a private openstack cloud, and my local machine:
I can select the environment by appending the '--environment' or '-e' argument to any juju command, so
Returns different things than just
Also each environment has different configuration options depending on the provider, see the following sections of the juju documentation: |
||||
|
|