Skip to content

Commit af83e5f

Browse files
authored
Merge pull request #69537 from dfitzmau/OSDOCS-7061
OSDOCS-7061: Documented the AWS Wavelength zone feature
2 parents 48c1798 + dedcfca commit af83e5f

File tree

61 files changed

+2064
-836
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2064
-836
lines changed

_topic_maps/_topic_map.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,12 @@ Topics:
179179
File: installing-aws-china
180180
- Name: Installing a cluster on AWS using CloudFormation templates
181181
File: installing-aws-user-infra
182-
- Name: Installing a cluster on AWS with worker nodes on AWS Local Zones
183-
File: installing-aws-localzone
184182
- Name: Installing a cluster on AWS in a restricted network with user-provisioned infrastructure
185183
File: installing-restricted-networks-aws
184+
- Name: Installing a cluster on AWS with compute nodes on AWS Local Zones
185+
File: installing-aws-localzone
186+
- Name: Installing a cluster on AWS with compute nodes on AWS Wavelength Zones
187+
File: installing-aws-wavelength-zone
186188
- Name: Installing a cluster on AWS with remote workers on AWS Outposts
187189
File: installing-aws-outposts-remote-workers
188190
- Name: Installing a three-node cluster on AWS
@@ -617,8 +619,8 @@ Topics:
617619
- Name: Fedora CoreOS (FCOS) image layering
618620
File: coreos-layering
619621
Distros: openshift-origin
620-
- Name: AWS Local Zone tasks
621-
File: aws-compute-edge-tasks
622+
- Name: AWS Local Zone or Wavelength Zone tasks
623+
File: aws-compute-edge-zone-tasks
622624
Distros: openshift-enterprise
623625
- Name: Adding failure domains to an existing Nutanix cluster
624626
File: adding-nutanix-failure-domains

installing/installing_aws/installing-aws-localzone.adoc

