Choose between RDS and running a database on EC2.
BeginnerScenarioS3, RDS and DynamoDB
Answer
Situation read → RDS manages backups, patching and failover; EC2 gives control at the cost of operations.
What I'd do →
- Use RDS or Aurora unless you need unsupported extensions or OS access
- Enable Multi-AZ for production
- Automated backups with a 7 to 35 day retention
- Use parameter groups instead of editing files
- Go EC2 only with a specific need and a team to run it
Why → Operational toil is the real cost of self-managed databases.
Interview tip → RDS Custom exists for the in-between case.
More on S3, RDS and DynamoDB
You need to host a static website with HTTPS and low latency worldwide. Which services do you use?BeginnerUploaded files in your bucket must be deleted after 90 days and old versions after 30. How do you do that?BeginnerSomeone deleted objects from a versioned bucket. How do you recover and prevent repeats?IntermediateMillions of small objects are being uploaded and S3 returns 503 Slow Down. What do you do?IntermediateLarge 50 GB files upload slowly from remote offices to S3. How do you speed it up?IntermediateDesign a cross-region DR strategy for a critical S3 bucket with a 15-minute RPO.Advanced