This guide is based on the AWS console as of January 2023. Over time the appearance of some of the services referenced may change however you should be able to still apply the same principles.
I have used the us-west-2
region for setting up all of my resources.
A “Virtual Private Cloud” or VPC in AWS, is a critical component for hosting cloud applications. We can think of it as being our own private data centre where we manage the network configuration, control access to resources, and build secure connections between our applications and the outside world. It allows us to select the IP address range for IPv4 and IPv6 (both of these are used to identify devices on a network and route data to them), create subnets, and configure route tables, network gateways and security settings. I created this GitHub Gist to go over the steps for adding a custom VPC to your AWS account.