Merge pull request #3339 from weaveworks/note-public-amis

Note how to make an EC2 AMI public
This commit is contained in:
Bryan Boreham
2018-09-26 10:06:35 +01:00
committed by GitHub

View File

@@ -250,6 +250,12 @@ that region when invoking the script:
ONLY_REGION=us-east-1 AWS_ACCSS_KEY_ID=XXXX AWS_SECRET_ACCESS_KEY=YYYY ./build-all-amis.sh
~~~
To make an AMI public:
~~~bash
aws ec2 modify-image-attribute --region=us-east-2 --image-id ami-6a0b350f --launch-permission "{\"Add\": [{\"Group\":\"all\"}]}"
~~~
## Further Reading
Read the