Closed lfrodrigues closed 7 years ago
I'm trying to launch a machine with a specific size of root device but amazon always starts the machine with 8GB. Can someone please help me.
Here's what I'm using:
machine 'machine-1' do machine_options ({ :transport_address_location => :private_ip, :bootstrap_options => { :key_name => 'mykey', :instance_type => 't2.medium', :block_device_mappings => [ { :device_name => '/dev/xvda', :ebs => { :volume_size => 50 # 50 GB } } ] } }) ....... end
Figured out how to do it. If anyone lands here the solution is to name the device
/dev/sda1
I'm trying to launch a machine with a specific size of root device but amazon always starts the machine with 8GB. Can someone please help me.
Here's what I'm using: