MariaDB on Azure - Bad Homburg 2016 Roadshow

22
Bruno Šimić System Engineer MariaDB Corporation Andreas Urban Leiter Open Source Business Microsoft Deutschland GmbH Running MariaDB on Microsoft Azure

Transcript of MariaDB on Azure - Bad Homburg 2016 Roadshow

Page 1: MariaDB on Azure - Bad Homburg 2016 Roadshow

Bruno Šimić System Engineer MariaDB Corporation

Andreas UrbanLeiter Open Source Business Microsoft Deutschland GmbH

Running MariaDB on

Microsoft Azure

Page 2: MariaDB on Azure - Bad Homburg 2016 Roadshow

Microsoft + Open Source MomentumSQL Server on Linux (Preview today, GAin mid-2017)

Red Hat - MicrosoftPartnership (Nov 2015)

Microsoft joins EclipseFoundation (Mar 2016).

HD Insight PaaS onLinux GA (Sep 2015)

Run Linux on Windows natively

(March 2016)WindowsSubsystemfor Linux C:\Users\raachaer>

root@localhost: #

bash

Azure Marketplace 60% of all images inAzure Marketplaceare based onLinux/OSS

In partnership with the LinuxFoundation, Microsoft releases theMicrosoft Certified Solutions Associate(MCSA) Linux on Azure certification.

Ross Gardler: President ApacheSoftware Foundation

Wim Coekaerts: Oracle’s Mr Linux

MicrosoftEmployees

1 out of 4 31 out of 4 VMs on Azure runsLinux, and getting larger everyday• 28.9% of All VMs are Linux • >50% of new VMs

Page 3: MariaDB on Azure - Bad Homburg 2016 Roadshow

Why Azure?Global investment >100 DCs in 40 countries/30 regions

> 1 Mio Server

> 15 B$ investment in infrastructure

Leader in cloud Magic Quadrants:

3

Microsoft

Public Cloud IaaS (May 2015) Cloud Storage (June 2015) Enterprise App PaaS (Mar 2016)

https://azure.microsoft.com/en-us/case-studies/https://azure.microsoft.com/en-us/blog/microsoft-the-only-vendor-named-a-leader-in-gartner-magic-quadrants-for-iaas-application-paas-cloud-storage-and-hybrid/https://azure.microsoft.com/en-us/blog/microsoft-azure-named-a-leader-in-gartner-s-enterprise-application-platform-as-a-service-magic-quadrant-for-the-third-consecutive-year/

Microsoft

Microsoft

Page 4: MariaDB on Azure - Bad Homburg 2016 Roadshow

CentralUSIowa

West USCalifornia

East USVirginia

US GovVirginia

North Central USIllinois

US GovIowa

South Central USTexas

Brazil SouthSao Paulo

State

WestEuropeNetherlands

China North*Beijing

China EastShanghai

Japan EastTokyo,

Saitama

Japan WestOsaka

IndiaSouthChennai

East AsiaHong Kong

SE AsiaSingapor

e

Australia South EastVictoria

Australia EastNew South Wales

IndiaCentralPune

CanadaEastQuebec City

Canada CentralToronto

India WestMumbai

Germany NortheastMagdeburg

GermanyCentralFrankfurt

United KingdomRegions

North EuropeIreland

East US 2Virginia

Deutschland: Eine neue Microsoft Data Center-Region

Neue Microsoft DataCenter-Region 2016:Deutschland

Verfügbar für alleEU/EFTA-Kunden

Mit der neuen deutschen Cloud ermöglicht Microsoft seinen Kundenund Partnern die Speicherung von Kundendaten in zwei deutschenRechenzentren an den Standorten Frankfurt am Main und Magdeburg. Die Rechenzentren zeichnen sich durch die folgenden Merkmale aus:

• Gemäß weltweit gültigen Kriterien für die kommerzielle Microsoft-Cloud ausgewählt• Mitarbeiter des Datentreuhänders und von Microsoft sind an die strengen

Anforderungen von Microsoft bezüglich des Betrieb von Rechenzentren gebunden• Rechenzentren können entweder im Besitz von Microsoft oder angemietet sein

Microsoft Data Center-Regionen folgen global definierten Standard

IT Server & Speicher erfüllen Microsoft-Vorgaben

Betrieb Überwachung & Sicherheit

Produkte Office 365, Microsoft Azure, Microsoft Dynamics

SicherheitBarrieren, Zäune, Alarmanlagen, gesichertesBetriebszentrum

Kühlung Chillers Air Handling

