NotForExam
published

EC2 to RDS Connectivity Troubleshooting

A backend EC2 instance cannot connect to a PostgreSQL RDS database. Find and fix the root cause.

What you will learn

  • Trace VPC connectivity
  • Read security group intent
  • Validate PostgreSQL access

Prerequisites

You need an AWS account, Terraform, AWS CLI credentials with permission to create the listed resources, and enough comfort with shell commands to inspect failures.