Successfully reported this slideshow.
Your SlideShare is downloading. ×

AWS Summit Milan - AWS RDS for your data (and your sleep)

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
Scaling PHP apps
Scaling PHP apps
Loading in …3
×

Check these out next

1 of 11 Ad
Advertisement

More Related Content

Slideshows for you (20)

Similar to AWS Summit Milan - AWS RDS for your data (and your sleep) (20)

Advertisement
Advertisement

AWS Summit Milan - AWS RDS for your data (and your sleep)

  1. 1. AWS RDS for your data (and your sleep) Matteo Moretti CTO @ Madisoft
  2. 2. Madisoft Producer of Nuvola Nuvola is a set of services (delivered as SaaS) to digitalize and improve Italian school’s processes. More than 1000 schools (~ 15% of the market) scuoladigitale.info
  3. 3. Nuvola ● > 2M active users ● > 1000 sql databases & > 500GB of relational data ● ~ 400M SQL queries / day (average) ● from few to ~ 200k sessions in 5 minutes at 8 a.m. ● 1M / week archived documents Nuvola is a data-driven software
  4. 4. Relational data: how to? ● Handle very fast increasing growth ● Handle 400M sql queries / day ● High reliability ● Automatic backups ● Automatic os and db engine patches ● Scale based on traffic ● Continuously monitoring ● … add your own spec!
  5. 5. Old infrastructure ● 25 Mysql 5.6 instances ● Master - slave replication for high reliability: 50 instances ● Backups on slaves machines. ● Self-made monitoring and patching It works but it’s fragile, error-prone and require a bunch of sysadmins to keep it secure, up to date and working properly. Tons of man hours ($$$)
  6. 6. AWS ... is your sysadmin
  7. 7. AWS RDS ● 12 MySQL 5.7 M4.large instances ● Multi AZ ● Rich API & Ansible as configuration management tool ● Automatic snapshots & backups ● Integrated monitoring and patching ● Easy to update (single click from to MySQL 5.6 to 5.7)
  8. 8. AWS RDS
  9. 9. Migration How did we migrate? https://www.slideshare.net/matteomoro8/nuvola-a-tale-of-migration-to-aws It took ~ 50 minutes!
  10. 10. AWS RDS ● Db infrastructure a lot more reliable and efficient ● Everything automated ● Saved tons of man hours ($$$ and sleep hours) Current and future steps ● Auto-scaling to better fit consumptions to real needs ● Give Aurora a try and do some benchmarks vs RDS MySQL
  11. 11. Madisoft Thank you! labs.madisoft.it @madisoft

×