summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/BUILD_AMI.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-10-12 09:08:02 -0700
committerGitHub <noreply@github.com>2017-10-12 09:08:02 -0700
commite3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e (patch)
tree8db5ee2fb192696860a8892ebd41fc822179caa1 /playbooks/aws/BUILD_AMI.md
parent45725a38dd8ee6db16a89144f1e14c30f98440b8 (diff)
parent0cf1f1f615d978001b1084e5827cf79add0caaef (diff)
downloadopenshift-e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e.tar.gz
openshift-e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e.tar.bz2
openshift-e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e.tar.xz
openshift-e3c8b0065af5c7ecfc3746e65620ba7db0ebcf0e.zip
Merge pull request #5690 from mgugino-upstream-stage/provisioning-docs
Automatic merge from submit-queue. Provisioning Documentation Updates Updating provisioning documents. Also moved some steps from build_ami.yml to a new play for better reusability.
Diffstat (limited to 'playbooks/aws/BUILD_AMI.md')
-rw-r--r--playbooks/aws/BUILD_AMI.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/playbooks/aws/BUILD_AMI.md b/playbooks/aws/BUILD_AMI.md
new file mode 100644
index 000000000..468264a9a
--- /dev/null
+++ b/playbooks/aws/BUILD_AMI.md
@@ -0,0 +1,21 @@
+# Build AMI
+
+When seeking to deploy a working openshift cluster using these plays, a few
+items must be in place.
+
+These are:
+
+1. Create an instance, using a specified ssh key.
+2. Run openshift-ansible setup roles to ensure packages and services are correctly configured.
+3. Create the AMI.
+4. If encryption is desired
+ - A KMS key is created with the name of $clusterid
+ - An encrypted AMI will be produced with $clusterid KMS key
+5. Terminate the instance used to configure the AMI.
+
+More AMI specific options can be found in ['openshift_aws/defaults/main.yml'](../../roles/openshift_aws/defaults/main.yml). When creating an encrypted AMI please specify use_encryption:
+```
+# openshift_aws_ami_encrypt: True # defaults to false
+```
+
+**Note**: This will ensure to take the recently created AMI and encrypt it to be used later. If encryption is not desired then set the value to false (defaults to false). The AMI id will be fetched and used according to its most recent creation date.