Lines changed: 83 additions & 154 deletions
Large diffs are not rendered by default.
Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="installing-aws-wavelength-zone"]
3+
= Installing a cluster on AWS with compute nodes on AWS Wavelength Zones
4+
include::_attributes/common-attributes.adoc[]
5+
:context: installing-aws-wavelength-zone
6+
:zone-type: Wavelength Zones
7+
8+
toc::[]
9+
10+
You can quickly install an {product-title} cluster on Amazon Web Services (AWS) {zone-type} by setting the zone names in the edge compute pool of the `install-config.yaml` file, or install a cluster in an existing Amazon Virtual Private Cloud (VPC) with Wavelength Zone subnets.
11+
12+
AWS {zone-type} is an infrastructure that AWS configured for mobile edge computing (MEC) applications.
13+
14+
A Wavelength Zone embeds AWS compute and storage services within the 5G network of a communication service provider (CSP). By placing application servers in a Wavelength Zone, the application traffic from your 5G devices can stay in the 5G network. The application traffic of the device reaches the target server directly, making latency a non-issue.
15+
16+
[role="_additional-resources"]
17+
.Additional resources
18+
19+
* See link:https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-wavelength-zones[Wavelength Zones] in the AWS documentation.
20+
21+
// Infrastructure prerequisites
22+
include::modules/aws-zones-prerequisites.adoc[leveloffset=+1]
23+
24+
[id="about-aws-wavelength-zone-edge-compute-pool_{context}"]
25+
== About AWS Wavelength Zones and edge compute pool
26+
27+
Read the following sections to understand infrastructure behaviors and cluster limitations in an AWS {zone-type} environment.
28+
29+
// Cluster limitations
30+
include::modules/cluster-limitations-aws-zone.adoc[leveloffset=+2]
31+
32+
// About edge compute pools
33+
include::modules/edge-machine-pools-aws-local-zones.adoc[leveloffset=+2]
34+
35+
[role="_additional-resources"]
36+
.Additional resources
37+
38+
* xref:../../networking/changing-cluster-network-mtu.adoc#mtu-value-selection_changing-cluster-network-mtu[MTU value selection]
39+
* xref:../../networking/changing-cluster-network-mtu.adoc#nw-ovn-ipsec-enable_configuring-ipsec-ovn[Changing the MTU for the cluster network]
40+
* xref:../../nodes/scheduling/nodes-scheduler-taints-tolerations.adoc#nodes-scheduler-taints-tolerations-about_nodes-scheduler-taints-tolerations[Understanding taints and tolerations]
41+
* xref:../../storage/understanding-persistent-storage.adoc#pvc-storage-class_understanding-persistent-storage[Storage classes]
42+
* xref:../../networking/ingress-sharding.html#nw-ingress-sharding_ingress-sharding[Ingress Controller sharding]
43+
44+
[id="installation-prereqs-aws-wavelength-zone_{context}"]
45+
== Installation prerequisites
46+
47+
Before you install a cluster in an AWS {zone-type} environment, you must configure your infrastructure so that it can adopt Wavelength Zone capabilities.
48+
49+
// Opting in to AWS Zones
50+
include::modules/installation-aws-add-zone-locations.adoc[leveloffset=+2]
51+
52+
// Internet access for OpenShift Container Platform
53+
include::modules/cluster-entitlements.adoc[leveloffset=+2]
54+
55+
// Obtaining an AWS Marketplace image
56+
include::modules/installation-aws-marketplace-subscribe.adoc[leveloffset=+2]
57+
58+
//Installing the OpenShift CLI by downloading the binary
59+
include::modules/cli-installing-cli.adoc[leveloffset=+2]
60+
61+
// Obtaining the installation program
62+
include::modules/installation-obtaining-installer.adoc[leveloffset=+2]
63+
64+
// Generating a key pair for cluster node SSH access
65+
include::modules/ssh-agent-using.adoc[leveloffset=+2]
66+
67+
[id="prep-installation-aws-wavelength-zone_{context}"]
68+
== Preparing for the installation
69+
70+
Before you extend nodes to {zone-type}, you must prepare certain resources for the cluster installation environment.
71+
72+
// Minimum resource requirements for cluster installation
73+
include::modules/installation-minimum-resource-requirements.adoc[leveloffset=+2]
74+
75+
// Tested instance types for AWS
76+
include::modules/installation-aws-tested-machine-types.adoc[leveloffset=+2]
77+
78+
[role="_additional-resources"]
79+
.Additional resources
80+
81+
* See link:https://aws.amazon.com/wavelength/features/[AWS Wavelength features] in the AWS documentation.
82+
83+
// Creating the installation files for AWS
84+
//include::modules/installation-user-infra-generate.adoc[leveloffset=+2] - Check with Marco if it is needed.
85+
86+
// Creating the installation configuration file
87+
include::modules/installation-generate-aws-user-infra-install-config.adoc[leveloffset=+2]
88+
89+
// Examples of installation configuration files with edge compute pools
90+
include::modules/installation-aws-edge-compute-pools-examples.adoc[leveloffset=+2]
91+
92+
// Cluster installation options for an AWS Wavelength Zone environment
93+
include::modules/aws-cluster-installation-options-aws-lzs.adoc[leveloffset=+1]
94+
95+
.Next steps
96+
97+
Choose one of the following options to install an {product-title} cluster in an AWS {zone-type} environment:
98+
99+
* xref:../../installing/installing_aws/installing-aws-wavelength-zone.adoc#installation-cluster-quickly-extend-compute-nodes_installing-aws-wavelength-zone[Installing a cluster quickly in AWS Wavelength Zones]
100+
* xref:../../installing/installing_aws/installing-aws-wavelength-zone.adoc#install-creating-install-config-aws-edge-zones_installing-aws-wavelength-zone[Modifying an installation configuration file to use AWS Wavelength Zones]
101+
102+
// Installing a cluster quickly in AWS Wavelength Zones
103+
include::modules/installation-cluster-quickly-extend-compute-nodes.adoc[leveloffset=+1]
104+
105+
// Modifying an installation configuration to use AWS Wavelength Zones
106+
include::modules/install-creating-install-config-aws-edge-zones.adoc[leveloffset=+2]
107+
108+
[role="_additional-resources"]
109+
.Additional resources
110+
111+
* xref:../../installing/installing_aws/installing-aws-wavelength-zone.adoc#installation-generate-aws-user-infra-install-config_installing-aws-wavelength-zone[Creating the installation configuration file]
112+
113+
* xref:../../installing/installing_aws/installing-aws-wavelength-zone.adoc#cluster-limitations-aws-zone_installing-aws-wavelength-zone[Cluster limitations in AWS {zone-type}]
114+
115+
.Next steps
116+
* xref:../../installing/installing_aws/installing-aws-wavelength-zone.adoc#installation-launching-installer_installing-aws-wavelength-zone[Deploying the cluster]
117+
118+
[id="creating-aws-wavelength-zone-environment-existing_{context}"]
119+
== Installing a cluster in an existing VPC that has Wavelength Zone subnets
120+
121+
You can install a cluster into an existing Amazon Virtual Private Cloud (VPC) on Amazon Web Services (AWS). The installation program provisions the rest of the required infrastructure, which you can further customize. To customize the installation, modify parameters in the `install-config.yaml` file before you install the cluster.
122+
123+
Installing a cluster on AWS into an existing VPC requires extending compute nodes to the edge of the Cloud Infrastructure by using AWS {zone-type}.
124+
125+
You can use a provided CloudFormation template to create network resources. Additionally, you can modify a template to customize your infrastructure or use the information that they contain to create AWS resources according to your company's policies.
126+
127+
[IMPORTANT]
128+
====
129+
The steps for performing an installer-provisioned infrastructure installation are provided for example purposes only. Installing a cluster in an existing VPC requires that you have knowledge of the cloud provider and the installation process of {product-title}. You can use a CloudFormation template to assist you with completing these steps or to help model your own cluster installation. Instead of using the CloudFormation template to create resources, you can decide to use other methods for generating these resources.
130+
====
131+
132+
// Creating a VPC in AWS
133+
include::modules/installation-creating-aws-vpc-localzone.adoc[leveloffset=+2]
134+
135+
// CloudFormation template for the VPC
136+
include::modules/installation-cloudformation-vpc-localzone.adoc[leveloffset=+2]
137+
138+
// Creating a VPC Carrier Gateway
139+
include::modules/installation-creating-aws-vpc-carrier-gw.adoc[leveloffset=+2]
140+
141+
[role="_additional-resources"]
142+
.Additional resources
143+
144+
* See link:https://aws.amazon.com/s3/[Amazon S3] in the AWS documentation.
145+
146+
// CloudFormation template for the VPC Carrier Gateway
147+
include::modules/installation-cloudformation-vpc-carrier-gw.adoc[leveloffset=+2]
148+
149+
// Creating subnets in Wavelength Zones
150+
include::modules/installation-creating-aws-vpc-subnets-wz.adoc[leveloffset=+2]
151+
152+
// CloudFormation template for the subnet that uses AWS Wavelength Zones
153+
include::modules/installation-cloudformation-subnet-localzone.adoc[leveloffset=+2]
154+
155+
// Modifying an installation configuration file to use AWS Wavelength Zones subnets
156+
include::modules/installing-aws-edge-zones-custom-vpc-config.adoc[leveloffset=+2]
157+
158+
[role="_additional-resources"]
159+
.Additional resources
160+
161+
* For more information about viewing the CloudFormation stacks that you created, see link:https://console.aws.amazon.com/cloudformation[AWS CloudFormation console].
162+
* For more information about AWS profile and credential configuration, see link:https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html[Configuration and credential file settings] in the AWS documentation.
163+
164+
.Next steps
165+
* xref:../../installing/installing_aws/installing-aws-wavelength-zone.adoc#installation-launching-installer_installing-aws-wavelength-zone[Deploying the cluster]
166+
167+
// Assign public IP to edge compute nodes (optional)
168+
include::modules/installing-with-edge-node-public.adoc[leveloffset=+1]
169+
170+
//TODO: Put this back if QE validates it: ASK MARCO
171+
//include::modules/installation-configure-proxy.adoc[leveloffset=+2]
172+
173+
//TODO: Verify removal due to automation. ASK MARCO
174+
//include::modules/installation-localzone-generate-k8s-manifest.adoc[leveloffset=+2]
175+
176+
// Deploying the cluster
177+
include::modules/installation-launching-installer.adoc[leveloffset=+1]
178+
179+
[id="verify-aws-wavelength-zone-deployed-cluster-status_{context}"]
180+
== Verifying the status of the deployed cluster
181+
182+
Verify that your {product-title} successfully deployed on AWS {zone-type}.
183+
184+
// Logging in to the cluster by using the CLI
185+
include::modules/cli-logging-in-kubeadmin.adoc[leveloffset=+2]
186+
187+
// Logging in to the cluster by using the web console
188+
include::modules/logging-in-by-using-the-web-console.adoc[leveloffset=+2]
189+
190+
[role="_additional-resources"]
191+
.Additional resources
192+
193+
* For more information about accessing and understanding the {product-title} web console, see xref:../../web_console/web-console.adoc#web-console[Accessing the web console] for more details about accessing and understanding the {product-title} web console.
194+
195+
// Verifying nodes that were created with edge compute pool
196+
include::modules/machine-edge-pool-review-nodes.adoc[leveloffset=+2]
197+
198+
// Telemetry access for OpenShift Container Platform
199+
include::modules/cluster-telemetry.adoc[leveloffset=+1]
200+
201+
[role="_additional-resources"]
202+
.Additional resources
203+
204+
* For more information about the Telemetry service, see xref:../../support/remote_health_monitoring/about-remote-health-monitoring.adoc#about-remote-health-monitoring[About remote health monitoring].
205+
206+
.Next steps
207+
208+
//* xref:../../post_installation_configuration/aws-compute-edge-zone-tasks#installation-extend-edge-nodes-aws-local-zones_aws-compute-edge-zone-tasks[Creating user workloads in AWS Local Zones or Wavelength Zones]
209+
* xref:../../installing/validating-an-installation.adoc#validating-an-installation[Validating an installation].
210+
* If necessary, you can xref:../../support/remote_health_monitoring/opting-out-of-remote-health-reporting.adoc#opting-out-remote-health-reporting_opting-out-remote-health-reporting[opt out of remote health].
Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing/installing_aws/installing-aws-localzone.adoc
3+
// * installing/installing-aws-localzone.adoc (Installing a cluster on AWS with compute nodes on AWS Local Zones)
4+
// * installing/installing-aws-wavelength.adoc (Installing a cluster on AWS with compute nodes on AWS Wavelength Zones)
5+
6+
ifeval::["{context}" == "installing-aws-localzone"]
7+
:local-zone:
8+
endif::[]
9+
ifeval::["{context}" == "installing-aws-wavelength-zone"]
10+
:wavelength-zone:
11+
endif::[]
412

