Skip to content

Commit 4cee634

Browse files
OCPBUGS-37089:adding Important text
1 parent 3a673f7 commit 4cee634

File tree

4 files changed

+44
-6
lines changed

4 files changed

+44
-6
lines changed

installing/installing_aws/upi/installing-aws-user-infra.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ include::modules/installation-cloudformation-worker.adoc[leveloffset=+2]
133133

134134
* 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].
135135

136+
include::modules/installation-aws-creating-cloudformation-stack-compute.adoc[leveloffset=+2]
137+
136138
include::modules/installation-aws-user-infra-bootstrap.adoc[leveloffset=+1]
137139

138140
[role="_additional-resources"]

installing/installing_aws/upi/installing-restricted-networks-aws.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ include::modules/installation-cloudformation-bootstrap.adoc[leveloffset=+2]
110110

111111
* 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.
112112

113-
include::modules/installation-creating-aws-control-plane.adoc[leveloffset=+1]
113+
include::modules/installation-creating-aws-control-plane.adoc[leveloffset=+2]
114114

115115
include::modules/installation-cloudformation-control-plane.adoc[leveloffset=+2]
116116

@@ -125,6 +125,8 @@ You can either manually create worker nodes or use a MachineSet to create worker
125125

126126
include::modules/installation-cloudformation-worker.adoc[leveloffset=+2]
127127

128+
include::modules/installation-aws-creating-cloudformation-stack-compute.adoc[leveloffset=+2]
129+
128130
include::modules/installation-aws-user-infra-bootstrap.adoc[leveloffset=+1]
129131

130132
[role="_additional-resources"]
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing_aws/installing-aws-user-infra.adoc
4+
// * installing/installing_aws/installing-restricted-networks-aws.adoc
5+
6+
:_mod-docs-content-type: PROCEDURE
7+
[id="installation-aws-creating-cloudformation-stack_{context}"]
8+
= Creating the CloudFormation stack for compute machines
9+
10+
You can create a stack of {aws-short} resources for the compute machines by using the CloudFormation template that was previously shared.
11+
12+
[IMPORTANT]
13+
====
14+
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.
15+
====
16+
17+
.Procedure
18+
* To create the CloudFormation stack for compute machines, run the following command:
19+
+
20+
[source,terminal]
21+
----
22+
$ aws cloudformation create-stack --stack-name <name> \// <1>
23+
--template-body file://<template>.yaml \// <2>
24+
--parameters file://<parameters>.json <3>
25+
----
26+
<1> Specify the `<name>` with the name for the CloudFormation stack, such as `cluster-worker-1`. You need the name of this stack if you remove the cluster.
27+
<2> Specify the relative path and the name of the CloudFormation template YAML file that you saved.
28+
<3> Specify the relative path and the name of the JSON file for the CloudFormation parameters.
29+
+
30+
.Example output
31+
[source,terminal]
32+
----
33+
arn:aws:cloudformation:us-east-1:269333783861:stack/cluster-worker-1/729ee301-1c2a-11eb-348f-sd9888c65b59
34+
----

modules/installation-cloudformation-worker.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
// * installing/installing_aws/installing-aws-user-infra.adoc
44
// * installing/installing_aws/installing-restricted-networks-aws.adoc
55

6+
:_mod-docs-content-type: REFERENCE
67
[id="installation-cloudformation-worker_{context}"]
7-
= CloudFormation template for worker machines
8+
= CloudFormation template for compute machines
89

9-
You can use the following CloudFormation template to deploy the worker machines
10-
that you need for your {product-title} cluster.
10+
You can deploy the compute machines that you need for your {product-title} cluster by using the following CloudFormation template.
1111

12-
.CloudFormation template for worker machines
12+
.CloudFormation template for compute machines
1313
[%collapsible]
1414
====
1515
[source,yaml]
1616
----
1717
include::https://raw.githubusercontent.com/openshift/installer/release-4.19/upi/aws/cloudformation/06_cluster_worker_node.yaml[]
1818
----
19-
====
19+
====

0 commit comments

Comments
 (0)