I have recently done some work in this. To get additional volumes created you will have to define block_device_mappings in the bootstrap_options key of the machine_options like so.machine 'name' domachine_options(bootstrap_options: {block_device_mapping: [{ 'DeviceName' => '/dev/sda1', 'VirtualName' => '/dev/sda1', 'Ebs.VolumeSize' => 30 }]})endAs for the EIP, I haven't had to get one of those assigned as of yet. Hope that helps!--On Tue, Jan 13, 2015 at 11:01 AM, Larry Wright < " target="_blank"> > wrote:Yes, I found the aws provider, and while there is support for creating EBS volumes and EIPs in there, there does not appear to be any means for assigning them to instances created using the machine resource, unless I'm missing something.On Tue, Jan 13, 2015 at 9:15 AM, Peter Burkholder < " target="_blank"> > wrote:You want to use the aws provider from https://github.com/opscode/chef-provisioning-aws.--On Tue, Jan 13, 2015 at 8:57 AM, Larry Wright < " target="_blank"> > wrote:That's not exactly what I'm looking for. I'm trying to use https://github.com/opscode/chef-provisioning. It works, but doesn't seem to support EBS and EIP creation.On Tue, Jan 13, 2015 at 2:25 AM, < " target="_blank"> > wrote:https://docs.chef.io/plugin_knife_ec2.html--- Оригінальне повідомлення ---
Від кого: "Larry Wright" < " target="_blank"> >
Дата: 13 січня 2015, 06:38:27I'm digging into Chef Provisioning, but I'm having a hard time figuring out how to use AWS features like elastic storage and IP addresses. Has anyone done this or am I barking up the wrong tree here?
Thanks,
Mark
Archive powered by MHonArc 2.6.16.