[chef] Re: Launching an EC2 Instance with multiple EBS volumes using Chef & Knife EC2 plugin


Chronological Thread 
  • From: Gabriel Rosendorf < >
  • To:
  • Subject: [chef] Re: Launching an EC2 Instance with multiple EBS volumes using Chef & Knife EC2 plugin
  • Date: Wed, 25 Jun 2014 11:52:36 -0400

Check out the AWS community cookbook, we use it to create additional EBS volumes and attach them to newly provisioned instances.



On Wed, Jun 25, 2014 at 2:39 AM, Bhanot, Jyoti < " target="_blank"> > wrote:

Hi All,

 

I have launched an EC2 instance in AWS using knife EC2 Plugin and Chef using the following command :

 

 

knife ec2 server create --image ami-7c807d14 --flavor t1.micro --region us-east-1 --security-group-ids sg-ID --ebs-size 10 --ebs-no-delete-on-term --tags Name=Test_Server --server-connect-attribute private_ip_address  --subnet subnet-ID --ssh-user ec2-user --identity-file ~/.ssh/key.pem --environment Testing --node-name Redhat-Server

 

 

In the above command I have used a single EBS volume of size 10. How can I add multiple EBS volumes (EBS, IOPS) at the time of creation of instance by Chef?

 

Any lead in this regard would be highly appreciated.

 

 

Thanks & Regards,

Jyoti Bhanot

 

 

 





Archive powered by MHonArc 2.6.16.

§