---
# System prepended metadata

title: AWS Networking for Jarvis Application

---

# AWS Networking for Jarvis Application

The following are the steps to create a custom network in AWS as per Jarvis NextGen design.

1. Create a vpc (jarvis-nextgen) with (10.31.0.0/16) CIDR block.
2. By default vpc creates the main RouteTable, main Network ACL, and a Security Group for this vpc.
3. Go to Route Table and you will find no Subnect is associated with it.
4. Now, create 3 Public Subnets for each AZ. (10.31.1.0/24, 10.31.2.0/24, 10.31.3.0/24)
5. Create 3 Private Subnets for each AZ. (10.31.4.0/24, 10.31.5.0/24, 10.31.6.0/24)
6. Enable the Auto Assign Public IP into Public Subnets
7. Create a IGW to get Internet access.
8. Attach the IGW with VPC
9. Create a Route Table and attach with custom VPC
10. Edit the newly create RT and add a Route (0.0.0.0/0) and Target to IGW
11. Associate the Public Subnets with the RT, since it has IGW. This Public Subnet will be able to access Internet.
12. You will notice that Public Subnet has been deassociated from the Main RT.
13. Create a NAT-GW and select Public Subnet
14. Edit the Main Route Table and a Route into it to NGW


Notes: 
- Internet Gateway provides 2 way communication
- NAT Instance allows only outbond traffics. Inbound Traffics are not allowed in NAT Instance
- 