I am trying to increase the hard disk space on my ebs backed ec2 instance from my cloudformation AutoScaling::LaunchConfiguration. Initially the root device starts with 8GB. I'd like to increase this to 40GB. I am under the impression I can do this based on this documentation. Unfortunately the config below doesn't seem to work.
"LaunchConfig" : {
"Type": "AWS::AutoScaling::LaunchConfiguration",
"Properties": {
"BlockDeviceMappings": [{
"DeviceName": "/dev/sda1",
"Ebs" : {"VolumeSize": "40"}
}]
}
}
I am using a custom ami that is based off of ami-05355a6c.