mastering amazon rds data masters. special thanks to… miami innovation center for entrepreneurship

Post on 26-Dec-2015

223 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

MasteringAmazon RDS

Data Masters

Special Thanks To…

Miami Innovation Center for Entrepreneurship

www.startup-miami.com/mice

Our Sponsor!

John Jadvani954-527-0090

Short bio about me… Andrew Simkovsky 15 years working with database technology

Oracle, MySQL/MariaDB, SQL Server, Postgres

Redis, MongoDB, CouchDB, Cassandra, Neo4j Worked across many industries

Consulting, Retail, Telecommunications, Energy

Data, Marketing, Gaming, Health care

DBTekPro

www.dbtekpro.com

andrew@dbtekpro.com@asimkovsky

Let’s Get Started!

What is the “Cloud”?

Fancy Hosting

Evolution of the Cloud

Website on a shared hosted server

Website on a dedicated hosted server

Virtualized servers with a management toolset

Abstract services: Storage as a service Database as a service Applications as a service

Most are “pay as you go”

Cloud Service Providers

Some Cloud-based Solutions

Amazon Web Services

EC2 (Elastic Cloud 2) – virtualized servers

EBS (Elastic Block Storage) – disk volumes

S3 (scalable storage) – arbitrary storage

Glacier – archive / backup storage

RDS – relational database service

Elastic Beanstalk – application containers

RDS

Dynamically provisioned database storage

No operating system for you to access

Platforms: MySQL Oracle SQL Server PostgreSQL

“Mostly” pre-configured

Some cool features…

On-demand provisioning

Basic monitoring / metrics provided

Automated backups

Automated recovery

User initiated “snapshots”

Automated replication

Software upgrades provided

Some gotchas…

Failovers are NOT instant. Can take up to 6 minutes. Maybe more, depending on

database size

Only limited platforms / versions are supported.

Upgrades / patching requires downtime. You set an allowable maintenance window. Amazon will

upgrade sometime during that window.

Can suffer from “noisy neighbor” syndrome.

Performance issues are sometimes hard to pinpoint

Master-Master replication is NOT supported

RDS vs EC2+Database

RDS

Quick provisioning

“Easy” management

Simple environment setup

Simplified replication strategy

No OS-level control

Limited granular fine tuning

Limited platform / versions

EC2+Database

You manage it yourself

OS & storage overhead

Software / version management

Configuration

Usually more costly

More control over config / performance

Allows more complex setups

Ease of use Power & Control

Some General AWS Concepts

Amazon Regions

Availability Zones

REGION

AZ1 AZ2

AZ3 AZ4

M S

SS

Security Groups

A “virtual” firewall

Can create a security group and place resources inside them

Can set access rules between security groups

Access rules can specify source/destination IP addresses, port numbers, etc.

Security Groups

Application Servers

Cache Servers

Database Servers

Server

Server

Server

Server

Database

Database

Amazon AWS Free Tier (first 12 months)

750 hours EC2 Linux “micro” server

750 hours EC2 Windows “micro” server

750 hours Elastic Load Balancer

30gb EBS Storage

5gb S3 Storage

100mb DynamoDB storage

750 hours RDS “micro” instance with 20gb of storage

750 ElastiCache

Live Demo!

Questions?

Thank You For Coming!

Please rate this Meet Up:www.meetup.com/data-masters

(or go there to join!)

Check out my blog and forums:www.dbtekpro.com

top related