Skip to content

Commit 9fc779f

Browse files
mtuliofad3t
authored andcommitted
✨ edge subnets/docs: added guide subnets on Local and Wavelength zones
Create a dedicated document, "topic", with instructions to deploy network infrastructure (subnets, gateways and route tables) in "edge zones" - Local Zone and Wavelength Zone infrastructure.
1 parent abb9593 commit 9fc779f

File tree

1 file changed

+76
-3
lines changed

1 file changed

+76
-3
lines changed

docs/book/src/topics/provision-edge-zones.md

Lines changed: 76 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22

33
## Overview
44

5-
CAPA provides the option to manage network resources on AWS Local Zone locations.
5+
CAPA provides the option to manage network resources required to provision compute nodes
6+
to Local Zone and Wavelength Zone locations.
67

78
[AWS Local Zones](https://aws.amazon.com/about-aws/global-infrastructure/localzones/)
89
extends the cloud infrastructure to metropolitan regions,
910
allowing to deliver applications closer to the end-users, decreasing the
1011
network latency.
1112

12-
When "edge zones" is mentioned in this document, it is referencing AWS Local Zones.
13+
[AWS Wavelength Zones](https://aws.amazon.com/wavelength/)
14+
extends the AWS infrastructure deployments infrastructure to carrier infrastructure,
15+
allowing to deploy within communications service providers’ (CSP) 5G networks.
16+
17+
When "edge zones" is mentioned in this document, it is referencing to AWS Local Zones and AWS Wavelength Zones.
1318

1419
## Requirements and defaults
1520

@@ -19,7 +24,8 @@ For both Local Zones and Wavelength Zones ('edge zones'):
1924
- When you choose to CAPA manage edge zone's subnets, you also must specify the
2025
regular zones (Availability Zones) you will create the cluster.
2126
- IPv6 is not globally supported by AWS across Local Zones,
22-
CAPA support is limited to IPv4 subnets in edge zones.
27+
and is not supported in Wavelength zones, CAPA support is limited to IPv4
28+
subnets in edge zones.
2329
- The subnets in edge zones will not be used by CAPA to create NAT Gateways,
2430
Network Load Balancers, or provision Control Plane or Compute nodes by default.
2531
- NAT Gateways are not globally available to edge zone's locations, the CAPA uses
@@ -31,6 +37,8 @@ For both Local Zones and Wavelength Zones ('edge zones'):
3137
can be used to create a load balancer for API.
3238
- It is required to manually opt-in to each zone group for edge zones you are planning to create subnets.
3339

40+
The following steps are example to describe the zones and opt-into an zone group for an Local Zone:
41+
3442
- To check the zone group name for a Local Zone, you can use the [EC2 API `DescribeAvailabilityZones`][describe-availability-zones]. For example:
3543
```sh
3644
aws --region "<value_of_AWS_Region>" ec2 describe-availability-zones \
@@ -98,4 +106,69 @@ spec:
98106
isPublic: true
99107
```
100108
109+
## Installing managed clusters extending subnets to Wavelength Zones
110+
111+
To create a cluster with support of subnets on AWS Wavelength Zones, add the `Subnets` stanza to your `AWSCluster.NetworkSpec`. Example:
112+
113+
```yaml
114+
---
115+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
116+
kind: AWSCluster
117+
metadata:
118+
name: aws-cluster-wavelengthzone
119+
spec:
120+
region: us-east-1
121+
networkSpec:
122+
vpc:
123+
cidrBlock: "10.0.0.0/20"
124+
subnets:
125+
# <placeholder for regular zones (availability zones)>
126+
- availabilityZone: us-east-1-wl1-was-wlz-1
127+
cidrBlock: "10.0.128.0/25"
128+
id: "cluster-subnet-private-us-east-1-wl1-was-wlz-1"
129+
isPublic: false
130+
- availabilityZone: us-east-1-wl1-was-wlz-1
131+
cidrBlock: "10.0.128.128/25"
132+
id: "cluster-subnet-public-us-east-1-wl1-was-wlz-1"
133+
isPublic: true
134+
```
135+
136+
## Installing managed clusters extending subnets to Local and Wavelength Zones
137+
138+
It is also possible to mix the creation across both Local and Wavelength zones.
139+
140+
To create a cluster with support of edge zones, add the `Subnets` stanza to your `AWSCluster.NetworkSpec`. Example:
141+
142+
```yaml
143+
---
144+
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
145+
kind: AWSCluster
146+
metadata:
147+
name: aws-cluster-edge
148+
spec:
149+
region: us-east-1
150+
networkSpec:
151+
vpc:
152+
cidrBlock: "10.0.0.0/20"
153+
subnets:
154+
# <placeholder for regular zones (availability zones)>
155+
- availabilityZone: us-east-1-nyc-1a
156+
cidrBlock: "10.0.128.0/25"
157+
id: "cluster-subnet-private-us-east-1-nyc-1a"
158+
isPublic: false
159+
- availabilityZone: us-east-1-nyc-1a
160+
cidrBlock: "10.0.128.128/25"
161+
id: "cluster-subnet-public-us-east-1-nyc-1a"
162+
isPublic: true
163+
- availabilityZone: us-east-1-wl1-was-wlz-1
164+
cidrBlock: "10.0.129.0/25"
165+
id: "cluster-subnet-private-us-east-1-wl1-was-wlz-1"
166+
isPublic: false
167+
- availabilityZone: us-east-1-wl1-was-wlz-1
168+
cidrBlock: "10.0.129.128/25"
169+
id: "cluster-subnet-public-us-east-1-wl1-was-wlz-1"
170+
isPublic: true
171+
```
172+
173+
101174
[describe-availability-zones]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html

0 commit comments

Comments
 (0)