aws users meetup april 2015
TRANSCRIPT
MySQL in AWS, An Evolutionary Tale
Jervin RealAWS Users Group, Apr 2015
Hello! My name is Jervin
• Student • Senior MySQL Consultant at Percona • @dotmanila • https://github.com/dotmanila • http://dotmanila.com/blog/ • http://www.percona.com/blog/author/jervin
Birth
Infancy
Infancy
First Steps
First Steps
Playful Toddler
Am I Awesome, or Am I Awesome?
Your First Bruise
Success?
Infancy
Everybody Gets a Database!
Load Balancing
OMG!
OMG!
OMG!
Need. More. Flexibility!
You Loose Convenience
Roll Your Own HA
Roll Your Own HA
• MySQL Master HA
Roll Your Own HA
• MySQL Master HA • Pacemaker (PRM)
Roll Your Own HA
• MySQL Master HA • Pacemaker (PRM) • mysqlfailover
Roll Your Own HA
• MySQL Master HA • Pacemaker (PRM) • mysqlfailover • Custom scripts found on GitHub!
Roll Your Own HA
• MySQL Master HA • Pacemaker (PRM) • mysqlfailover • Custom scripts found on GitHub! • etc . . .
Roll Your Own HA
Roll Your Own HA
Roll Your Own HA
Business Wants to Expand
Roll Your Own HA
Geo-Redundancy
Synchronous Replication
To summarize:
• Start small, but delegate early - RDS instances are cheap! • Scale your reads, but do not forget your primary’s HA • RDS multi-AZ has limited health checks, plan failure around
them as well. • EC2 instance provides more flexibility minus convenient RDS
features • HA solutions for asynchronous replication is available • Percona XtraDB Cluster (Galera based) for multi location
writes*
Questions?