Strom Primäre USV-Anlage (Generator)

4

AngekündigtIn BetriebIn Betrieb

Globale Investition

Über 100 Rechenzentren in 40 Ländern,

30 RegionenÜber 1 Mio. Server Über $15 Mrd. Investition in Infrastruktur

www.microsoft.com/datacenters

Page 5: MariaDB on Azure - Bad Homburg 2016 Roadshow

Microsoft Azure – An open Cloud

Dozens of .NET & PHP CMS and Web applications

Bring your own

Via HTMl/JS, cross-platform and native

OSS Ecosystem Provided

Languages, DevTools & AppContainers

CMS & Apps

Devices/MBaaS

Data

Management

MS Integrated

Operating systems

Red Hat, UbuntuSUSE, OpenSUSE,

OpenLogic CentOS-basedOracle Linux, CoreOS

Bring

your own

libcloud

jclouds

DocDB

DataStax

Page 6: MariaDB on Azure - Bad Homburg 2016 Roadshow

Cloud Services

WorkerRoles

WorkerRoles

Web Roles

Application

OSS Deployments on Microsoft Azure

Virtual Machines

Benutzerdefiniert

VMs

Gallery

VHDsVHDs

Infrastructure as a Service (IaaS)

Platform as a Service (PaaS)

Azure Web Sites /Apps

IIS

Application

Application

Application

IIS Application

Platform as aService (PaaS)

Aus VM Depot

FTP

Page 7: MariaDB on Azure - Bad Homburg 2016 Roadshow

2

Our Open Source Strategy

• Meet where customers are

• Deliver the most produc�ve andtrustworthy cloud services pla�ormthat enables developers using anyframework on any device or OS tocreate and power the world's apps andservices that run anywhere

• Best cloud pla�orm for partners tosucceed

Page 8: MariaDB on Azure - Bad Homburg 2016 Roadshow

OPERATING SYSTEM / FILE SYSTEM / SAN / CLOUD

MariaDB Mul-Master Cluster

Replicas

Supporng

Asynchronous,

Semi-Sync, and

Synchronous

replicaon

MariaD

BMariaD

BMariaDB

Applica�on

CONNECTORS C JDBC ODBC

STORAGE LAYER EXTENSIBILITY

KERNEL EXTENSIBILITY

KERNEL

SQL Parser Op�miser

Cache/Bu0er

Connec�on Pool

Locking

REPLICATION

BinLog API

Parallel Slave

GTID

Mul�-Source

Transaconal In-Memory

...

NoSQL /

InteroperabilityScalability

CONNECTMyROCKSCassandra

OQGraphSphinx

Mroonga

SpiderTokuDB

ColumnStoreScaleDB

AnalycsGraph & Search

MariaDB MaxScale

MariaDB Enterprise

Authen�ca�on

AWS KMS

Audit

PAM

Handler Socket Etc. 40+ Plugins

PRODUCTION PLUG-INS

Original Core MariaDB

MariaDB Engineering

Community Contribu�on

MyISAM

Memory

Aria

InnoDB

XtraDB

SQLNoSQL

CRUD API

MariaDB Architecture

3

Page 9: MariaDB on Azure - Bad Homburg 2016 Roadshow

High Availability Background

High Availability isn’t always the same as long Upme• A system is “up” but might s�ll not be accessible• A system that is “down” just once, but for a long �me, isn’t highly available

High Availability rather means• Long Mean Time Between Failures (MTBF)• Short Mean Time To Recover (MTTR)

High availability is a system design protocol and associatedimplementa�on that ensures a certain degree of opera�onalcon�nuity during a given measurement period.

4

Page 10: MariaDB on Azure - Bad Homburg 2016 Roadshow

5

7 Reasons Why MariaDB Enterprise Cluster on Azure

1. Get greater scalability with the increased elas�city of the Azure cloud

2. Improve BCDR by moving data to the cloud

3. Go live fast with your dev/test environment

4. Quickly develop new data-driven, mission-cri�cal applica�ons

5. Decrease total cost of ownership with open source and no lock-in

6. Get greater control over your data infrastructure without lock-in

7. BeneIt from and contribute to the innova�on of a vast and vibrantcommunity

Page 11: MariaDB on Azure - Bad Homburg 2016 Roadshow

6

Any app, language, device or OS works with Azure

Applica�ons

Clients

Infrastructure

Management

Databases &Middleware

App Frameworks& Tools

DevOps

PaaS &DevOps

Page 12: MariaDB on Azure - Bad Homburg 2016 Roadshow

