What You Will Learn
Advanced
- Common network issues in AWS
- VPC Flow Logs for traffic analysis
- Reachability Analyzer for connectivity
| Problem | Likely cause |
|---|---|
| Cannot reach EC2 | Security group blocks port, no public IP |
| Cannot reach RDS | Security group, wrong endpoint, wrong VPC |
| No internet from private subnet | No NAT Gateway in route table |
| Cannot resolve DNS | DNS resolution not enabled in VPC |
VPC Flow Logs
Enable Flow Logs to capture all network traffic metadata. Send to CloudWatch or S3. Essential for debugging and security auditing.Practical Exercise
Enable VPC Flow Logs for your VPC
Use Reachability Analyzer to test EC2 to RDS connectivity
Check security groups and NACLs
Use
traceroute or aws ec2 describe-route-tablesKey Takeaways
- Cannot reach EC2: check security group + public IP.
- Cannot reach RDS: check security group + VPC.
- No internet from private: need NAT Gateway.
- VPC Flow Logs: capture all traffic for debugging.
- Reachability Analyzer: test connectivity between resources.
Comments
Comments
Post a Comment