Best practices and recommendations
The following are some key best practices and recommendations to keep in mind when using VPCs:
Plan and design your VPC before actually implementing one. Determine the right choice of subnet that your application will need and build your VPC around it.
Choose your VPC's network block allocation wisely. A /16 subnet can provide you with a potential 65,534 IP addresses that rarely will get utilized. So ideally, go for a /18 (16,382 IP addresses) or a /20 (4094 IP addresses) as your VPC network choice.
Always plan and have a set of spare IP address capacity for your VPC. For example, consider the network block for my VPC as 192.168.0.0/18.
In this case, we design the subnet IP addressing as follows:
192.168.32.0/19
Public Subnet192.168.64.0/19
Public Subnet spares192.168.128.0/20
Private Subnet192.168.192.0/20
Private Subnet spares
Remember that you cannot edit a network block's size once it is created for a VPC. The only way to change the network block is by...