[chef] Re: Re: Re: Re: Re: chef-provisioning + EBS/EIP


Chronological Thread 
  • From: Mark Pimentel < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: chef-provisioning + EBS/EIP
  • Date: Tue, 13 Jan 2015 11:21:19 -0500

Also, for additional volumes from a snapshot add the Ebs.SnapshotId key if it is based on a snapshot.

On Tue, Jan 13, 2015 at 11:19 AM, Mark Pimentel < " target="_blank"> > wrote:
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' do
  machine_options(
    bootstrap_options: {
      block_device_mapping: [
        { 'DeviceName' => '/dev/sda1', 'VirtualName' => '/dev/sda1', 'Ebs.VolumeSize' => 30 }
      ]
    }
  )
end

As 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:27

I'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?




--

Peter Burkholder — Customer Success Engineer

Availability: between vacation and travel, I am mostly out-of office until Jan 19. 

In office/No travel: Dec 29-30, Jan 5, Jan 12-13.

301-204-5767 –  " target="_blank">  – my: Linkedin  Twitter  Calendar

CHEF

CHEF.IO

TM

chef.io   Blog   Facebook   Twitter   Youtube  






--
Thanks,

Mark



--
Thanks,

Mark



Archive powered by MHonArc 2.6.16.

§