VPC & Networking Flashcards
What is IPv4?
Most common IP version with 4 billion addresses
IPv4 is the fourth version of the Internet Protocol and is widely used for identifying devices on a network.
What is a Public IPv4 address?
Can be used on the internet
Public IPv4 addresses are routable on the internet and can be accessed from any device on the internet.
How does an EC2 instance interact with Public IPv4 addresses?
Gets a public IPv4 every time you stop and start
This behavior allows for dynamic allocation of public IP addresses to EC2 instances.
What is a Private IPv4 address?
Accessible only on LAN, e.g., 192.168.1.1
Private IPv4 addresses are not routable on the internet and are used for internal networking.
What is an Elastic IP?
Attached a fixed public IPv4 to EC2
Elastic IPs allow users to maintain a consistent public IP address even if the instance is stopped or restarted.
What is IPv6?
Free in AWS, newer version of IP
IPv6 provides a vastly larger address space compared to IPv4 and is designed to replace it.
What is a VPC?
Virtual Private Cloud, a private network to deploy resources
VPC allows users to define a virtual network that is isolated from other networks.
What are Subnets in a VPC?
Partitions the network inside VPC
Subnets help organize and control the flow of traffic within a VPC.
What is an Internet Gateway in a VPC?
Provides access to the internet
An Internet Gateway enables communication between instances in the VPC and the internet.
What is a NACL?
Stateless firewall
Network Access Control Lists (NACLs) control inbound and outbound traffic at the subnet level.
What is VPC Peering?
Connects two VPCs with non-overlapping IP ranges
VPC Peering allows instances in different VPCs to communicate with each other as if they are in the same network.
What are VPC Endpoints?
Private access to any AWS service
VPC Endpoints enable users to connect to AWS services without requiring an internet gateway or NAT device.
What is Privatelink?
Privately connect to a service in a 3rd party VPC
AWS PrivateLink allows secure and private connectivity to services hosted in other VPCs.
What is Direct Connect?
Establish private connection from on-premises to AWS
Direct Connect provides a dedicated network connection to AWS, enhancing performance and security.
What is a Site to Site VPN?
VPN over public internet
Site to Site VPNs use encrypted tunnels over the public internet to connect on-premises networks to AWS.