How would you investigate why an EC2 instance cannot communicate with another EC2 instance?
The fastest way to diagnose EC2‑to‑EC2 connectivity issues is to trace the path layer‑by‑layer—instance → security groups → NACLs → route tables → VPC endpoints/policies → VPC Flow Logs → OS/network stack—and identify where traffic is being dropped.
Users cannot access your web server. How can Flow Logs help?
VPC Flow Logs help you quickly see whether traffic to your web server is being accepted, rejected, or not reaching the server at all, letting you pinpoint misconfigured security groups, network ACLs, routing issues, or application-level problems.
Your private EC2 cannot access S3 through a VPC Endpoint. How would you troubleshoot?
The most common causes are a missing route table association, a restrictive endpoint or bucket policy, or disabled S3 DNS resolution, so verifying these three areas usually identifies the issue.
Users report your website is inaccessible, but all EC2 instances are running. What would you check?
The most important checks are security groups, NACLs, route tables, DNS, and whether the web server is actually running, because EC2 “running” only confirms compute availability—not network or application health.
A website behind an ALB is not reachable. What would you check?
The most important checks are ALB listeners, target group health, security groups, and DNS routing, because failures in any of these will prevent the website from loading.
Загрузить больше вопросов