SlideShare a Scribd company logo
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENT
Migrating SQL Server Databases
to Amazon RDS
H u g o F r a g o s o – O u t S y s t e m s – C l o u d O p e r a t i o n s M a n a g e r
D a l l a s W i l l e t t – A W S – S e n i o r D a t a b a s e E n g i n e e r
N o v e m b e r 2 9 , 2 0 1 7
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Introduction to Amazon RDS for SQL Server
OutSystems Customer Journey
New Features in RDS for SQL Server
Q&A
M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS—An Introduction
A Managed Database Platform
• Multi-engine support: Amazon Aurora, MySQL,
MariaDB, PostgreSQL, Oracle, SQL Server
• Automated provisioning, patching, scaling,
backup/restore, failover
• High availability with RDS Multi-AZ
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS for SQL Server
Editions
• Enterprise Edition
• Standard Edition
• Web Edition
• Express Edition
Bring Your Own License or License Included
SQL Server Versions
• 2017
• 2016
• 2014
• 2012
• 2008
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon RDS for SQL Server
Scaling
• Scale instances up or down between various instance types
• Scale storage up between 100 GB and 16 TB
High Availability with Database Mirroring
Encryption
• At rest with AWS KMS or TDE
• In transit with TLS/SSL
• Always encrypted (2016 SP1 and later)
Windows Authentication
Enhanced Monitoring for OS Statistics
• 1 second to 60 seconds granularity
• Enable CloudWatch Alarms on Metrics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Introduction to Amazon RDS for SQL Server
OutSystems Customer Journey
New Features in RDS for SQL Server
Q&A
M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S
Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017
OutSystems Overview
The #1 low-code software
platform for building
enterprise-grade web and mobile
applications running on AWS
OutSystems
Full-Stack Visual Development
Full Lifecycle Management
Deploy to Any Device
Overview
An Enterprise-Grade
Low-Code Platform that is:
OutSystems
Overview
Fast Secure Easy to Learn Easy to Integrate
with Everything
Using AWS
Services
...delivering your application
The Most-Loved
Platform
The Most-Loved Platform
According to Gartner PeerInsights
Customers
speak up!
Low-Code is a perfect fit for
mission-critical enterprise
applications
Learn More
Visit our Booth
Come to the OutSystems
Booth to See How Easy
it is to Build and Deploy
Enterprise Grade Apps
on AWSI Data
I Logic
I Interface
I Processes
OutSystems & AWS
OutSystems Global Infrastructure
~26 AWS Services
Amazon
VPC
600+
Amazon
S3
700+
Amazon
RDS
1500+
Amazon
EC2
3000+
Elastic Load
Balancing
700+
I 43 Countries
I 22 Industries
I 180+ Global Partners
I 125,000 Community
Members
OutSystems Global Infrastructure
~26 AWS Services
West
Coast East Coast
São Paulo
Ireland
Frankfurt
Singapore
Sidney
Tokyo
AWS OutSystems
RDS Usage Growth
Production Workloads ~800 Instances and Counting
85% is AWS RDS
for SQL Server
Hockey Stick Growth
Amazon’s
Growth
OutSystems’
Cloud Growth
Central Support Team
365x24x7 Operation
8 Reliability Engineers
I Manage a set of PaaS managed services (52)
I 15 are RDS-related (ex: database restore)
I Majority is fully self-service
I No traditional DBAs
I Performance tuning & maintenance is product
supported by R&D
I Cross-applied to entire infrastructure
Amazon OutSystems Salesforce
HighControl
Customer Control
Provider Control
Source:
Day 1, all in:
I RDS
I Automation
RDS Service:
I Fully managed
I Reliable
I Secure
AWS & OutSystems team:
I Amazing support
I Incorporating feedback
I Delivering new functionality
How was this
possible?
Customer Success
Speed Without Walls
Compliance
I SOC 2 Type II
I ISO/IEC 27001
I ISO/IEC 22301
I CSA Alliance Membership
OutSystems Sentry
PaaS Offer
OutSystems Sentry PaaS Offer
……
..
VPC
1
Heavy
forwarder
RDS
S3 CloudWatchSQS
VPC
n
Heavy
forwarder
RDS
S3 CloudWatchSQS
…
…..
VPC
n
Heavy
forwarder
RDS
S3 CloudWatchSQS
Cloud
Framework
VPC
Heavy
forwarder
RDS
S3 CloudWatchSQS
Management
VPC
S3
VPN
Server
YUM
VPC
1
Heavy
forwarder
RDS
S3 CloudWatchSQS
Management and Cloud Framework
I Scale storage
automation
I Vault account
Global disaster recover
I Compliance
What’s Next?
Our Experience with AWS RDS
Continued
AWS & OutSystems
R&D Collaboration
Supports Our Growth
Gartner Magic
Quadrant
Leader—Mobile App Dev
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Introduction to Amazon RDS for SQL Server
OutSystems Customer Journey
New Features in RDS for SQL Server
Q&A
M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
Increased Storage and Scale Storage
16 TB Support Launched August 2017
• Up from 4 TB—can now launch an RDS instance with storage between 200 GB and 16 TB
• Support for up to 20k IOPS
Scale Storage Launched November 2017
• Online operation *(with restrictions)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
Scale Storage Limitations
Uses EBS Elastic Volumes—limit of one scaling operation every 6 hours
Scale Storage Requires a Single EBS Volume
• New instances use a single volume
• Older instances may have been created with more than one volume
• Magnetic storage uses more than one volume
Determine with AWS CLI (version 1.11.170 or later)
aws rds describe-valid-db-instance-modifications --db-instance-identifier my-sqlserver-db
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server – New Features
Scale Storage Limitations
Sample Error Messages
An error occurred (InvalidParameterCombination) when calling the ModifyDBInstance operation: You can't modify the storage
size of this DB instance.
An error occurred (InvalidParameterCombination) when calling the ModifyDBInstance operation: You can't currently modify the
storage of this DB instance. Try again after approximately 5 hours.
aws rds modify-db-instance --db-instance-identifier my-sqlserver-db --allocated-storage 300
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
New Instance Type Support
Launched November 2017
R4 Instance Class
• Next generation of Memory Optimized
New 16xlarge Instance Size
• 64 vCPU, 488 GiB Memory
• 25 Gib Networking
• 14 Gbps Dedicated EBS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
New Instance Type Support
Launched November 2017
M4.16xlarge Instance Size
• 64 vCPU, 256 GiB Memory
• 25 Gib Networking
• 10 Gbps Dedicated EBS
T2.2xlarge Instance Size
• 8 vCPU, 32 GiB Memory
T2.xlarge Instance Size
• 4 vCPU, 16 GiB Memory
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
New Engine Versions
SQL Server 2016 SP1
• Launched June 2017
SQL Server 2016 SP1 CU5
• Launched November 2017
SQL Server 2017
• Launched November 2017
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
License Included Region Expansion
Launched July 2017
• Enterprise Edition License Included expanded to All Commercial Regions
• R3, R4, and M4 Instance Classes with a minimum of 4 vCPUs
High Availability Region Expansion
Launched August 2017
• Multi-AZ support expanded to EU Central (Frankfurt)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
Windows Authentication Region Expansion
Launched July 2017
• Canada (Central)
• EU (London)
• Asia Pacific (Seoul)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
Forced TLS/SSL
Launched February 2017
• Set via rds.force_ssl parameter in your RDS Parameter Group
aws rds modify-db-parameter-group 
--db-parameter-group-name my-sqlserver-params 
--parameters “name=rds.force_ssl, value=true, method=pending-reboot”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
HIPAA BAA Inclusion
Launched September 2017
• All Amazon RDS database engines are now HIPAA-eligible
To enable HIPAA support, enable auditing, transport encryption, and encryption at rest:
Use TDE for Enterprise Edition, or AWS Key Management Service (KMS) for other editions:
aws rds modify-db-parameter-group 
--db-parameter-group-name my-sqlserver-hipaa-params 
--parameters “name=rds.sqlserver_audit, value=fedramp_hipaa, method=pending-reboot” 
--parameters “name=rds.force_ssl, value=true, method=pending-reboot”
aws rds add-option-to-option-group 
--option-group-name my-sqlserver-hipaa-option-group 
--option-name TDE
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RDS for SQL Server—New Features
aws rds stop-db-instance --db-instance-identifier my-sqlserver-db
aws rds start-db-instance --db-instance-identifier my-sqlserver-db
Stop/Start
Launched June 2017 for all RDS Engines
• Stop and start your dev/test database instances for up to one week
• Instances automatically restarted after 7 days for maintenance operations
• Cannot stop Multi-AZ/Mirrored instances
For durations longer than one week, continue to use a delete with final snapshot
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Introduction to Amazon RDS for SQL Server
OutSystems Customer Journey
New Features in RDS SQL Server
Q&A
M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!
H u g o F r a g o s o – O u t S y s t e m s – C l o u d O p e r a t i o n s M a n a g e r
D a l l a s W i l l e t t – A W S – S e n i o r D a t a b a s e E n g i n e e r
M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S