MariaDB Enterprise HA Cluster™

Enterprise-Grade RDBMS ▪ Based on MariaDB open source

project▪ Op�mized binaries▪ Advanced, mul�-master ▪ clustering ▪ Produc�vity tools▪ Integrated 3rd party plugins

MaxScale™ Intelligent Gateway

▪ Applica�on-to-Database Gateway

insulates applica�ons from backend

database cluster complexity▪ Database-to-Database Gateway

simpliIes interoperability across

databases

Expert Resources and Services▪ 24x7 support for demanding produc�on applica�ons▪ Customer Portal▪ Op�onal Consul�ng, Training, and Remote DBA services

7

Page 13: MariaDB on Azure - Bad Homburg 2016 Roadshow

Applicaon-to-Database Gateway Insulates client applica�ons from the

complexi�es of backend database cluster

Database-to-Database Gateway

SimpliIes interoperability across

databases

Secure

Your Data

Scale for

GrowthManageability

Ensure

Availability

MariaDB MaxScale™ Intelligent Gateway

8

Page 14: MariaDB on Azure - Bad Homburg 2016 Roadshow

▪ Deploy MariaDB to the public cloud easily in minutes ▪ Protect your business with security at every layer▪ Meet service level objec�ves with high availability ▪ Get MariaDB’s expert support and services with the

convenience of the Azure pla�orm▪ Quickly gain elas�city and scale for your database ▪ Use the next-genera�on SQL-based technology your

team already knows

“MariaDB…has delivered

the product and the rapid

deployment capability to

make building hybrid

environments easier for

customers.”

- 451 Research

Advantages of MariaDB Enterprise Cluster on Azure

9

Page 15: MariaDB on Azure - Bad Homburg 2016 Roadshow

▪ 3 MariaDB Enterprise Cluster nodes• Data node VMs: D2/DS2 & up• Up to 8 cores & 56GB memory each• Op�onal SSD storage

▪ 2 MaxScale nodes: handle switchover/failover between backend MDBEC data nodes▪ Choose public-facing DNS/IP access or internal-only Azure virtual network access▪ Azure load balancer handles switchover/failover between MaxScale nodes

Setup MariaDB Enterprise Cluster on Azure

10

Page 16: MariaDB on Azure - Bad Homburg 2016 Roadshow

MaxScale Routers▪ Read/Write Split

○ Automa�cally classiIes read-only andwrite queries

○ Write queries go to a single backend“master” node to avoid conQicts

▪ Read & Write Connec�on Routers○ ConIgure your applica�on to send all

write queries to one service & readqueries to the other

○ MaxScale will automa�cally choose abackend node to receive all writes

○ MaxScale will balance reads acrossbackend nodes

MariaDBMaxScale

* ssh to MaxScale via public load balancer* access cluster from MaxScale via public load balancer, or

via internal load balancer

MariaDBEnterprise

Cluster

VNET

resource group

db availability setmax availability

set

Reference Architecture

11

MariaDB Enterprise Cluster on Azure

Page 17: MariaDB on Azure - Bad Homburg 2016 Roadshow

MariaDB Enterprise Cluster in Azure is “Bring Your Own License”: 1. Purchase subscription from MariaDB and get download token

2. Deploy on Azure in minutes using simple configuration process

GO! Operate confidently with support from MariaDB experts

Easy as 1-2-Go!

Get started on the Azure Marketplace12

Page 18: MariaDB on Azure - Bad Homburg 2016 Roadshow

13

Demo: MariaDB cluster deployment from Marketplace

hUps://azure.microsoV.com/en-us/marketplace/partners/mariadb/cluster-maxscale/

Page 19: MariaDB on Azure - Bad Homburg 2016 Roadshow

Resources

1. Evaluaon Deployments or POCs• Free evaluation download token available from MariaDB.com My Portal

2. Development licenses• Lower-cost developer SKU for development, test, demo and user acceptance testing on

Azure • Available with limited support

3. Step-by-step instrucons to obtain a download token and get started

4. MariaDB Enterprise Cluster in Azure quick guide

5. Customer Tutorial video

14

Page 20: MariaDB on Azure - Bad Homburg 2016 Roadshow

Open

SourceEnterprise-Grade Extensible

Page 21: MariaDB on Azure - Bad Homburg 2016 Roadshow

1

6

Q&A

Page 22: MariaDB on Azure - Bad Homburg 2016 Roadshow

Vielen Dank!Bruno Šimić

Solu�ons [email protected]