Sha256: 2c048d22ff47d3a0de002ba65fc8ac74009adb62e6e2e75fa27f459ca28ab37d
Contents?: true
Size: 739 Bytes
Versions: 5
Compression:
Stored size: 739 Bytes
Contents
Examples: $ aws-ec2 ami myrubyami --profile ruby --noop Launches an EC2 instance to create an AMI. An AMI creation script is appended to the end of the user-data script. The AMI creation script calls `aws ec2 create-image` and causes the instance to reboot at the end. It is useful to include to timestamp as a part of the AMI name with the date command. $ aws-ec2 ami $(date "+ruby-2.5.0_%Y-%m-%d-%H-%M") --profile ruby --noop The instance also automatically gets terminated and cleaned up by a termination script appended to user-data. It is recommended to use the `set -e` option in your user-data script so that if the script fails, the AMI creation script is never reached and the instance is left behind so you can debug.
Version data entries
5 entries across 5 versions & 1 rubygems