Google Cloud SQL - Percona...Google Cloud Platform Confidential & Proprietary 16 Google Cloud SQL A...

Post on 22-May-2020

33 views 0 download

Transcript of Google Cloud SQL - Percona...Google Cloud Platform Confidential & Proprietary 16 Google Cloud SQL A...

Pravin PillaiBig Data Go To Market Lead

Google Cloud SQLMySQL in the Cloud

Agenda Slide

01

02

03

04

Google Cloud Platform Overview

Introduction to Google Cloud SQL

Cloud SQL Demo

Best practices

01 Google Cloud Platform Build What’s Next

Organize the world’s information and make it universally accessible and useful.

Google’s Mission

4

Confidential & Proprietary

Data is Everything.

Confidential & ProprietaryGoogle Cloud Platform 5

Companies win or lose based on how they use it.

Confidential & ProprietaryGoogle Cloud Platform 6

Now

1st WaveColocation

2nd WaveVirtualized

Datacenters

User Managed, User Configured, User Maintained

Next

Elastic ServicesAuto Everything

Confidential & ProprietaryGoogle Cloud Platform 7

Complexities of Big Data ProcessingProgramming

Resource provisioning

Performance tuning

Monitoring

ReliabilityDeployment & configuration

Handling growing scale

Utilization improvements

Time to Understanding

Typical Big Data Processing

Confidential & ProprietaryGoogle Cloud Platform 8

Spend Time on ‘What’ not ‘How’

Time to Understanding

Big Data Processing with Google Cloud Platform

Programming

More time to dig into your data

1 Billion Users

Google Cloud Platform 10

FoundationInfrastructure & Operations

Data Services

Application Runtime Services

Enabling No-Touch Operations

Breakthrough Insights, Breakthrough Applications

The Gear that Powers Google

Confidential & ProprietaryGoogle Cloud Platform 11

15+ Years of Tackling Big Data Problems

Google Papers

20082002 2004 2006 2010 2012 2014 2015

GFS MapReduce

Flume Java

OpenSource

2005

GoogleCloudProducts

BigTable Dremel PubSub Millwheel TensorflowSpanner

2016

Confidential & ProprietaryGoogle Cloud Platform 12

10+ Years of Tackling Big Data Problems

Google Papers

20082002 2004 2006 2010 2012 2014 2015

GFS MapReduce

Flume Java

OpenSource

2005

GoogleCloudProducts

BigTable Dremel PubSub Millwheel TensorflowSpanner

2016

Confidential & ProprietaryGoogle Cloud Platform 13

10+ Years of Tackling Big Data Problems

Google Papers

20082002 2004 2006 2010 2012 2014 2015

GFS MapReduce

Flume Java

OpenSource

2005

GoogleCloudProducts BigQuery Pub/Sub Dataflow Bigtable

BigTable Dremel PubSub Millwheel TensorflowSpanner

ML

2016

Spanner

Confidential & ProprietaryGoogle Cloud Platform 14

Google Cloud Data Platform

Exploration & CollaborationDatabases Storage

Data Processing &

IngestionAnalytics

Advanced Analytics & Intelligence

Mobile apps

Sensors and devices

Web apps

Developers

Data scientists

Business analystsCloud SQL

Cloud Bigtable

Cloud Datastore Cloud Storage

Cloud Dataflow

Cloud Pub/Sub

Cloud Dataproc

Google BigQuery

Cloud Datalab

Google Analytics 360

Google BigQuery

Cloud Machine Learning

Translate API

Vision API

Speech API

Google Analytics 360

Cloud Dataproc

Google Drive

02 Google Cloud SQL MySQL in the Cloud

Confidential & ProprietaryGoogle Cloud Platform 16

Google Cloud SQL

A fully-managed database service that makes is easy to set-up, maintain, manage, and administer your relational MySQL databases in the cloud.

Confidential & ProprietaryGoogle Cloud Platform 17

Self Hosted Databases

Power, HVAC, net

Rack & Stack

Server Maintenance

OS Installation

OS Patches

DB s/w installs

DB s/w patches

Database backups

High Availability

Scaling

App Optimization

Your responsibilities range from infrastructure set up to database and application optimization

Would you rather spend time on delighting your customers or managing servers?

Confidential & ProprietaryGoogle Cloud Platform 18

Confidential & ProprietaryGoogle Cloud Platform 19

Fully Managed Database Service

Power, HVAC, net

Rack & Stack

Server Maintenance

OS Installation

OS Patches

DB s/w installs

DB s/w patches

Database backups

High Availability

Scaling

App Optimization

Focus on your application Google Cloud SQL

