aws for the sql server pro

40
AWS for the SQL Server Pro @LynnLangit Nov 2013

Upload: lynn-langit

Post on 14-May-2015

620 views

Category:

Technology


2 download

DESCRIPTION

About AWS services for SQL Server Professionals - EC2, RDS, DynamoDB, MapReduce and more. Also covers pricing - understanding on-demand, reserved and spot instances

TRANSCRIPT

Page 1: AWS for the SQL Server Pro

AWS for the SQL Server Pro

@LynnLangit

Nov 2013

Page 2: AWS for the SQL Server Pro

Data Expertise / Lynn Langit

Practicing Architect• Cloud Deployments (Azure, AWS, Google)

Technical author / trainer• Google Cloud Developer Series• SQL Server 2012 Developer Series • Cloudera Certified Developer• 2 books on SQL Server BI

Industry awards• Microsoft – MVP for SQL Server • Google – GDE for Cloud Platform• 10Gen – Master for MongoDB

Former MSFT FTE• 4 years

Page 3: AWS for the SQL Server Pro

What and Why AWS?

AWS Amazon’s cloud

Large Set of services• Compute• Data• More

Market leader• In market

longest• Usually

cheapest • Most often used

in production

Page 4: AWS for the SQL Server Pro

Amazon Web Services

Page 5: AWS for the SQL Server Pro

5

How to Work with AWS

• Web Console

• Command Line Tools

• AWS SDK and IDE Tools

Page 6: AWS for the SQL Server Pro

EC2 – Virtual Machines (AMIs)

Page 7: AWS for the SQL Server Pro

EC2 – VMs (AMIs) from AWS Marketplace

Page 8: AWS for the SQL Server Pro

8 April 2013

Demo - EC2Virtual Machines

Page 9: AWS for the SQL Server Pro

Understanding EC2 storage options

Page 10: AWS for the SQL Server Pro

S3 -- Storage

Page 11: AWS for the SQL Server Pro

S3 – bucket properties

Page 12: AWS for the SQL Server Pro

12 April 2013

Demo – S3 Storage

Page 13: AWS for the SQL Server Pro

Glacier -- storage & archiving

Page 14: AWS for the SQL Server Pro

14 April 2013

Demo – GlacierArchival Storage

Page 15: AWS for the SQL Server Pro

RDS – partially managed SQL Server and more…

Page 16: AWS for the SQL Server Pro

16 April 2013

Demo – RDSSQL Server as a service

Page 17: AWS for the SQL Server Pro

RDS vs. EC2 for SQL Server

• Provisioned IO – performance guarantees

• Scheduled backups • Point in time restores• Scheduled

maintenance windows• Full use of all SQL

tools, SSMS, Profiler, DTA, etc…

• Supports Availability Groups (requires 2012 Enterprise)

• Cross-regional snapshots

Why RDS costs more

Page 18: AWS for the SQL Server Pro

Redshift – Warehouse as a Service

Page 19: AWS for the SQL Server Pro

19 April 2013

Demo – RedshiftData Warehousing as a Service

Page 20: AWS for the SQL Server Pro

DynamoDBfor fast NoSQL with SSDs

Page 21: AWS for the SQL Server Pro

21 April 2013

Demo – DynamoDB

NoSQL on SSD

Page 22: AWS for the SQL Server Pro

Elastic MapReducefor easy Hadoop

Page 23: AWS for the SQL Server Pro

23 April 2013

Demo – MapReduceHadoop on AWS

Page 24: AWS for the SQL Server Pro

Data Pipelines – automated data transfer

Page 25: AWS for the SQL Server Pro

25 April 2013

Demo – Data Pipeline

Build data flows on AWS

Page 26: AWS for the SQL Server Pro

Elastic Beanstalkfor application scalability

Page 27: AWS for the SQL Server Pro

27 April 2013

Demo – BeanstalkPaaS on AWS

Page 28: AWS for the SQL Server Pro

28

AWS SDK for Visual Studio

Page 29: AWS for the SQL Server Pro

29 April 2013

Demo – AWS SDKAdd-in for Visual Studio and .NET

Page 30: AWS for the SQL Server Pro

Cloud Database Services by Vendor

AWS Google MicrosoftVirtual Machines EC2 w/SQL Server GCE – Linux only Azure VM – W/SQL

Server

Cloud RDBMS RDS - SQL ServerRedshift -Postgres

mySQLMariaDB

SQL Azure

NoSQL bucketsKey-Value stores

S3, EBS, Glacier, DynamoDB

Cloud Storage HR Datastore on GAE

Azure Blobs Azure Tables

Pipelines Data Pipelines Via APIs only SSIS (on-premises)

Streaming Machine Learning

Custom EC2 Prospective Search &Prediction API

StreamInsight

Document MongoDB on EC2 None MongoDB on Windows Azure

Hadoop MapReduce or Dremel

MapReduce on EC2 using S3

Big Query HDInsight (HDFS) on Azure

Data sets & other

EBS volumes w/datasets

FreebaseTranslation APIFull-text search

Azure Marketplace

Page 31: AWS for the SQL Server Pro

Costs - Free Tier – EC2

Page 32: AWS for the SQL Server Pro

Costs - Free Tier SQL and Dynamo

Page 33: AWS for the SQL Server Pro

How much does it cost?

Page 34: AWS for the SQL Server Pro

Creative Financing

• Use what you need and no more, i.e. instance size, storage size…

• Watch for price drops – RDS price decrease this week

Regular Pricing

• Pause EC2 instances to reduce compute charges• Delete EC2 instances to reduce storage charges

Smart EC2 Instance Usage

• Set pricing alerts• Use spot pricing• Re-selling compute / storage

Vanity Pricing

Page 35: AWS for the SQL Server Pro

35

Example: EC2 Spot Pricing

Page 36: AWS for the SQL Server Pro

36

Example: EC2 Reserved Pricing

Page 37: AWS for the SQL Server Pro

37

Tip: Use Pricing Calculators

Example – from RightScale ‘PlanForCloud’

Page 38: AWS for the SQL Server Pro

Conclusions

EC2 for testing, training and production (IaaS)

S3 for archiving R/W

Glacier for archiving W fast & cheap, R slow & expensive

RDS for HA SQL Server

Redshift for Data Warehousing on demand

DynamoDB for fast NoSQL – on SSDs

Elastic Map Reduce for easy Hadoop MapReduce

Page 39: AWS for the SQL Server Pro

www.TeachingKidsProgramming.org• Free Courseware (Java, SmallBasic or C# / Pluralsight)• Do a Recipe Teach a Kid (Ages 10 ++)• Dec 2013 – Code.org – ‘Hour of Code’ education

partner

• recipes)

Page 40: AWS for the SQL Server Pro

Keep Learning

Twitter: @LynnLangitYouTube:http://www.youtube.com/user/SoCalDevGal

Hire me• To help build your BI/Big Data

solution• To teach your team next gen BI• To learn more about using NoSQL

solutions