1. Amazon Web Services
for the SQL Server Professional
Lynn Langit
Architect
Level: Intermediate
2. What and Why AWS?
AWS
Amazon’s
cloud
Set of
services
Compute
Data
More
Market
leader
In market
longest
Usually
cheapest
Most often
used in
production
12. 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)
Why RDS
costs more
28. How much does it cost?
Tip: When testing use Billing Alerts to make sure you’ve turned off test services!
29. 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
30. Usage Summary
Compute
EC2
Dev & Test
Train
Prod
Storage
S3
Raw Storage
Glacier
Archiving
Data Services
RDS
Partially
Managed
RDBMS
HA SQL Server
Redshift
Data
Warehousing
DynamoDB
fast NoSQL – on
SSDs
EMR
On Demand
MapReduce
Kinesis
Streaming
Data Pipelines
Automation
32. Keep Learning
• Connect
– @LynnLangit
– www.youtube.com/user/SoCalDevGal
• Get started
– Sign up for AWS – use ‘Free Tier’
– Email me to get $100 AWS usage credit
http://aws.amazon.com/rds/sqlserver/ and http://aws.amazon.com/rds/faqs/#4
Can scale to larger instances, can backup, can restore up to 5 minutes, all tools work, all patching is managed
C:Program Files (x86)AWS ToolsDocumentationAWSToolsForWindows.html
How to use PowerShell -- http://docs.aws.amazon.com/powershell/latest/userguide/pstools-welcome.html
C:Program Files (x86)AWS ToolsDocumentationAWSToolsForWindows.html
How to use PowerShell -- http://docs.aws.amazon.com/powershell/latest/userguide/pstools-welcome.html
Hadoop on AWS - http://wiki.apache.org/hadoop/AmazonEC2
http://aws.amazon.com/aws-free-usage-tier0/
S3 = .12 / GB / month -> $ 150 100 GB / yr
EBS = .10 / GB / month -> $ 100 100 GB / yr
EC2 = .12 / hr (Small, on-demand, Windows) -> $ 1051 run all year (up to 3.85 / hr, down to .01 / hr for spot instances) can be PLUS other services, i.e. CloudWatch…
RDS = .14 / hr (small, on demand, SQL 2008 STD) -> $ 1226 run all year ( up to 3.85 / hr, down to .05 / hr to heavy utilitization PLUS up/down data charged
Dynamo = .01 / 10 writes & .01 / 50 reads PLUS up/down charges
Elastic Beanstalk / Windows = starter package $ 42 / month -> $ 504 / yr