We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Seems the default volume size of a new ubuntu EBS ami image is ~8GB. Which on a typical installation fills up pretty fast with log files.
Can anyone point me in the right direction on how to set a root volume size using the bootstrap method? This is relatively easy using the web UI.
Here is my current code, that does not change the volume size in its current state:
fog_connection.servers.bootstrap(flavor_id: 't2.medium', image_id:'ami-308b3054', username: 'ubuntu', private_key_path: '*', public_key_path: '.*', availability_zone: 'ca-central-1', groups: 'default', block_device_mapping: [ 'Ebs.VolumeSize': 30 ] )
The text was updated successfully, but these errors were encountered:
never mind. for posterity I was missing a few settings: Here is a working example for the future:
connection.servers.bootstrap(flavor_id: server_size, image_id: ami, username: 'ubuntu, private_key_path: 'private', public_key_path: 'public', availability_zone:'ca-central-1', groups: 'default', # will configure the root volume. block_device_mapping: [ { 'DeviceName' => '/dev/sda1', 'Ebs.VolumeSize'=> '30', 'Ebs.DeleteOnTermination'=> true, } ]
Sorry, something went wrong.
No branches or pull requests
Hi,
Seems the default volume size of a new ubuntu EBS ami image is ~8GB. Which on a typical installation fills up pretty fast with log files.
Can anyone point me in the right direction on how to set a root volume size using the bootstrap method? This is relatively easy using the web UI.
Here is my current code, that does not change the volume size in its current state:
The text was updated successfully, but these errors were encountered: