Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create VPC named VPC1
- CIDR block - 192.168.0.0/16
- Create a Subnet named Subnet1 on the VPC1
- CIDR block - 192.168.1.0/24
- Create a Subnet named Subnet2 on the VPC1
- CIDR block - 192.168.2.0/24
- Create a RouteTable named ExternalRouteTable for the VPC1
- Associated SubnetTable with Route Table ExternalRouteTable using Subnet2
- Create InternetGateway named InternetGateway
- Attach InternetGateway to VPC1
- Create Route name Route1
- RouteTableId : ExternalRouteTable
- Gateway Id: InternetGateway
- CIDR: 0.0.0.0/0
- Create SecurityGroup named SG1
- VPC Id: VPC1
- Create NetworkInterface named PublicInterface1
- Subnet Id: Subnet2
- SecurityGroup Id: SG1
- Create External IP named ExternalIP1
- Create External IP Association named IPAssociation1
- AllocationId: ExternalIP1
- Network Interface: PublicInterface1
- Create NetworkInterface named Interface1
- Subnet Id: Subnet1
- SecurityGroup Id: SG1
- Private IP: 192.168.1.10
- Create Instance:
- NetworkInterfaces
- DeviceIndex 1: Subnet2
- DeviceIndex 2: Subnet1 (Specify IP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement