Deploying Database clusters in the Cloud



Similar documents
Avoiding Pain Running MySQL in the Cloud

High-Availability in the Cloud Architectural Best Practices

Using ArcGIS for Server in the Amazon Cloud

Amazon Elastic Beanstalk

Agenda. - Introduction to Amazon s Cloud - How ArcGIS users adopt Amazon s Cloud - Why ArcGIS users adopt Amazon s Cloud - Examples

Using ArcGIS for Server in the Amazon Cloud

Real Time Big Data Processing

Amazon Web Services Yu Xiao

Scalable Architecture on Amazon AWS Cloud

Cloud Computing with Amazon Web Services and the DevOps Methodology.

Future-Proofing MySQL for the Worldwide Data Revolution

MANAGE YOUR AMAZON AWS ASSETS USING BOTO

What is Cloud Computing? Why call it Cloud Computing?

Scaling in the Cloud with AWS. By: Eli White (CTO & mojolive) eliw.com - mojolive.com

Build Your Own Performance Test Lab in the Cloud. Leslie Segal Testware Associate, Inc.

Drupal in the Cloud. Scaling with Drupal and Amazon Web Services. Northern Virginia Drupal Meetup

TECHNOLOGY WHITE PAPER Jun 2012

Solving Large-Scale Database Administration with Tungsten

Cloud Computing. A new kind of developers? Presentation by. Nick Barcet nick.barcet@canonical.com

MySQL Comes of Age. Robert Hodges Sr. Staff Engineer Percona Live London November 4, VMware Inc. All rights reserved.

High Performance MySQL Choices in Amazon Web Services: Beyond RDS. Andrew Shieh, SmugMug Operations smugmug.

Description of Application

TECHNOLOGY WHITE PAPER Jan 2016

Performance Benchmark for Cloud Databases

Running Oracle Applications on AWS

Making Your ColdFusion Apps Highly Available. Brian Klaas Johns Hopkins Bloomberg School of Public Health

AWS Database Migration Service. User Guide Version API Version

Expand Your Infrastructure with the Elastic Cloud. Mark Ryland Chief Solutions Architect Jenn Steele Product Marketing Manager

SkySQL Data Suite. A New Open Source Approach to MySQL Distributed Systems. Serge Frezefond V

Increased Security, Greater Agility, Lower Costs for AWS DELPHIX FOR AMAZON WEB SERVICES WHITE PAPER

Alfresco Enterprise on AWS: Reference Architecture

AWS Performance Tuning

With Eversync s cloud data tiering, the customer can tier data protection as follows:

Migration Scenario: Migrating Backend Processing Pipeline to the AWS Cloud

Deploying for Success on the Cloud: EBS on Amazon VPC. Phani Kottapalli Pavan Vallabhaneni AST Corporation August 17, 2012

Linas Virbalas Continuent, Inc.

What is Cloud Computing? Tackling the Challenges of Big Data. Tackling The Challenges of Big Data. Matei Zaharia. Matei Zaharia. Big Data Collection

Investor Newsletter. Storage Made Easy Cloud Appliance High Availability Options WHAT IS THE CLOUD APPLIANCE?

Deploying Splunk on Amazon Web Services

Preparing for the Big Oops! Disaster Recovery Sites for MySQL. Robert Hodges, CEO, Continuent MySQL Conference 2011

AVLOR SERVER CLOUD RECOVERY

ArcGIS for Server: In the Cloud

Design for Failure High Availability Architectures using AWS

ColdFusion 10 in the Amazon AWS Cloud. Sven Ramuschkat tecracer GmbH

How To Backup To Cloud

Running your Java EE 6 Applications in the Cloud

Service Organization Controls 3 Report

How AWS Pricing Works

How To Manage An Orgsync Database On An Amazon Cloud 2 Instance

Backing up to the Cloud

Every Silver Lining Has a Vault in the Cloud

HOPS: Hadoop Open Platform-as-a-Service

Case Studies: Protecting Sensitive Data in

Using The Hortonworks Virtual Sandbox

Cloud Computing and Amazon Web Services

Building Fault-Tolerant Applications on AWS October 2011

Pierre Riteau University of Chicago

Software- as- a- Service (SaaS) on AWS Business and Architecture Overview

Déployer son propre cloud avec OpenStack. GULL François Deppierraz

Scalable Application. Mikalai Alimenkou

Storage Options in the AWS Cloud

Fault-Tolerant Computer System Design ECE 695/CS 590. Putting it All Together

Getting Started with Database As a Service on OpenStack

CLOUD COMPUTING WITH AWS An INTRODUCTION. John Hildebrandt Solutions Architect ANZ

Making Cloud Portability a Practical CTO & Founder GigaSppaces natishalom.typaped.com

Elastic Scalability in MySQL Fabric using OpenStack

Développement logiciel pour le Cloud (TLC)

Must Haves for your Cloud Toolbox Driving DevOps with Crowbar and Dasein

Cloud Computing: Making the right choices

Cloud & DevOps Program Big Group. March 13, 2015 Friday 2:00-3:00 p.m. Science Center Hall A

Designing Apps for Amazon Web Services

Introduction to Cloud : Cloud and Cloud Storage. Lecture 2. Dr. Dalit Naor IBM Haifa Research Storage Systems. Dalit Naor, IBM Haifa Research

Running an E-Commerce Database in the Cloud. Mark Uhrmacher (CTO) Aaron Brown (Senior Systems Engineer) ideeli

Service Organization Controls 3 Report

Virtualization and Cloud Computing

OpenShift on you own cloud. Troy Dawson OpenShift Engineer, Red Hat November 1, 2013

Web Application Hosting in the AWS Cloud Best Practices

Cloud Computing For Bioinformatics

Web Application Hosting in the AWS Cloud Best Practices

VMware Continuent. Benefits and Configurations TECHNICAL WHITE PAPER

Parallel Replication for MySQL in 5 Minutes or Less

High Availability of VistA EHR in Cloud. ViSolve Inc. White Paper February

Building Success on Acquia Cloud. Buyer s Guide

Availability Digest. HPE Helion Private Cloud and Cloud Broker Services February 2016

Oracle Applications and Cloud Computing - Future Direction

OpenStack. Orgad Kimchi. Principal Software Engineer. Oracle ISV Engineering. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

Amazon Web Services Primer. William Strickland COP 6938 Fall 2012 University of Central Florida

Building Success on Acquia Cloud:

Best Practices for Using MySQL in the Cloud

On- Prem MongoDB- as- a- Service Powered by the CumuLogic DBaaS Platform

Cloud Computing #8 - Datacenter OS. Johan Eker

NEXT-GENERATION, CLOUD-BASED SERVER MONITORING AND SYSTEMS MANAGEMENT

References. Introduction to Database Systems CSE 444. Motivation. Basic Features. Outline: Database in the Cloud. Outline

Introduction to Database Systems CSE 444

Why Engine Yard is better than Do it yourself

High Availability Solutions for MySQL. Lenz Grimmer DrupalCon 2008, Szeged, Hungary

Storage and Disaster Recovery

So What s the Big Deal?

Transcription:

Deploying Database clusters in the Cloud Neil Armitage - Continuent

whoami 2

DBA Oracle/Mainframes/MySQL (25 Years) Deployment Engineer for Continuent Developer for Cloud Operations and Deployments @ Continuent 3

On-premise/Colo deployments Raise a project Get Approval Order hardware Rack and cable hardware Connect to network Install Operating System Connect to SAN 4

5

Cloud deployments Enter credit card number call API nova boot --image centos6-x86_64 --flavor m1.large db1 nova boot --image centos6-x86_64 --flavor m1.large db2 nova boot --image centos6-x86_64 --flavor m1.large db3 ec2-run-instances ami-xxxxx -k ${EC2_KEYPAIR} -t m1.large ec2-run-instances ami-xxxxx -k ${EC2_KEYPAIR} -t m1.large ec2-run-instances ami-xxxxx -k ${EC2_KEYPAIR} -t m1.large 6

Cloud Providers Amazon AWS RackSpace HP Cloud... On Premise Clouds Openstack VMWare 7

Where is a cloud server located? Oregon (3 AZ) California (3 AZ) Northern Virginia (5 AZ) Ireland (3 AZ) Tokyo (3 AZ) Singapore (2 AZ) Sao Paulo (2 AZ) Sydney (2 AZ) 8

AWS Availability Zones Availability Zone Availability Zone Availability Zone Availability Zone Availability Zone Region Region 9

Instance Location db1 db2 EC2 Server A db3 Provision 3 nodes EC2 Server B DB1->DB3 10

Instance Location db3 EC2 Server B Server A had died 11

Where is your data? EBS Data is replicated within AZ 12

Where is your data? EBS Data is replicated X within AZ 13

Where is your data? EBS Data is replicated X within AZ X 14

Where is your data? EBS Data is replicated X within AZ X X 15

Networking in the Cloud Can be unreliable What it is Not sure where it is Security? 16

High Availability 17

High Availability - On Premise Ensure servers in di!erent Racks Redundant Power Redundant Network Redundant Disk Backup Server in DR location Redundant network between DC s 18

Separate Nodes across AZ s Slave Master Availability Zone 1B Availability Zone 1C S3 Backups Region US-EAST-1 19

Separate Nodes across Regions Slave Master Slave Availability Zone Availability Zone 1B 1C S3 Backups Region US-EAST-1 Availability Zone 1C Region S3 Backups US-WEST-1 20

Separate Nodes across Providers Slave S3 Backups Slave Master Availability Zone 1C Availability Zone 1B S3 Backups Region Availability Zone 1C Region US-WEST-1 US-EAST-1 Slave Rackspace Cloud Backups 21

High Availability in the Cloud Need to consider locations Have more nodes than you would with on premise Nodes can just disappear or stop functioning Spain cluster has had an issue this afternoon - the current master DB has dropped off the network/out of AWS 22

High Availability in the Cloud Plan for and expect node failures Don t assume that you will be able to quickly provision new nodes. Take plenty of backups (S3 costs only $100/ month to store 1TB) Expect a few bad nodes poor cpu performance poor disk performance throw them away - shoot them 23

Running Databases in the Cloud 24

AWS Relational Database Service (RDS) MySQL, Oracle, SQL Service Read Slaves Multi-AZ deployments Simple to set up and use 25

AWS Relational Database Service (RDS) 26

AWS Relational Database Service (RDS) AWS Only Can not replicate data out Very limited options for replicating in No Multi-Region Slow failover with AZ s (10 mins +) 27

Rackspace Databases MySQL Only Replication? No Backups Single Node? 28

Others Google Cloud Google only HP Cloud? OpenStack trove? 29

How we deploy clusters (in the cloud) 30

What out customers want All on-premise All in AWS Main Site on-premise - backup/dr in AWS Main in AWS - backup in Rackspace Flexibility and no vendor lock in Most on-premise clouds are VMWare 31

Deploying in the Cloud Automate everything Puppet allows us to work across clouds No need to maintain AMI s/images just use a standard o/s images masterless puppet to ensure we don t have a SPOF Our install tools work across multi-nodes in parallel Prototype GUI/CLI launcher to deploy and scale clusters automatically 32

Need to setup secure connections OpenVPN Need multiple servers to avoid a SPOF Software We now support secure connections Between DB s Between Apps and DB s 33

Best Practices RAID EBS Volumes (RAID1) Backups xtrabackup (backed up into S3) EBS Snapshot ec2- consistent- snapshot \ --mysql --freeze-"lesystem /vol \ --region eu-west-1 \ --description "$(hostanme) RAID snapshot $(date +'%Y-%m- %d %H:%M:%S')" \ vol-1f9a6446 vol-649a643d 34

Best Practices Monitoring Nagios scripts converted to email alerts New Relic 35

Demo 36

Lesson Learnt EC2 Instances fail One of anything is never enough Don t assume you can spin up more resources instantly Think multi-cloud, public/private Resources are disposable - throw away and rebuild if needed 37

Lesson Learnt Monitor everything Automate as much as possible Backup everything (twice) 38

Questions 39

560 S. Winchester Blvd., Suite 500 San Jose, CA 95128 Tel +1 (866) 998-3642 Fax +1 (408) 668-1009 e-mail: sales@continuent.com Our Blogs: http://scale-out-blog.blogspot.com http://datacharmer.blogspot.com http://flyingclusters.blogspot.com Continuent Website: http://www.continuent.com Tungsten Replicator 2.0: http://code.google.com/p/tungsten-replicator 40