From 04592e4770d32abc881b96a59d9769d17652e954 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 10 Sep 2018 10:33:30 +0000 Subject: [PATCH] Note how to make an EC2 AMI public --- site/ami.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/site/ami.md b/site/ami.md index 409670891..ce95986b9 100644 --- a/site/ami.md +++ b/site/ami.md @@ -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