How do I change the subnet mask for the default subnet of my default Amazon VPC?
Last updated: 2022-09-09
I want to change the subnet mask for the default subnet of my default virtual private cloud (VPC) in Amazon Virtual Private Cloud (Amazon VPC).
You can delete the default subnet for your default VPC and replace it with customized configurations.
- Delete the default subnet for your default Amazon VPC in an AWS Region.
- Create a new subnet with your preferred subnet mask size. Be sure that the new subnet is part of your default VPC in the same AWS Region.
Note: The first four IP addresses and the last IP address in each subnet CIDR block aren't available for your use. These IP addresses can't be assigned to an instance.