513
:_mod-docs-content-type: CONCEPT
614
[id="aws-cluster-installation-options-aws-lzs_{context}"]
15+
ifdef::local-zone[]
716
= Cluster installation options for an AWS Local Zones environment
17+
endif::local-zone[]
18+
ifdef::wavelength-zone[]
19+
= Cluster installation options for an AWS Wavelength Zones environment
20+
endif::wavelength-zone[]
821

9-
To install an {product-title} cluster in an AWS Local Zones environment on AWS infrastructure, choose one of the following installation options:
22+
Choose one of the following installation options to install an {product-title} cluster on AWS with edge compute nodes defined in {zone-type}:
1023

11-
* Installing a cluster to quickly extend workers to edge compute pools, where the installation program automatically creates resources for the {product-title} cluster.
24+
* Fully automated option: Installing a cluster to quickly extend compute nodes to edge compute pools, where the installation program automatically creates infrastructure resources for the {product-title} cluster.
25+
* Existing VPC option: Installing a cluster on AWS into an existing VPC, where you supply {zone-type} subnets to the `install-config.yaml` file.
1226
13-
* Installing a cluster on AWS into an existing VPC, where you must add Local Zone subnets to the `install-config.yaml` file.
27+
ifeval::["{context}" == "installing-aws-localzone"]
28+
:!local-zone:
29+
endif::[]
30+
ifeval::["{context}" == "installing-aws-wavelength-zone"]
31+
:!wavelength-zone:
32+
endif::[]