Confidential & ProprietaryGoogle Cloud Platform 20

“We do not have IT people at all. We actually have zero systems in IT and zero administrators who manage servers in Cloud SQL”

- Mani Doraisamy, Co-Founder and CTO, OrangeScope

Key Benefits of Cloud SQL

22

● Cloud SQL offers standard MySQL databases (5.6 and 5.7).

● Easily port existing applications to use Google Cloud SQL

● Use standard connection drivers and built-in migration tools to get started quickly.

MySQL Compatibility

23

● Easy to use with no manual software installation, patches, data backup or maintenance.

● Integrated monitoring and alerts.

● Greater than 99.95% availability

Simple and Fully Managed

24

● Designed for performance-intensive workloads.

● Easily scale up to 16 processor cores and more than 100GB of RAM.

● Create databases up to 10TB in size.

Performance & Scale

25

● Automatic data encryption at rest and in transit.

● User controlled network access with firewall protection.

● Cloud SQL is SSAE 16, ISO 27001, PCI DSS v3.0, and HIPAA compliant.

Security & Compliance

26

● Easily create backups and read replicas for your database.

● Automatic failover ensures your database will be available when you need it.

● Available point-in-time recovery.

Reliability & Availability

27

● Easily connect from App Engine, Compute Engine, or your workstation.

● Manage your Cloud SQL databases through the GCP Console, Command Line Tool, or APIs.

● Integrated monitoring and metrics

Full Integration

28

● Leverage GCP partners○ streamline data loading○ simplify migration○ create rich visualizations○ monitor or manage your databases.

Partnerships

29

● No Lock-in or up-front commitment!

● Cloud SQL offers you pay-per-minute billing, automatic sustained use discounts.

● Choose from multiple available instance tiers to best match your workload needs.

Pay Per Use

Confidential & ProprietaryGoogle Cloud Platform 30

“We're excited about the flexibility Cloud SQL

brings to support quick development cycles that

foster innovation, while scaling easily when

required.”

- James Donkin, General Manager, Ocado

Confidential & ProprietaryGoogle Cloud Platform 31

Application Use cases Example customer

Websites Corporate websites for internal employees. Public-facing websites. Popular with blog and CMS software, such as Wordpress.

Operational applications

ERP, CRM, eCommerce

SaaS platforms Custom applications targeting specific workflows or verticals

Business intelligence Ad-hoc queries, report, and chart creation using tools, such as Tableau

Sample Cloud SQL Customers

Confidential & ProprietaryGoogle Cloud Platform 32

Google Cloud SQL Recent Launches

HDD Support

Storage auto-grow

Point in time recovery

On demand backups

SLA September: General Availability

Demo: Setting up and managing databases using Google Cloud SQL

04 Best Practices

Confidential & ProprietaryGoogle Cloud Platform 35

Scale your database for performance

Scale your database IOPS by adjusting VM types and Persistent Disk volumes

● Scale up to 15,000 IOPS● Use the built-in IOPS calculator in the Cloud SQL

console to determine available IOPS for different VM types and Persistent Disk combinations

Pro Tip: Storage scaling requires no downtime of your Cloud SQL database. Adjust your Persistent Disk setting to increase storage and available IOPS without impacting your database availability.

Confidential & ProprietaryGoogle Cloud Platform 36

Configure High Availability

● Configure Master node● Configure Slave node● Set up users and access control● Create data snapshot● Set up replication with new master and slave nodes● Set up replication of existing data● Set up master configuration on the slave node to

prepare for fail over● …● …● ...

Do it yourself High Availability on Cloud SQL

Pro Tip: Create failover replicas for production databases. Failover replicas are billed as a separate instance.

Confidential & ProprietaryGoogle Cloud Platform 37

Use Read Replicas

Use Read Replicas to offload read operations from the master database instance.

● Reduce read capacity for applications dominated by reads

● Offload analytics and prevent interference with transactional database

● Simplify migration path to external MySQL database instances

Pro Tip: Failover replica acts as a Read Replica.

Master Replica

App Server

Reads/Writes

Reads

Confidential & ProprietaryGoogle Cloud Platform 38

Manage Maintenance Windows

● Choose Maintenance windows that fit your application usage scenarios. Instance will automatically shut down and restart during maintenance window to apply updates.

● Use Release Channels to classify non-production vs. production database instances.

Pro Tip: Assign non-production instances to “Preview” channel to test updates before rolling them out to production instances which are assigned to “Production” channel.

Confidential & ProprietaryGoogle Cloud Platform 39

Try Google Cloud SQL for Free

Google Cloud Platform Free Trial

Thank Youpravinpillai@