diff --git a/installing/installing_aws/upi/installing-aws-user-infra.adoc b/installing/installing_aws/upi/installing-aws-user-infra.adoc index 827d7cb437..98c45ccfac 100644 --- a/installing/installing_aws/upi/installing-aws-user-infra.adoc +++ b/installing/installing_aws/upi/installing-aws-user-infra.adoc @@ -133,6 +133,8 @@ include::modules/installation-cloudformation-worker.adoc[leveloffset=+2] * You can view details about the CloudFormation stacks that you create by navigating to the link:https://console.aws.amazon.com/cloudformation/[AWS CloudFormation console]. +include::modules/installation-aws-creating-cloudformation-stack-compute.adoc[leveloffset=+2] + include::modules/installation-aws-user-infra-bootstrap.adoc[leveloffset=+1] [role="_additional-resources"] diff --git a/installing/installing_aws/upi/installing-restricted-networks-aws.adoc b/installing/installing_aws/upi/installing-restricted-networks-aws.adoc index 4009d44fe2..d5b87a0be1 100644 --- a/installing/installing_aws/upi/installing-restricted-networks-aws.adoc +++ b/installing/installing_aws/upi/installing-restricted-networks-aws.adoc @@ -110,7 +110,7 @@ include::modules/installation-cloudformation-bootstrap.adoc[leveloffset=+2] * See xref:../../../installing/installing_aws/upi/installing-aws-user-infra.adoc#installation-aws-user-infra-rhcos-ami_installing-aws-user-infra[{op-system} AMIs for the AWS infrastructure] for details about the {op-system-first} AMIs for the AWS zones. -include::modules/installation-creating-aws-control-plane.adoc[leveloffset=+1] +include::modules/installation-creating-aws-control-plane.adoc[leveloffset=+2] include::modules/installation-cloudformation-control-plane.adoc[leveloffset=+2] @@ -125,6 +125,8 @@ You can either manually create worker nodes or use a MachineSet to create worker include::modules/installation-cloudformation-worker.adoc[leveloffset=+2] +include::modules/installation-aws-creating-cloudformation-stack-compute.adoc[leveloffset=+2] + include::modules/installation-aws-user-infra-bootstrap.adoc[leveloffset=+1] [role="_additional-resources"] diff --git a/modules/installation-aws-creating-cloudformation-stack-compute.adoc b/modules/installation-aws-creating-cloudformation-stack-compute.adoc new file mode 100644 index 0000000000..be80a30ebb --- /dev/null +++ b/modules/installation-aws-creating-cloudformation-stack-compute.adoc @@ -0,0 +1,34 @@ +// Module included in the following assemblies: +// +// * installing/installing_aws/installing-aws-user-infra.adoc +// * installing/installing_aws/installing-restricted-networks-aws.adoc + +:_mod-docs-content-type: PROCEDURE +[id="installation-aws-creating-cloudformation-stack_{context}"] += Creating the CloudFormation stack for compute machines + +You can create a stack of {aws-short} resources for the compute machines by using the CloudFormation template that was previously shared. + +[IMPORTANT] +==== +When you use the CloudFormation template for the control plane machines, the template provisions all the three control plane machines with a single stack; however, when you use the CloudFormation template to deploy the compute machines, you must create the number of stacks based on the number that you defined in the `install-config.yaml` file. Each stack is provisioned once for each machine. To provision a new compute machine, you must change the stack name. +==== + +.Procedure +* To create the CloudFormation stack for compute machines, run the following command: ++ +[source,terminal] +---- +$ aws cloudformation create-stack --stack-name \// <1> + --template-body file://