bash-AMI
Bash script to remotely create AWS Machine Images
Usage
- Download the file
- Save it anywhere you want (give it
+x
permissions withchmod +x bash-ami.sh
) - Run like:
./bash-ami.sh
(or save it inusr/bin
and run it as a common command)
Commands
# AMI remote creation script
-> Options:
-i Sets the instance ID which will be the AMI base (Generaly it is "i-<a-bunch-of-numbers>")
-r Sets the AWS region this instance resides (e.g: us-east-1, us-east-2)
-T Dry run mode (No action is really performed, just the test is executed)
Be happy 😄
MIT © Lucas Santos