You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: installing/installing_aws/installing-aws-user-infra.adoc
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The steps for performing a user-provisioned infrastructure installation are prov
25
25
====
26
26
If you have an AWS profile stored on your computer, it must not use a temporary session token that you generated while using a multi-factor authentication device. The cluster continues to use your current AWS credentials to create AWS resources for the entire life of the cluster, so you must use key-based, long-lived credentials. To generate appropriate keys, see link:https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html[Managing Access Keys for IAM Users] in the AWS documentation. You can supply the keys when you run the installation program.
27
27
====
28
-
* You downloaded the AWS CLI and installed it on your computer. See link:https://docs.aws.amazon.com/cli/latest/userguide/install-bundle.html[Install the AWS CLI Using the Bundled Installer (Linux, macOS, or Unix)] in the AWS documentation.
28
+
* You downloaded the AWS CLI and installed it on your computer. See link:https://docs.aws.amazon.com/cli/latest/userguide/install-bundle.html[Install the AWS CLI Using the Bundled Installer (Linux, macOS, or UNIX)] in the AWS documentation.
29
29
* If you use a firewall, you xref:../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configured it to allow the sites] that your cluster requires access to.
If you are deploying an {product-title} cluster using an AWS Marketplace image, you must first subscribe through AWS. Subscribing to the offer provides you with the AMI ID that the installation program uses to deploy worker nodes.
21
+
22
+
.Prerequisites
23
+
24
+
* You have an AWS account to purchase the offer. This account does not have to be the same account that is used to install the cluster.
25
+
26
+
.Procedure
27
+
28
+
. Complete the {product-title} subscription from the link:https://aws.amazon.com/marketplace/fulfillment?productId=59ead7de-2540-4653-a8b0-fa7926d5c845[AWS Marketplace].
29
+
ifdef::ipi[]
30
+
. Record the AMI ID for your specific region. As part of the installation process, you must update the `install-config.yaml` file with this value before deploying the cluster.
31
+
endif::ipi[]
32
+
ifdef::upi[]
33
+
. Record the AMI ID for your specific region. If you use the CloudFormation template to deploy your worker nodes, you must update the `worker0.type.properties.ImageID` parameter with this value.
34
+
endif::upi[]
35
+
36
+
ifdef::ipi[]
37
+
.Sample `install-config.yaml` file with AWS Marketplace worker nodes
38
+
39
+
[source,yaml]
40
+
----
41
+
apiVersion: v1
42
+
baseDomain: example.com
43
+
compute:
44
+
- hyperthreading: Enabled
45
+
name: worker
46
+
platform:
47
+
aws:
48
+
amiID: ami-06c4d345f7c207239 <1>
49
+
type: m5.4xlarge
50
+
replicas: 3
51
+
metadata:
52
+
name: test-cluster
53
+
platform:
54
+
aws:
55
+
region: us-east-2 <2>
56
+
sshKey: ssh-ed25519 AAAA...
57
+
pullSecret: '{"auths": ...}'
58
+
----
59
+
<1> The AMI ID from your AWS Marketplace subscription.
60
+
<2> Your AMI ID is associated with a specific AWS region. When creating the installation configuration file, ensure that you select the same AWS region that you specified when configuring your subscription.
<11> Base64 encoded certificate authority string to use.
@@ -114,11 +114,11 @@ endif::openshift-origin[]
114
114
section of this topic and save it as a YAML file on your computer. This template
115
115
describes the networking objects and load balancers that your cluster requires.
116
116
117
-
. If you specified an `m5` instance type as the value for `WorkerInstanceType`,
118
-
add that instance type to the `WorkerInstanceType.AllowedValues` parameter
119
-
in the CloudFormation template.
117
+
. Optional: If you specified an `m5` instance type as the value for `WorkerInstanceType`, add that instance type to the `WorkerInstanceType.AllowedValues` parameter in the CloudFormation template.
120
118
121
-
. Launch the CloudFormation template to create a stack of AWS resources that represent a worker node:
119
+
. Optional: If you are deploying with an AWS Marketplace image, update the `Worker0.type.properties.ImageID` parameter with the AMI ID that you obtained from your subscription.
120
+
121
+
. Use the CloudFormation template to create a stack of AWS resources that represent a worker node:
0 commit comments