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
### Issue # (if applicable)
Closes #<issue number here>.
### Reason for this change
This PR adds new fields under VPCv2 construct to add BYOIP using AWS pool id and CIDR range of the IPv6 address.
### Description of changes
### Describe any new or updated permissions being added
No update to permissions.
### Description of how you validated changes
Added unit test and integration test.
To test these changes in future, users will need to modify the pool-id with the one hosted in their account and run integration test.
For internal testing, instructions added to [team-internal docs](cdklabs/team-internal#269) with pool onboarding details.
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Copy file name to clipboardExpand all lines: packages/@aws-cdk/aws-ec2-alpha/README.md
+32
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,38 @@ new VpcV2(this, 'Vpc', {
105
105
106
106
Since `VpcV2` does not create subnets automatically, users have full control over IP addresses allocation across subnets.
107
107
108
+
### Bring your own IPv6 addresses (BYOIP)
109
+
110
+
If you have your own IP address that you would like to use with EC2, you can set up an IPv6 pool via the AWS CLI, and use that pool ID in your application.
111
+
112
+
Once you have certified your IP address block with an ROA and have obtained an X-509 certificate, you can run the following command to provision your CIDR block in your AWS account:
When your BYOIP CIDR is provisioned, you can run the following command to retrieve your IPv6 pool ID, which will be used in your VPC declaration:
119
+
120
+
```shell
121
+
aws ec2 describe-byoip-cidr --region <region>
122
+
```
123
+
124
+
For more help on setting up your IPv6 address, please review the [EC2 Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html).
125
+
126
+
Once you have provisioned your address block, you can use the IPv6 in your VPC as follows:
Copy file name to clipboardExpand all lines: packages/@aws-cdk/aws-ec2-alpha/test/integ.byoip-ipv6.js.snapshot/integtestmodelDefaultTestDeployAssertCF40BD53.assets.json
0 commit comments