-
1. Re: Installing ec2 profile in fabric
davsclaus Apr 26, 2014 4:43 AM (in response to sobkowiak)Yes if you reprovisioning yourself the commands and whatnot may be temporary out of work. You may want to have a management container only that the console and web console, and then create new containers for ec2, amq brokers, and what else you need.
-
2. Re: Installing ec2 profile in fabric
sobkowiak Apr 26, 2014 7:05 AM (in response to davsclaus)I need a container which can be used to create new containers in cloud. I think, this container should be a part of ensemble. So I wanted to add the ec2 profile to the root container to have the fabric cloud and jcloud commands available. Should I create a new container with ec2 profile and add it to the ensemble and next connect to this container and create new containers in cloud?
-
3. Re: Installing ec2 profile in fabric
davsclaus Apr 27, 2014 2:57 AM (in response to sobkowiak)1 of 1 people found this helpfulYou can also add the ec2 profile to the root container before you start it, to the default or fabric profile by adding it to the initial profiles that are stored as files in the fabric/import directory. So when you start the container and create a fabric, then ec2 profile should be provisioning as part of that.
-
4. Re: Re: Installing ec2 profile in fabric
sobkowiak Apr 27, 2014 3:59 AM (in response to davsclaus)May I add cloud-aws.ec2 to the profiles property in system.properties instead of modifying existing profile?
-
5. Re: Installing ec2 profile in fabric
davsclaus May 16, 2014 2:17 AM (in response to sobkowiak)When you create the fabric you can also specify which profiles you want
See the --help for fabric:create
Then you can add cloud-aws.ec2 as an extra profile.
-
6. Re: Installing ec2 profile in fabric
jastrachan May 16, 2014 6:26 AM (in response to davsclaus)1 of 1 people found this helpfulyou can also set the FABRIC8_PROFILES environment variable:
export FABRIC8_PROFILES=cloud-aws.ec2
-
7. Re: Installing ec2 profile in fabric
sobkowiak May 30, 2014 3:14 AM (in response to jastrachan)Thanks for your answers