Amazon AWS Learning--VPC Several concepts within the relationship

Source: Internet
Author: User

There are several concepts involved in a VPC:

    • Vpc
    • Sub-Network
    • routing table
    • Internet gateways
    • Security group

Today we are going to talk about the relationship between the several concepts.

1. VPC

Is the VPC, of course, VPC scope is the largest, VPC is virtual private cloud, is a fictitious LAN.

2. Subnets

VPC is designed to isolate all of your services from the outside world, but the scope is large, and if you need further network partitioning inside your LAN, you need to set up subnets. The subnet is inside the VPC.

3. Routing table

The routing table is created on a VPC and is created with a corresponding VPC selected.

All routing tables created within a VPC will contain a route entry that reaches that VPC and cannot be deleted. You can then add new route items, such as Internet gateways, on this basis.

4. Internet gateways

If you want to surf the internet, Internet gateways are required, and they are also associated to the routing table when they are created. Click Do navigation "Routing table", select an item on the right side of the list, in the Routing tab below you can click "Edit" to add an Internet gateway,

5. Security Groups

A security group is a collection of inbound rules and outbound rules. Security groups are also built on a VPC, and you need to specify a VPC when you create it.

In the left navigation, click on "Security group", select an item in the right list, below you can see the "Inbound rules" and "Outbound rules" tab. The rules for Inbound (VPC) and outbound (VPC) are defined separately in the form of a white list. With the default security group for the EC2 instance, the inbound rule opens Port 22nd, which means that the SSH tool can be used to connect to the instance via port 22nd, and the source labeled "0.0.0.0/0" indicates that the IP of the connection source is not subject to any restrictions.

EC2 The default outbound rule is all traffic, which means that EC2 instances are not restricted to external access,

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Amazon AWS Learning--VPC Several concepts within the relationship

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.