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


Chronological Thread 
  • From: "Bhanot, Jyoti" < >
  • To: "' '" < >
  • Subject: [chef] Launching an EC2 Instance with multiple EBS volumes using Chef & Knife EC2 plugin
  • Date: Wed, 25 Jun 2014 06:39:07 +0000
  • Accept-language: en-US

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.

§