VPC --- How it works
Amazon VPC uses a mapping service. The mapping service abstracts your VPC from the underlying AWS infrastructure. For any given VPC, the mapping service maintains information about all of its resources, their VPC IP addresses, and the IP addresses of the underlying physical server on which the resource is running. It is the definitive source of topology information for each VPC.
When an Amazon EC2 instance, say Instance A, in your VPC initiates communication with another Amazon EC2 instance, say Instance B, over IPv4, Instance A will broadcast an Address Resolution Protocol (ARP) packet to obtain the Instance B's Media Access Control (MAC) address. The ARP packet leaving Instance A is intercepted by the server Hypervisor. The Hypervisor queries the mapping service to identify whether Instance B exists in the VPC and, if so, obtains its MAC address. The Hypervisor returns a synthetic ARP response to Instance A containing Instance B's MAC address.
Instance A is now ready to send an IP packet to Instance B. The IP packet has Instance A's source IP and Instance B's destination IP. The IP packet is encapsulated in an Ethernet header with Instance A's MAC as the source address and Instance B's MAC as the destination address. The Ethernet packet is then transmitted from Instance A's network interface.
As Instance A emits the packet, it is intercepted by the server Hypervisor. The Hypervisor queries the mapping service to learn the IPv4 address of the physical server on which Instance B is running. Once the mapping service provides this data, the packet emitted by Instance A is encapsulated in a VPC header that identifies this specific VPC and then encapsulated again in an IP packet with a source IP address of Instance A's physical server and a destination IPv4 address of Instance B's physical server. The packet is then placed on to the AWS network.
When the packet arrives at Instance B's physical server, the outer IPv4 header and VPC header are inspected. The instance Hypervisor queries the mapping service to confirm that Instance A exists on the specific source physical server and in the specific VPC identified in the received packet. When the mapping service confirms that the mapping is correct, the Hypervisor strips off the outer encapsulation and delivers the packet that Instance A emitted to the Instance B network interface.
That explains why Amazon VPC does not support broadcast and multicast.
AWS Networking Services
Amazon Elastic Compute Cloud:
- Web service that provides resizable compute capacity in the cloud
- Obtain and configure virtual servers in Amazon's data centers, and harness those resources to build and host software systems
- True virtual computing environment, choose Memory, CPU and storage
- Variety of operating systems, and manage network access permissions
Amazon Virtual Private Cloud:
- Amazon VPC lets organizations provision a logically isolated section of the AWS Cloud where they can launch AWS resources in a virtual network they define
- Organizations have complete control over the virtual environment, including selection of the IP address range, creation of subnets, and configuration of route tables
- and network gateways
- Organizations can also extend their corporate on-premises data center networks to AWS by using hardware or software VPN connections or dedicated circuits by using
- AWS Direct Connect
AWS Direct Connect:
- Allows organizations to establish a dedicated network connection from their data center to AWS
- Organizations can establish private connectivity between their on-premises data center, office, or co-location AWS environment, and that can reduce network costs,
- increase bandwidth throughput, and provide a more consistent network experience than Internet-based VPN connections
Elastic Load Balancing:
- Automatically distributes incoming application traffic across multiple Amazon EC2 instances in the cloud
- Enables organizations to achieve greater levels of fault tolerance in their applications, seamlessly providing the required amount of load balancing capacity to
- distribute application traffic
Amazon Route 53:
- Highly available and scalable DNS service
- Designed to give developers and businesses an extremely reliable and cost-effective way to route end users to Internet applications by translating human readable names
- to numeric IP addresses which computers use to connect to each other
- Also serves as a domain registrar, allowing customers to purchase and manage domains directly from AWS
Amazon Cloudfront:
- A global Content Delivery Network (CDN) service that securely delivers data, videos, applications, and Application Programming Interfaces (APIs) to an organization's
- viewers with low latency and high speeds
- Integrated with AWS, both with physical locations that are directly connected to the AWS global infrastructure and software that works seamlessly with other AWS
- cloud services
- Include AWS Shield for Distributed Denial of Service (DDoS) mitigation, Amazon S3, Elastic Load Balancing, or Amazon EC2 as origins for applications, as well as
- AWS Lambda to run custom code close to the content viewers
GuardDuty:
- A continuous security monitoring, threat detecting solution that gives customers visibility into malicious or unauthorized activity across their AWS accounts and the
- applications and services running within them
- Capable of detecting threats such as reconnaissance by attackers like port probes, port scans, and attempts to obtain account credentials
- Amazon EC2 instances that have been compromised by instances serving malware, bitcoin mining, and outbound DDoS attacks
- Compromised accounts like unauthorized infrastructure deployments, AWS CloudTrail tampering, and unusual API calls
- Whenever a threat is detected, the solution delivers a security finding
- Each finding includes a security level, detailed evidence for the finding, and recommended actions
AWS WAF:
- Helps protect web applications from common attacks and exploits that could affect application availability, compromise security, or consume excessive resources
- Gives organizations control over which traffic to allow or block to their web applications by defining customizable web security rules
AWS Shield:
- A managed DDoS that safeguards web applications running on AWS
- Provides always-on detection and automatic inline mitigations that minimize application downtime and latency
- Two tiers: Standard and Advanced