Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > Dashboard Users Guide > Clouds > AWS Regions > VPCs > Actions > Create Route Tables for VPC Subnets

Create Route Tables for VPC Subnets

Table of Contents

WARNING!

Due to RightScale Legacy Platform deprecation, this section covering Amazon Web Services Virtual Private Clouds (VPC) is no longer valid. Please see the Network Manager section for current information on creating and managing AWS VPCs.


A default route table is created whenever you create a VPC and automatically becomes the Main route table. In this setup example, you can designate this route table as the route table for the public VPC subnets. Because you are also using private VPC subnets, you also need to create a private route table. After creating the appropriate route tables, you can then set up routing for your subnets. 

Steps

  1. Go to your VPC (Clouds > AWS Region > VPCs > your VPC). 

  2. Click on Route Tables.  The default route table is already in the list of route tables with all of the subnets associated to it.  

  3. Change the name of the existing route table by clicking -changeme- and changing the name to Public. 

  4. Click New to create the route table.   Change the Name to Private

  5. Associate each private subnet to the private route table.

    1. In the Route Table list, click the first subnet you created (for example, private-a) in the Associations column.

    2. Click Associate Route Table and select Private from the VPC Route Tables list

    3. Repeat steps b and c for each private VPC subnet.

  6. Make the private route table the main route
    1. Click on the private route table. 
    2. Click Make Main.
  7. Set up routing for each subnet.  The public route table uses the Internet gateway that you set up previously.  The private subnet routes to the NAT/Bastion host that you configured previously.

    1. In the Route Table list, click on the Public VPC Route Table.

    2. Click the Route Set tab.

    3. Under New Route, change the CIDR IP to 0.0.0.0/0 (any ip address) and add the internet gateway you created previously.

    4. In the Route Table list, click on the Private VPC Route Table.
    5. Click the Route Set tab.

    6. In the New Route Area change the CIDR IP to 0.0.0.0/0 (any IP address) and add the VPC NAT server that you created previously. 
       

The following screen shows the completed Route Tables. 

 

screen-reate_route_tables_for_vpc_subnets.png

 

After you complete the setup and configuration of your VPC and get your NAT Host running, you can start building your deployment. Be sure to pick the correct subnets for each server that you add; load balancers or any server that is reached from the internet must be in one of the public subnets and have an Elastic IP associated to it while servers in the private subnets do not use Elastic IPs.

You must to post a comment.
Last modified
11:55, 3 Nov 2014

Tags

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.