Use a 1G AMI

Now we do dynamic resize, choose the smallest AMI size, 1G rather
than the old 20G AMI.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-11-24 13:51:53 +00:00
parent 9f8c557ce7
commit 0daeb4cfc9

View File

@ -25,7 +25,7 @@ bake_image()
# initrd via syslinux in MBR. That formatted drive can then be snapshotted
# and turned into an AMI.
VOLUME_ID=$(aws ec2 create-volume \
--size 20 \
--size 1 \
--availability-zone $(current_instance_az) | jq -r .VolumeId)
tag ${VOLUME_ID} ${DAY} ${CHANNEL}