## Network Security and Compliance in AWS Advanced Networking
AWS provides a robust suite of services to secure network infrastructure and maintain compliance. Understanding these services and their advanced configurations is crucial for the AWS Certified Advanced Networking - Specialty exam.
AWS Shield Standard offers automatic protection against common, frequently occurring DDoS attacks. For higher-level protection, AWS Shield Advanced provides enhanced detection, attack mitigation, and access to the AWS DDoS Response Team (DRT). It integrates with AWS WAF (Web Application Firewall), which allows you to define custom rules to filter malicious traffic based on IP addresses, HTTP headers, body, or URI strings, protecting web applications running on Application Load Balancers, Amazon CloudFront, or API Gateway.
At the instance level, Security Groups act as stateful firewalls, controlling inbound and outbound traffic. At the subnet level, Network Access Control Lists (NACLs) are stateless firewalls, allowing or denying traffic based on rules. For centralized, managed network protection across VPCs and AWS accounts, AWS Network Firewall provides intrusion prevention and detection, URL filtering, and stateful packet inspection. It can be deployed in a centralized inspection VPC using AWS Transit Gateway for routing traffic. For integrating third-party firewalls, the Gateway Load Balancer (GLB) simplifies deployment by acting as a transparent network gateway for virtual appliances, directing traffic to and from them.
VPC Flow Logs capture detailed information about IP traffic going to and from network interfaces in your VPC, aiding in security analysis and troubleshooting. VPC Traffic Mirroring allows you to copy network traffic from an elastic network interface (ENI) to a monitoring ENI for deep packet inspection, threat detection, and compliance. Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behavior, leveraging VPC Flow Logs, DNS logs, and CloudTrail event logs.
Ensuring data encryption in transit is paramount. AWS Site-to-Site VPN and AWS Direct Connect connections can be secured using IPsec for data encryption between on-premises networks and AWS. MACsec can be used for encryption over Direct Connect dedicated connections. For web traffic, TLS/SSL is standard. AWS IAM policies and Service Control Policies (SCPs) enforce granular access control. For compliance, AWS Config monitors resource configurations, and AWS Security Hub provides a comprehensive view of your security posture across AWS accounts.