modules/aws-zones-prerequisites.adoc

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing-aws-localzone.adoc (Installing a cluster on AWS with worker nodes on AWS Local Zones)
4+
// * installing/installing-aws-wavelength-zone.adoc (Installing a cluster on AWS with worker nodes on AWS Wavelength Zones)
5+
6+
ifeval::["{context}" == "installing-aws-localzone"]
7+
:local-zone:
8+
endif::[]
9+
ifeval::["{context}" == "installing-aws-wavelength-zone"]
10+
:wavelength-zone:
11+
endif::[]
12+
13+
:_mod-docs-content-type: CONCEPT
14+
[id="aws-zones-prerequisites_{context}"]
15+
= Infrastructure prerequisites
16+
17+
* You reviewed details about xref:../../architecture/architecture-installation.adoc#architecture-installation[{product-title} installation and update] processes.
18+
* You are familiar with xref:../../installing/installing-preparing.adoc#installing-preparing[Selecting a cluster installation method and preparing it for users].
19+
* You xref:../../installing/installing_aws/installing-aws-account.adoc#installing-aws-account[configured an AWS account] to host the cluster.
20+
+
21+
[WARNING]
22+
====
23+
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-term 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.
24+
====
25+
* 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.
26+
* If you use a firewall, you xref:../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configured it to allow the sites] that your cluster must access.
27+
ifdef::local-zone[]
28+
* You noted the region and supported link:https://aws.amazon.com/about-aws/global-infrastructure/localzones/locations[AWS Local Zones locations] to create the network resources in.
29+
* You read the link:https://aws.amazon.com/about-aws/global-infrastructure/localzones/features/[AWS Local Zones features] in the AWS documentation.
30+
* You added permissions for creating network resources that support AWS Local Zones to the Identity and Access Management (IAM) user or role. The following example enables a zone group that can provide a user or role access for creating network network resources that support AWS {zone-type}.
31+
+
32+
.Example of an additional IAM policy with the `ec2:ModifyAvailabilityZoneGroup` permission attached to an IAM user or role.
33+
+
34+
[source,yaml]
35+
----
36+
{
37+
"Version": "2012-10-17",
38+
"Statement": [
39+
{
40+
"Action": [
41+
"ec2:ModifyAvailabilityZoneGroup"
42+
],
43+
"Effect": "Allow",
44+
"Resource": "*"
45+
}
46+
]
47+
}
48+
----
49+
endif::local-zone[]
50+
ifdef::wavelength-zone[]
51+
* You noted the region and supported link:https://aws.amazon.com/wavelength/locations[AWS Wavelength Zone locations] to create the network resources in.
52+
* You read link:https://aws.amazon.com/about-aws/global-infrastructure/localzones/features/[AWS Wavelength features] in the AWS documentation.
53+
* You read the link:https://docs.aws.amazon.com/wavelength/latest/developerguide/wavelength-quotas.html[Quotas and considerations for Wavelength Zones] in the AWS documentation.
54+
* You added permissions for creating network resources that support AWS Wavelength Zones to the Identity and Access Management (IAM) user or role. For example:
55+
+
56+
.Example of an additional IAM policy that attached `ec2:ModifyAvailabilityZoneGroup`, `ec2:CreateCarrierGateway`, and `ec2:DeleteCarrierGateway` permissions to a user or role
57+
+
58+
[source,yaml]
59+
----
60+
{
61+
"Version": "2012-10-17",
62+
"Statement": [
63+
{
64+
"Effect": "Allow",
65+
"Action": [
66+
"ec2:DeleteCarrierGateway",
67+
"ec2:CreateCarrierGateway"
68+
],
69+
"Resource": "*"
70+
},
71+
{
72+
"Action": [
73+
"ec2:ModifyAvailabilityZoneGroup"
74+
],
75+
"Effect": "Allow",
76+
"Resource": "*"
77+
}
78+
]
79+
}
80+
----
81+
endif::wavelength-zone[]
82+
83+
ifeval::["{context}" == "installing-aws-localzone"]
84+
:!local-zone:
85+
endif::[]
86+
ifeval::["{context}" == "installing-aws-wavelength-zone"]
87+
:!wavelength-zone:
88+
endif::[]

modules/capi-machine-set-creating.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ When the new compute machine set is available, the `REPLICAS` and `AVAILABLE` va
172172

173173
.Verification
174174

175-
* To verify that the compute machine set is creating machines according to your desired configuration, you can review the lists of machines and nodes in the cluster.
175+
* To verify that the compute machine set is creating machines according to your required configuration, review the lists of machines and nodes in the cluster by using the following steps:
176176
177177
** To view the list of Cluster API machines, run the following command:
178178
+

0 commit comments

Comments
 (0)