diff --git a/modules/installation-aws-add-local-zone-locations.adoc b/modules/installation-aws-add-local-zone-locations.adoc index 91aaaf8178a0..a020e9d45880 100644 --- a/modules/installation-aws-add-local-zone-locations.adoc +++ b/modules/installation-aws-add-local-zone-locations.adoc @@ -24,28 +24,33 @@ $ export CLUSTER_REGION="" <1> <1> For ``, specify a valid AWS region name, such as `us-east-1`. . Review the list of zones that your region contains by running the following command: +List the zones that are available in your region by running the following command: + [source,terminal] ---- $ aws --region ${CLUSTER_REGION} ec2 describe-availability-zones \ - --query 'AvailabilityZones[].ZoneName' \ + --query 'AvailabilityZones[].[{ZoneName: ZoneName, GroupName: GroupName, Status: OptInStatus}]' \ + --filters Name=zone-type,Values=local-zone \ --all-availability-zones ---- + -Depending on the region, the list of available zones can be long. The different zones use the following naming conventions: +Depending on the region, the list of available zones can be long. The command will return the following fields: + -`${REGION}[a-z]`:: Availability zones available in the region. -`${REGION}-LID-N[a-z]`:: Available AWS Local Zones. `${REGION}-LID-N` represents the zone group identifier, and `[a-z]` represents the zone identifier. -`${REGION}-wl1-LID-wlz-[1-9]`:: Available Wavelength zones. +`ZoneName`:: The name of the Local Zone. +`GroupName`:: The group that the zone is part of. You need to save this name to opt in. +`Status`:: The status of the Local Zone group. If the status is `not-opted-in`, you must opt in the `GroupName` by running the commands that follow. . Export a variable to contain the name of the Local Zone to host your VPC by running the following command: + [source,terminal] ---- -$ export ZONE_GROUP_NAME="${CLUSTER_REGION}--" <1> +$ export ZONE_GROUP_NAME="" <1> ---- -<1> For `-`, specify the location identifier and zone identifier for the Local Zone that you selected for your region. For example, specify `nyc-1` to use the US East (New York) Local Zone. -// TODO: Verify "`zone_identifier` stands for `N`" ++ +where: + +:: Specifies the name of the group of the Local Zone you want to create subnets on. For example, specify `us-east-1-nyc-1` to use the zone `us-east-1-nyc-1a`, US East (New York). + . Opt in to the zone group on your AWS account by running the following command: + [source,terminal]