Question #1218
A company operates PostgreSQL database workloads on self-managed servers in an on-premises environment. The company aims to migrate these database workloads to a managed AWS service while minimizing application-level changes. Which migration strategy is most appropriate?
Rehost by lifting and shifting the databases to Amazon EC2 instances without re-architecting.
Repurchase by migrating to a proprietary AWS database service requiring licensing changes.
Refactor the application and databases to use a serverless AWS database service.
Replatform by migrating to Amazon RDS for PostgreSQL with minor optimizations.
Explanation
Answer D is correct because:
- Replatforming (D) involves migrating to a managed service like Amazon RDS for PostgreSQL, which is fully compatible with PostgreSQL. This minimizes application-level changes (e.g., connection strings) while offloading database management tasks to AWS.
- Rehosting (A) uses EC2, which is not a managed database service, requiring the company to handle maintenance, backups, and scaling.
- Repurchasing (B) would require switching to a proprietary database (e.g., Amazon Aurora), necessitating licensing changes and potential application rewrites.
- Refactoring (C) involves significant application changes to adopt serverless services (e.g., Amazon Aurora Serverless), which contradicts the requirement to minimize changes.
Key Points:
- Use replatforming (e.g., RDS) for managed services with minimal changes.
- RDS supports PostgreSQL, ensuring compatibility.
- Avoid rehosting (EC2) for managed database needs and repurchasing/refactoring for minimal changes.
Answer
The correct answer is: D