Hosting a Database on AWS Elastic Block Store (EBS)
EBS can stand for Elastic Block Store, or more commonly, Elastic Beanstalk. For the purposes of this article EBS stands for Elastic Block Store.
Overview[edit]
Search for AWS and database and the most common results will be related to RDS. This is a very resilient database solution, but it is enterprise-level. And expensive. a micro MySQL instance costs ~$20/month, and a micro PostgreSQL instance costs ~$30/month.
AWS's persistent volumes on the other hand appear to be pretty inexpensive. Like $0.08/per month per Gb. MySQL and PostgreSQL data can be stored on them. If an Elastic Beanstalk instance's platform is updated, the data won't be affected since it sits on its own volume.
Creating the database[edit]
Some very old guides that contain useful information.
- Running MySQL on Amazon EC2 with EBS (Elastic Block Store) - AWS documentation
- Running MySQL on Amazon EC2 with EBS (Elastic Block Store) and Elastic Beanstalk - ServerFault