Networking Flashcards
Amazon Virtual Private Cloud, or VPCs
Amazon Virtual Private Cloud, or VPCs, as they’re affectionately known. A VPC lets you provision a logically isolated section of the AWS Cloud where you can launch AWS resources in a virtual network that you define. These resources can be public facing so they have access to the internet, or private with no internet access, usually for backend services like databases or application servers.
Subnets
The public and private grouping of resources are known as subnets and they are ranges of IP addresses in your VPC.
Amazon Virtual Private Cloud (Amazon VPC)
A networking service that you can use to establish boundaries around your AWS resources is Amazon Virtual Private Cloud (Amazon VPC).
Amazon VPC enables you to provision an isolated section of the AWS Cloud. In this isolated section, you can launch resources in a virtual network that you define. Within a virtual private cloud (VPC), you can organize your resources into subnets. A subnet is a section of a VPC that can contain resources such as Amazon EC2 instances.
Internet gateway
To allow public traffic from the internet to access your VPC, you attach an internet gateway to the VPC.
An internet gateway is a connection between a VPC and the internet. You can think of an internet gateway as being similar to a doorway that customers use to enter the coffee shop. Without an internet gateway, no one can access the resources within your VPC.
Virtual private gateway
To access private resources in a VPC, you can use a virtual private gateway.
The virtual private gateway is the component that allows protected internet traffic to enter into the VPC.
A virtual private gateway enables you to establish a virtual private network (VPN) connection between your VPC and a private network, such as an on-premises data center or internal corporate network. A virtual private gateway allows traffic into the VPC only if it is coming from an approved network.
AWS Direct Connect
AWS Direct Connect is a service that enables you to establish a dedicated private connection between your data center and a VPC.
The private connection that AWS Direct Connect provides helps you to reduce network costs and increase the amount of bandwidth that can travel through your network.
AWS has a wide range of tools that cover every layer of security:
network hardening, application security, user identity, authentication and authorization, distributed denial-of-service or DDoS prevention, data integrity, encryption, much more.
Subnets
A subnet is a section of a VPC in which you can group resources based on security or operational needs. Subnets can be public or private.
Public subnets
contain resources that need to be accessible by the public, such as an online store’s website.
Private subnets
contain resources that should be accessible only through your private network, such as a database that contains customers’ personal information and order histories.
In a VPC, subnets can communicate with each other.
For example, you might have an application that involves Amazon EC2 instances in a public subnet communicating with databases that are located in a private subnet.
A packet
is a unit of data sent over the internet or a network.
access control list (ACL)
The VPC component that checks packet permissions for subnets is a network access control list (ACL).
network access control list (ACL)
A network access control list (ACL) is a virtual firewall that controls inbound and outbound traffic at the subnet level.
More ACL
Each AWS account includes a default network ACL. When configuring your VPC, you can use your account’s default network ACL or create custom network ACLs.