Post on 25-Jan-2017
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Olivier DasiniMySQL Principal Solutions Architect EMEAolivier.dasini@oracle.com@freshdaz
Introducing
Oracle MySQL Cloud Service
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
2
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Cloud Computing
• Software as a Service (SaaS)● Use the provider’s applications running on a cloud infrastructure
● Enterprise Resource Planning, Customer Experience, Human Capital Management, …
● https://cloud.oracle.com/en_US/saas
• Platform as a Service (PaaS) ● Deploy onto the cloud infrastructure consumer-created or acquired applications
created using programming languages, libraries, services, and tools supported by the provider
● MySQL (DBaaS), Database Backup, Java, …
● https://cloud.oracle.com/en_US/paas
• Infrastructure as a Service (IaaS)● Provision processing, storage, networks, and other fundamental computing resources where
the consumer is able to deploy and run arbitrary software, which can include operating systems and applications.
● Elastic Compute, Storage, Network, Bare Metal Cloud Services, …
● https://cloud.oracle.com/en_US/iaas
Service models
https://en.wikipedia.org/wiki/Cloud_computing
Credit: https://commons.wikimedia.org/wiki/File:Cloud_computing_layers.png
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Why Cloud Computing?
• Many reasons :)
• I want to emphasize 3 of them
4
• Automation– Provisioning, Backup, Upgraded simplified
– Flexibility / scale up/down
– More time to focus on business
– Rapid Go-To market / Fail fast
Through the eyes of a DBA
• Infrastructure– Costs Scalling with Growth
– Less need to invest and maintain costly physical equipment.
– Don’t need lots of upfront cash
– Less IT required
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Why Cloud Computing? (contd.)
5
Through the eyes of a DBA
• Security
– Oracle Cloud is secure by default
– MySQL Cloud Service provide Enterprise-class features
• Protection
– MySQL Enterprise Firewall : guards against cyber security threats by providing real-time protection
– Network Access Control : manage and restrict connection to MySQL
• Authentication
– MySQL Enterprise Authentication provides ready-to-use authentication modules to easily integrate with your existing security infrastructures
– By authenticating MySQL users from centralized directories, your organization can use Single Sign-On.
• Encryption
– To protect your sensitive data throughout its life cycle, MySQL Enterprise Encryption provides industry-standard functionality for asymmetric encryption.
– MySQL Enterprise Transparent Data Encryption provides data-at-rest encryption and secure key management.
• Auditing
– MySQL Enterprise Audit lets you quickly and seamlessly add policy-based auditing compliance to existing applications.
– You can implement stronger security controls and easily satisfy regulatory compliance.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Deploying MySQL in the Cloud
• Security & Regulatory Compliance?
• Cloud Service Backed by the MySQL Engineering Team?
• Expert MySQL Technical Support?
• Moving Workloads between On-premises and the Cloud?
• Hybrid Deployments?
• Integration with Oracle Environment?
• Cost of Operations?
#1 Open Source DB in the Cloud: Various Options, BUT Many Questions...
11
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle MySQL Cloud Service
12
The World’s Most Popular Open Source Database in the Oracle Cloud
Oracle MySQL Cloud Service enables you to rapidly, securely and cost-effectively develop & deploy modern applications powered by the World’s Most Popular Open Source Database
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Simple– Quickly provision MySQL database
instances with only a few clicks
• Automated– Database management made easy with
tools that automate administrative tasks
• Integrated– Integrated with Oracle Cloud Services for
quick development and deployment
• Enterprise Ready– Oracle’s proven MySQL Enterprise Edition
for performance, security & uptime
13
+
MySQL Cloud Service Offering
MySQL Enterprise Edition
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Edition
• MySQL Enterprise TDE
– Data-at-Rest Encryption
– Key Management / Security
• MySQL Enterprise Encryption
– Public/Private Key Cryptography
– Asymmetric Encryption
– Digital Signatures, Data Validation
• MySQL Enterprise Firewall
– Block SQL Injection Attacks
– Intrusion Detection
• MySQL Enterprise Audit
– User Activity Auditing, Regulatory Compliance
14
• MySQL Enterprise Monitor
– Changes in Database Configurations, Users Permissions, Database Schema, Passwords
• MySQL Enterprise Backup
– Securing Backups, AES 256 encryption
• MySQL Enterprise Authentication
– External Authentication Modules
– Microsoft AD, Linux PAMs
• MySQL Thread Pool
– Improve performance on high concurrency workloads
More information available at : http://www.mysql.com/products/enterprise/
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Highest Levels of Security Scalability & Availability Expert MySQL Technical Support
Integration into Oracle Cloud Environment
Hybrid deployments across cloud & on-premises Lower TCO
15
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• Increase Business Agility: Focus your resources on innovation and rapidly deliver new modern applications.
• Ensure Security, Performance & Uptime: relying on the most comprehensive MySQL cloud platform – straight from the source .
• Reduce Total Cost of Ownership: Saving on infrastructure and database management operations costs while improving uptime.
MySQL Cloud Service: Business Benefits
16
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud ServiceOverview
17
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 1818
MySQL Cloud Service: Product Overview
* Will be available in future releases
PaaS
Compute
Oracle Premier Support
Compute, Storage, Network
MySQL Enterprise Edition
Database Administration
Database Administration
Automated ProvisioningAutomated Provisioning
Push Button Patching
Push Button Patching
1-Click Instance
Management
1-Click Instance
Management
Enterprise MonitoringEnterprise Monitoring
Backup & RecoveryBackup & Recovery
Automated Backup
Automated Backup
Point-in-time Recovery
Point-in-time Recovery
On-demand Snapshot
On-demand Snapshot
ScalabilityScalability
Elastic Compute
Elastic Compute
Elastic StorageElastic Storage
Enterprise Thread PoolEnterprise
Thread Pool
Elastic Replication*
Elastic Replication*
High Availability
High Availability
ReplicationReplication
Replication Monitor
Replication Monitor
Multi-AD Support*Multi-AD Support*
SecuritySecurity
Network Access Control
Network Access Control
Enterprise Firewall
Enterprise Firewall
Enterprise Authentication
Enterprise Authentication
Enterprise Encryption &
TDE*
Enterprise Encryption &
TDE*
Enterprise Audit
Enterprise Audit
Management Access
DataAccess
CLI
Oracle Cloud Console
MySQL Tools
On-premiseApplicationsREST API
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service – Database Administration
19
Simple Management Tools Automate Administrative Tasks
Database Administration
Automated Provisioning
Push Button Patching
1-Click Instance
Management
Enterprise Monitor
• Automated Provisioning creates pre-configured MySQL databases optimized for the chosen instances in minutes
• Push Button Patching allows administrators to easily test,
apply and rollback patches
• 1-Click Instance Management controls MySQL instances using Oracle Cloud Console with simple 1-click buttons
• MySQL Enterprise Monitor provides real-time visibility into the performance and availability of your database instances
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service – Backup & Recovery
20
Enterprise-grade Backup and Recovery Protects Against Data Loss
• Automated Backup delivers hot, online, non-blocking backup with compression and high performance, allowing administrators to adjust retention periods and backup windows
• Point-in-time Recovery recovers MySQL database instances
at chosen dates and time
• On-demand Snapshot allows user-initiated full backup
Backup & Recovery
Automated Backup
Point-in-time Recovery
On-demand Snapshot
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service - Scalability
21
Scale MySQL Instances to Meet Your Varying Workloads
Scalability
Elastic Compute
Elastic Storage
Enterprise Thread Pool
Elastic Replication*
• Elastic Compute scales up or down the compute resources as needed
• Elastic Storage increases block storage for your MySQL
instance when the amount of data grows
• MySQL Enterprise Thread Pool scales MySQL thread counts as workload and client connections change
• Elastic Replication automates adding or removing replicated MySQL instances, distributing workloads dynamically based on demands
* Will be available in future releases
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service – High Availability
22
A Cost-Effective High Availability Solution for Business Critical Applications
High Availability
Replication
Replication Monitor
Multi-AD Support*
• Replication provides flexible topologies for high availability
• Replication Monitor offers visibility into the performance, availability and health of all MySQL Masters and Slaves
• Multi-AD Support replicates MySQL instances across different availability domains
* Will be available in future releases
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service - Security
23
Multi-layered Security Protects Your Data At Rest and In Transfer
Security
Network Access Control
Enterprise Firewall
Enterprise Authentication
Enterprise Encryption +
TDE*
Enterprise Audit
• Network Access Control provides the flexibility to restrict connections to the MySQL instances
• MySQL Enterprise Firewall guards against cyber security threats by providing real-time protection against database specific attacks
• MySQL Enterprise Authentication authenticates MySQL users by leveraging your existing directory services and security rules
• MySQL Enterprise Encryption protects sensitive data stored in MySQL, backups, or during transfer. MySQL Enterprise Transparent Data Encryption provides data at rest encryption and secure key management.
• MySQL Enterprise Audit provides detailed audit trail to track MySQL access and usage
* Will be available in future releases
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service – Data Access
24
Access MySQL from Pre-Integrated Oracle Cloud Services or On-Premise Applications
PaaS
Compute
On-premiseApplications
• Pre-integrated with Oracle PaaS Offerings such as Java Cloud Service and Application Container Cloud Service enables fast and seamless application development
• Support standard-based drivers for JDBC, ODBC, .NET, PHP, Python and other languages for any Pre-built or Custom Applications on Oracle Public Cloud or Existing On-Premise Applications
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service – Management Access
25
Multiple Options to Improve Productivity
CLI
REST API
Oracle Cloud Console
MySQL Tools
• Oracle Cloud Console - A web-based console for managing all of your Oracle Cloud Services
• MySQL Enterprise Edition Management Tools - Use familiar tools such as MySQL Enterprise Monitor and MySQL Workbench to manage and monitor performance and availability of all your MySQL instances
• Oracle Enterprise Manager – Manage your entire Oracle environment through a ”single pane of glass”
• Host Access via SSH – Administrative access to the underlying virtual machine allows full control of the instance
• REST API – Simple API for managing MySQL instances programmatically
• CLI – Easy to use command line for script-savvy administrators
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Premier Support for MySQL + Oracle Cloud Support
• Largest MySQL engineering and support organization
• Backed by the MySQL developers
• World-class support, in 29 languages
• Hot fixes & maintenance releases
• 24x7x365
• Unlimited incidents
• Consultative support
• Global scale and reach
• Oracle Cloud SupportGet immediate help for any
MySQL & Oracle Cloud issues, plus expert advice
Get immediate help for any MySQL & Oracle Cloud
issues, plus expert advice
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 27
MySQL Cloud Service: Only From Oracle• Oracle’s Proven MySQL Enterprise Edition on Oracle Cloud– MySQL Enterprise Edition reduces the risk, cost and time to develop, deploy and manage MySQL
applications– Advanced features to achieve the highest levels of MySQL performance, security & uptime– Seamlessly integrated with Oracle Cloud, providing a highly available, scalable, and secure database
service
• Tight Integration with Oracle’s Platform-as-a-Service Offerings– Pre-integrated with Oracle’s PaaS offerings such as Java Cloud Service and Application Container Cloud
Service for quick application development and deployment
• Enterprise Grade Tools– Easy to use management tools for managing both Cloud and Hybrid environments– Best-in Class MySQL management tools, developed by the MySQL Engineering team– Unified Management with Oracle Enterprise Manager: Save time & avoid cloud silos
• Expert MySQL Technical Support– Provided by the Experts, straight from the source– Backed by the MySQL Engineering Team– Single point of contact for support across your entire cloud infrastructure
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 28
New “Born in the Cloud” MySQL Applications
Build new apps relying on the #1 Open Source DB, on Oracle’s enterprise-class cloud
Lift & Shift: Migrate Existing MySQL Applications
Migrate from on-premises or other 3rd party clouds to ensure security, flexibility & optimize management
Hybrid Cloud Deployments
• Easily move workloads between on prem & cloud, using the same DB platform
• Portability for Multi-tier architectures (e.g. deployed across both the cloud & on-premises)
Dev/Test
• Spin up database instances in minutes
• Tear down when not needed
MySQL Cloud Service: Recommended Use Cases
New Apps
SaaS Apps powered by MySQL
SaaS Applications powered by Oracle’s MySQL Cloud Service for global scalability
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud ServiceUnder the hood
29
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service Deep Dive
• Database as a Service (PaaS / DBaaS)
• MySQL with the annoying bits managed for you
– Backup
– Patches
– Monitoring
– etc.
30
• Powered by MySQL Enterprise 5.7
• Same software used on Cloud as on premise
– You'll be able to migrate workloads in both directions
• Optimized configuration
– In my.cnf file
– In compute and storage
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Under the Hood
Optimized Configuration of MySQL
• InnoDB IO Configuration optimized– Number of IO threads– O_DIRECT– Redo log size and buffer– Plus more...
• Thread Pool enable by default
• Memory optimized to compute shape– Buffer Pool
• Plus more...
31
Optimized Compute and Storage
• Oracle Linux 6– Ext4 Filesystem
• Storage is powered by ZFS Appliances
• Optimized for latency– Binary logs– Redo Logs
• Optimized for throughput– Data files
• GTIDs Enable by default
• UTF8 by default
• Event Scheduler Enabled
• Physically Separate Undo Log– With automatic truncation enable
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Create a MySQL instance
32
3/ Instance created
1/ Create an instance
2/ Provisioning
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Backup
• Powered by MySQL Enterprise Backup
• Fully Managed– On Demand– Scheduled– Incremental
• Default– Weekly full backup– Daily incremental backup– 30 day retention (in Cloud Storage)– 7 day retention (locally)
• Access to Raw Backup Files
33
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Backup
34
Configure Backups
PITR
Backups information
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
User Initiated Patching
35
• Time maintenance to opportune time
• Click of a Button
• Delay upgrade if desired– Very occasionally patches need to change behavior– Security being example
• Automatic backup before patching
• Rollback option if required
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
User Initiated Patching
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Moving Data In and outSSH Access
Oracle Public Cloud Exclusive Feature
• Log into your MySQL Cloud Service instance
• Works well with MySQL Workbench
– SSH Tunnel direct from Workbench to Cloud Service
– Port 3306 does not need to be exposed
37
MySQL Root Access
• Connect via Command line or Workbench
• Perform administration tasks as MySQL root:
– Set offline mode, read only
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Scaling Up / Down
38
1.
2.
3.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Replication
39
• Binary log already enabled
– Service already fully configured to be a master
– Binary log defaults to 90 day retention
• Can replicate to/from on premise
– Restricted only by firewall rules
• Can replicate to other instances of MySQL Cloud Services
• Not automated so far
• Can be monitored with MEM
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle MySQL Cloud Service
The World’s Most Popular Open Source Database in the Oracle Cloud for Your Enterprise Needs
Rapidly, Securely and Cost-effectively Develop & Deploy Modern Applications & Drive Digital Transformation
Learn more & Get Started Today! Cloud.oracle.com/mysql
40
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
Thank you!