2. 2
Agenda
• SkySQL Cloud Data Suite Architecture
• SkySQL Cloud Data Suite on Amazon EC2
• Components for automated provisioning in AWS
• Components for high availability in EC2
• The Administration Console
• Automated Backup/Restore with S3
4. 6
SkySQL Cloud Data Suite
SkySQL Data SuiteSkySQL Data SuiteSkySQL Data SuiteSkySQL Data Suite
High
Availability
High
Availability
Full-TextFull-Text
ReplicationReplication
GaleraGalera
DRBDDRBD
AnalyticsAnalyticsAnalyticsAnalytics
Carrier GradeCarrier GradeCarrier GradeCarrier Grade
Online Apps.Online Apps.Online Apps.Online Apps.
Shared
Storage
Shared
Storage
5. 7
Cloud Data Suite vs Enterprise Data Suit
Cloud Data SuiteCloud Data Suite
•Deployed in Amazon AWSDeployed in Amazon AWS
•Automatic configuration and provisioningAutomatic configuration and provisioning
•MariaDB 5.5MariaDB 5.5
•MySQL Replication with Pacemaker/CorosyncMySQL Replication with Pacemaker/Corosync
•Administration Console with Backup/RestoreAdministration Console with Backup/Restore
•SkySQL Enterprise Monitoring aka MONyog - TrialSkySQL Enterprise Monitoring aka MONyog - Trial
•PhpMyAdminPhpMyAdmin
•Community SupportCommunity Support
•Development ReleaseDevelopment Release
•Fully OSS (with MONyog Trial)Fully OSS (with MONyog Trial)
Cloud Data SuiteCloud Data Suite
•Deployed in Amazon AWSDeployed in Amazon AWS
•Automatic configuration and provisioningAutomatic configuration and provisioning
•MariaDB 5.5MariaDB 5.5
•MySQL Replication with Pacemaker/CorosyncMySQL Replication with Pacemaker/Corosync
•Administration Console with Backup/RestoreAdministration Console with Backup/Restore
•SkySQL Enterprise Monitoring aka MONyog - TrialSkySQL Enterprise Monitoring aka MONyog - Trial
•PhpMyAdminPhpMyAdmin
•Community SupportCommunity Support
•Development ReleaseDevelopment Release
•Fully OSS (with MONyog Trial)Fully OSS (with MONyog Trial)
Enteprise Data SuiteEnteprise Data Suite
•Deployed in Clouds, virtualised env. and bare OSDeployed in Clouds, virtualised env. and bare OS
•Standard download packagesStandard download packages
•MariaDB, MySQL, Percona ServersMariaDB, MySQL, Percona Servers
•MySQL Replication with MHA, DRBD, Galera orMySQL Replication with MHA, DRBD, Galera or
shared storage and Pacemaker/Corosyncshared storage and Pacemaker/Corosync
•ZManda Recovery ManagerZManda Recovery Manager
•SkySQL Enterprise Monitory aka MONyogSkySQL Enterprise Monitory aka MONyog
•SQLyogSQLyog
•Enterprise Technical SupportEnterprise Technical Support
•Production ReleaseProduction Release
•Mix of OSS and CommercialMix of OSS and Commercial
Enteprise Data SuiteEnteprise Data Suite
•Deployed in Clouds, virtualised env. and bare OSDeployed in Clouds, virtualised env. and bare OS
•Standard download packagesStandard download packages
•MariaDB, MySQL, Percona ServersMariaDB, MySQL, Percona Servers
•MySQL Replication with MHA, DRBD, Galera orMySQL Replication with MHA, DRBD, Galera or
shared storage and Pacemaker/Corosyncshared storage and Pacemaker/Corosync
•ZManda Recovery ManagerZManda Recovery Manager
•SkySQL Enterprise Monitory aka MONyogSkySQL Enterprise Monitory aka MONyog
•SQLyogSQLyog
•Enterprise Technical SupportEnterprise Technical Support
•Production ReleaseProduction Release
•Mix of OSS and CommercialMix of OSS and Commercial
6. 8
SkySQL Cloud Data Suite Sep 2012
1111
2222
3333
1.Configure your DB system on
config.skysql.com or cloud.skysql.com
2.Deploy the DB system:
• Online
• Configuration pull from AWS
• Manually
1.Connect the DB system to
your application
7. 9
SkySQL Cloud Data Suite Dec 2012
• Rel. 1.1 with bug fixing
• New Administration Console
with:
• rpm package and installation on Linux OS
• Administration and monitoring of
replicated and standalone servers
• Customisable graphs
• Customisable commands
9. 11
SkySQL Cloud Data Suite Configurator
Configuration
Engine
Rules
Repository
Provisioning
Engine
Software
Repository
Deployment
Engine
Provisioning
Queue
Deployment
Queue
AMI
userdata.sh
User Account
Deployment triggered by theDeployment triggered by the
first boot of each instancefirst boot of each instance
Deployment triggered by theDeployment triggered by the
first boot of each instancefirst boot of each instance
12. 14
SkySQL Cloud Data Suite Sep 2012
Technologies and Software
Replicator
Data StoreAdmin
Console
FRONT ENDFRONT END
ApacheApache
TomcatTomcat
FRONT ENDFRONT END
ApacheApache
TomcatTomcat
BACK ENDBACK END
SQLiteSQLite
BACK ENDBACK END
SQLiteSQLite
MariaDBMariaDBMariaDBMariaDB
Linux 3.2Linux 3.2
(Amazon(Amazon
Distro)Distro)
Linux 3.2Linux 3.2
(Amazon(Amazon
Distro)Distro)
MONyogMONyog
TrialTrial
MONyogMONyog
TrialTrial
PHPMyAdminPHPMyAdminPHPMyAdminPHPMyAdmin
MySQLMySQL
ReplicationReplication
MySQLMySQL
ReplicationReplicationGlusterFSGlusterFSGlusterFSGlusterFSPacemakerPacemaker
CorosyncCorosync
PacemakerPacemaker
CorosyncCorosync XtrabackupXtrabackupXtrabackupXtrabackup
13. 15
SkySQL Cloud Data Suite Sep 2012
Data Store
Data Store
PublicPublic
SkySQL AMISkySQL AMI
PublicPublic
SkySQL AMISkySQL AMI
MariaDB 5.5MariaDB 5.5
MyISAM, InnoDB, XtraDB,MyISAM, InnoDB, XtraDB,
Enhanced Optimizer, VirtualEnhanced Optimizer, Virtual
ColumnsColumns
MariaDB 5.5MariaDB 5.5
MyISAM, InnoDB, XtraDB,MyISAM, InnoDB, XtraDB,
Enhanced Optimizer, VirtualEnhanced Optimizer, Virtual
ColumnsColumns
From standalone toFrom standalone to
1 Master + 3 Slaves1 Master + 3 Slaves
From standalone toFrom standalone to
1 Master + 3 Slaves1 Master + 3 Slaves
System and DataSystem and Data
file systemsfile systems
System and DataSystem and Data
file systemsfile systems
Pacemaker controls thePacemaker controls the
automatic failoverautomatic failover
Pacemaker controls thePacemaker controls the
automatic failoverautomatic failover
14. 16
SkySQL Cloud Data Suite Sep 2012
Administration Console
Admin
Console
GUI to monitor theGUI to monitor the
status of thestatus of the
ClusterCluster
GUI to monitor theGUI to monitor the
status of thestatus of the
ClusterCluster
ExtendedExtended
Monitoring fromMonitoring from
MONyog as a trialMONyog as a trial
ExtendedExtended
Monitoring fromMonitoring from
MONyog as a trialMONyog as a trial
PhPMyAdmin asPhPMyAdmin as
graphical user toolgraphical user tool
PhPMyAdmin asPhPMyAdmin as
graphical user toolgraphical user tool
Backup/RestoreBackup/Restore
to/from S3 usingto/from S3 using
XtrabackupXtrabackup
Backup/RestoreBackup/Restore
to/from S3 usingto/from S3 using
XtrabackupXtrabackup
Start/Stop, Isolate,Start/Stop, Isolate,
Promote nodesPromote nodes
Start/Stop, Isolate,Start/Stop, Isolate,
Promote nodesPromote nodes
mysql commandmysql command
line interfaceline interface
mysql commandmysql command
line interfaceline interface
Automatic failover for theAutomatic failover for the
admin and monitoringadmin and monitoring
serversservers
Automatic failover for theAutomatic failover for the
admin and monitoringadmin and monitoring
serversservers
15. 17
SkySQL Cloud Data Suite Sep 2012
Replicator
Replicator
Standard MySQLStandard MySQL
Replication in asynchronousReplication in asynchronous
and semi-synchronousand semi-synchronous
modemode
Standard MySQLStandard MySQL
Replication in asynchronousReplication in asynchronous
and semi-synchronousand semi-synchronous
modemode
GlusterFS on ext4 to replicateGlusterFS on ext4 to replicate
the data collection andthe data collection and
monitoringmonitoring
GlusterFS on ext4 to replicateGlusterFS on ext4 to replicate
the data collection andthe data collection and
monitoringmonitoring
Automatic failover of databaseAutomatic failover of database
servers and consoleservers and console
componentscomponents
Automatic failover of databaseAutomatic failover of database
servers and consoleservers and console
componentscomponents
16. 18
SkySQL Data Suite Provisioning
AMI
userdata.sh
User Account
Variable definition - theyVariable definition - they
will be used later whenwill be used later when
other scripts are calledother scripts are called
Variable definition - theyVariable definition - they
will be used later whenwill be used later when
other scripts are calledother scripts are called
On-the-fly configurationOn-the-fly configuration
files, such as my.cnffiles, such as my.cnf
On-the-fly configurationOn-the-fly configuration
files, such as my.cnffiles, such as my.cnf
Execute predefinedExecute predefined
scripts already in thescripts already in the
AMIAMI
Execute predefinedExecute predefined
scripts already in thescripts already in the
AMIAMI
Adaptive, distributedAdaptive, distributed
setupsetup
Adaptive, distributedAdaptive, distributed
setupsetup
Elastic IP onElastic IP on
the Master Serverthe Master Server
Elastic IP onElastic IP on
the Master Serverthe Master Server
Currently, the AdministrationCurrently, the Administration
Console is on the Master serverConsole is on the Master server
Currently, the AdministrationCurrently, the Administration
Console is on the Master serverConsole is on the Master server
20. 22
Starting Here!
You can try it forYou can try it for
FREE! Even withoutFREE! Even without
anan
AWS accountAWS account
You can try it forYou can try it for
FREE! Even withoutFREE! Even without
anan
AWS accountAWS account
25. 27
Online Deployment
The keys will beThe keys will be
discarded immediatelydiscarded immediately
after the provisioningafter the provisioning
The keys will beThe keys will be
discarded immediatelydiscarded immediately
after the provisioningafter the provisioning
27. 29
Welcome Email
mysql command linemysql command linemysql command linemysql command line
Administration ConsoleAdministration ConsoleAdministration ConsoleAdministration Console
ssh connectionssh connectionssh connectionssh connection
How to remove SCDSHow to remove SCDSHow to remove SCDSHow to remove SCDS
An inventory of theAn inventory of the
AWS componentsAWS components
An inventory of theAn inventory of the
AWS componentsAWS components
IMPORTANT!IMPORTANT!
Your pem keyYour pem key
IMPORTANT!IMPORTANT!
Your pem keyYour pem key
46. 48
Why is the SkySQL Cloud Data Suite
important for you?
• You can test MariaDB/MySQL on AWS for FREE
• You can use and fully control a ready made
highly available solution AWS
• You can compare MySQL on EC2 and RDS
• You can study/review security and availability
aspects in AWS
• You can use some of the SCDS components in
your environment
47. 49
SkySQL Cloud Data Suite & OpenStack ?
• Nova, glance, swift, keystone, horizon,
quantum ceph
• Position for public/private/hybrid cloud
• Rackspace,HPcloud,VMware ...
CloudWatt, Numergy
• Our solution will be there
48. 50
Is not Amazon RDS enough for my needs ?
It is fully managed !
• Provisioning
• Patching
• Backup/ PointInTIme recovery
• Replicas
• HA / Failover
• monitoring
49. 51
Or maybe Google Cloud SQL ?
• New offer
• Similar to AWS RDS
• Rely on storage feature for
HA
• Fully managed
50. 52
Private/Hybrid cloud
Eucalyptus / VMware Vcloud
• They own a huge market share
• Eucalyptus is tied to Amazon / open core
• VMware is tied toVMware and fully closed
• Excellent solutions but ...
51. 53
For more information...
• Try the Configurator and How-ToVideo:
http://cloud.skysql.com
• The Admin Console:
http://www.skysql.com/downloads/community/skysql-console
• Forums:
https://www.skysql.com/forums/skysql-cloud-data-suite
• Web: https://www.skysql.com/cloud
• Bugs: http://bugs.skysql.com
• Try it! http://config.skysql.com
• Free SkySQL account available for testing
• Test on your account