More Related Content

Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENT Migrating SQL Server Databases to Amazon RDS H u g o F r a g o s o – O u t S y s t e m s – C l o u d O p e r a t i o n s M a n a g e r D a l l a s W i l l e t t – A W S – S e n i o r D a t a b a s e E n g i n e e r N o v e m b e r 2 9 , 2 0 1 7
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Introduction to Amazon RDS for SQL Server OutSystems Customer Journey New Features in RDS for SQL Server Q&A M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS—An Introduction A Managed Database Platform • Multi-engine support: Amazon Aurora, MySQL, MariaDB, PostgreSQL, Oracle, SQL Server • Automated provisioning, patching, scaling, backup/restore, failover • High availability with RDS Multi-AZ
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS for SQL Server Editions • Enterprise Edition • Standard Edition • Web Edition • Express Edition Bring Your Own License or License Included SQL Server Versions • 2017 • 2016 • 2014 • 2012 • 2008
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon RDS for SQL Server Scaling • Scale instances up or down between various instance types • Scale storage up between 100 GB and 16 TB High Availability with Database Mirroring Encryption • At rest with AWS KMS or TDE • In transit with TLS/SSL • Always encrypted (2016 SP1 and later) Windows Authentication Enhanced Monitoring for OS Statistics • 1 second to 60 seconds granularity • Enable CloudWatch Alarms on Metrics
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Introduction to Amazon RDS for SQL Server OutSystems Customer Journey New Features in RDS for SQL Server Q&A M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S
  • 9. The #1 low-code software platform for building enterprise-grade web and mobile applications running on AWS OutSystems Full-Stack Visual Development Full Lifecycle Management Deploy to Any Device Overview
  • 10. An Enterprise-Grade Low-Code Platform that is: OutSystems Overview Fast Secure Easy to Learn Easy to Integrate with Everything Using AWS Services ...delivering your application
  • 12. The Most-Loved Platform According to Gartner PeerInsights Customers speak up! Low-Code is a perfect fit for mission-critical enterprise applications
  • 13. Learn More Visit our Booth Come to the OutSystems Booth to See How Easy it is to Build and Deploy Enterprise Grade Apps on AWSI Data I Logic I Interface I Processes
  • 15. OutSystems Global Infrastructure ~26 AWS Services Amazon VPC 600+ Amazon S3 700+ Amazon RDS 1500+ Amazon EC2 3000+ Elastic Load Balancing 700+
  • 16. I 43 Countries I 22 Industries I 180+ Global Partners I 125,000 Community Members OutSystems Global Infrastructure ~26 AWS Services West Coast East Coast São Paulo Ireland Frankfurt Singapore Sidney Tokyo AWS OutSystems
  • 17. RDS Usage Growth Production Workloads ~800 Instances and Counting 85% is AWS RDS for SQL Server Hockey Stick Growth Amazon’s Growth OutSystems’ Cloud Growth
  • 18. Central Support Team 365x24x7 Operation 8 Reliability Engineers I Manage a set of PaaS managed services (52) I 15 are RDS-related (ex: database restore) I Majority is fully self-service I No traditional DBAs I Performance tuning & maintenance is product supported by R&D I Cross-applied to entire infrastructure Amazon OutSystems Salesforce HighControl Customer Control Provider Control Source:
  • 19. Day 1, all in: I RDS I Automation RDS Service: I Fully managed I Reliable I Secure AWS & OutSystems team: I Amazing support I Incorporating feedback I Delivering new functionality How was this possible? Customer Success
  • 20. Speed Without Walls Compliance I SOC 2 Type II I ISO/IEC 27001 I ISO/IEC 22301 I CSA Alliance Membership
  • 22. OutSystems Sentry PaaS Offer …… .. VPC 1 Heavy forwarder RDS S3 CloudWatchSQS VPC n Heavy forwarder RDS S3 CloudWatchSQS
  • 24. I Scale storage automation I Vault account Global disaster recover I Compliance What’s Next?
  • 25. Our Experience with AWS RDS Continued AWS & OutSystems R&D Collaboration Supports Our Growth
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Introduction to Amazon RDS for SQL Server OutSystems Customer Journey New Features in RDS for SQL Server Q&A M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features Increased Storage and Scale Storage 16 TB Support Launched August 2017 • Up from 4 TB—can now launch an RDS instance with storage between 200 GB and 16 TB • Support for up to 20k IOPS Scale Storage Launched November 2017 • Online operation *(with restrictions)
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features Scale Storage Limitations Uses EBS Elastic Volumes—limit of one scaling operation every 6 hours Scale Storage Requires a Single EBS Volume • New instances use a single volume • Older instances may have been created with more than one volume • Magnetic storage uses more than one volume Determine with AWS CLI (version 1.11.170 or later) aws rds describe-valid-db-instance-modifications --db-instance-identifier my-sqlserver-db
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server – New Features Scale Storage Limitations Sample Error Messages An error occurred (InvalidParameterCombination) when calling the ModifyDBInstance operation: You can't modify the storage size of this DB instance. An error occurred (InvalidParameterCombination) when calling the ModifyDBInstance operation: You can't currently modify the storage of this DB instance. Try again after approximately 5 hours. aws rds modify-db-instance --db-instance-identifier my-sqlserver-db --allocated-storage 300
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features New Instance Type Support Launched November 2017 R4 Instance Class • Next generation of Memory Optimized New 16xlarge Instance Size • 64 vCPU, 488 GiB Memory • 25 Gib Networking • 14 Gbps Dedicated EBS
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features New Instance Type Support Launched November 2017 M4.16xlarge Instance Size • 64 vCPU, 256 GiB Memory • 25 Gib Networking • 10 Gbps Dedicated EBS T2.2xlarge Instance Size • 8 vCPU, 32 GiB Memory T2.xlarge Instance Size • 4 vCPU, 16 GiB Memory
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features New Engine Versions SQL Server 2016 SP1 • Launched June 2017 SQL Server 2016 SP1 CU5 • Launched November 2017 SQL Server 2017 • Launched November 2017
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features License Included Region Expansion Launched July 2017 • Enterprise Edition License Included expanded to All Commercial Regions • R3, R4, and M4 Instance Classes with a minimum of 4 vCPUs High Availability Region Expansion Launched August 2017 • Multi-AZ support expanded to EU Central (Frankfurt)
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features Windows Authentication Region Expansion Launched July 2017 • Canada (Central) • EU (London) • Asia Pacific (Seoul)
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features Forced TLS/SSL Launched February 2017 • Set via rds.force_ssl parameter in your RDS Parameter Group aws rds modify-db-parameter-group --db-parameter-group-name my-sqlserver-params --parameters “name=rds.force_ssl, value=true, method=pending-reboot”
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features HIPAA BAA Inclusion Launched September 2017 • All Amazon RDS database engines are now HIPAA-eligible To enable HIPAA support, enable auditing, transport encryption, and encryption at rest: Use TDE for Enterprise Edition, or AWS Key Management Service (KMS) for other editions: aws rds modify-db-parameter-group --db-parameter-group-name my-sqlserver-hipaa-params --parameters “name=rds.sqlserver_audit, value=fedramp_hipaa, method=pending-reboot” --parameters “name=rds.force_ssl, value=true, method=pending-reboot” aws rds add-option-to-option-group --option-group-name my-sqlserver-hipaa-option-group --option-name TDE
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RDS for SQL Server—New Features aws rds stop-db-instance --db-instance-identifier my-sqlserver-db aws rds start-db-instance --db-instance-identifier my-sqlserver-db Stop/Start Launched June 2017 for all RDS Engines • Stop and start your dev/test database instances for up to one week • Instances automatically restarted after 7 days for maintenance operations • Cannot stop Multi-AZ/Mirrored instances For durations longer than one week, continue to use a delete with final snapshot
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Introduction to Amazon RDS for SQL Server OutSystems Customer Journey New Features in RDS SQL Server Q&A M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you! H u g o F r a g o s o – O u t S y s t e m s – C l o u d O p e r a t i o n s M a n a g e r D a l l a s W i l l e t t – A W S – S e n i o r D a t a b a s e E n g i n e e r M i g r a t i n g S Q L S e r v e r D a t a b a s e s t o A m a z o n R D S