Database Configuration, Backup, and Failover - Web Application Hosting in the AWS Cloud: Best Practices

Database Configuration, Backup, and Failover

Many web applications contain some form of persistence, usually in the form of a relational or NoSQL database. AWS offers both relational and NoSQL database infrastructure. Alternatively, you can deploy your own database software on an EC2 instance. The following table summarizes these options, and we discuss them in greater detail in this section.

Relational Database Solutions NoSQL Solutions
Managed Database Service Amazon RDS – MySQL, Oracle, SQL Server, MariaDB, PostgreSQL, Amazon Aurora Amazon DynamoDB
Self-Managed Hosting a relational DBMS on an EC2 instance Hosting a NoSQL solution on an EC2 instance