Set Up Your VPC Basics
Weβre repeating our steps from the first networking project to set up our VPC, subnet, and internet gateway. Letβs go!Visualize Your Network (Mermaid Diagram)
This diagram helps visualize the basic structure weβre setting up: a VPC with a public subnet connected to an internet gateway.Create a VPC
Your VPC is the foundation for the rest of this project and represents your corner of the AWS Cloud.Steps:
- Log in to your AWS Account.
- Head to your VPC console.
- Create a VPC with the following settings:
- Name tag: NextWork VPC
- IPv4 CIDR: 10.0.0.0/16
- Click Create VPC.
Create Subnets
Now that we have our VPC, letβs create a public subnet.Steps:
- In your VPC console, select your NextWork VPC.
- Create a subnet with the following details:
- VPC ID: NextWork VPC
- Subnet name: Public 1
- Availability Zone: First in the list
- IPv4 Subnet CIDR block: 10.0.0.0/24
- Enable the auto-assign public IPv4 address setting for the subnet.
Create an Internet Gateway
Steps:
- Go to the Internet Gateway section in the VPC console.
- Create an internet gateway with the following settings:
- Name tag: NextWork IG
- Attach the internet gateway to your NextWork VPC.
Create a Route Table
Even though weβve attached an internet gateway, we still need to configure a route table to direct traffic.Steps:
- Go to the Route Tables section in the VPC console.
- Rename your NextWork VPC route table to
NextWork Route Table. - Add a new route with the following settings:
- Destination: 0.0.0.0/0
- Target: Select the internet gateway you created.
- Associate the route table with your Public 1 subnet.
Create a Security Group
Lastly, weβll add a security group to control access to resources in the VPC.Steps:
- Go to the Security Groups section in the VPC console.
- Create a security group with the following details:
- Name tag: NextWork SG
- VPC: NextWork VPC
- Configure inbound rules to allow:
- Protocol: HTTP (port 80)
- Protocol: SSH (port 22, for secure server access)
- Save the security group.
π§ Contact
For questions or feedback, reach out: π¨ Email: [email protected] π Portfolio: Brian Kimemia GitHub: BrianKN019Thank you for exploring this project! Letβs innovate and build secure AWS solutions together. π