SlideShare a Scribd company logo
1 of 28
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Oracle and SQL Server on AWS
Joyjeet Banerjee
Enterprise Solutions Architect
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
License Included (LI)
• License included in instance
price
– 12.1.02 SE2
– 11.2.0.4 SE1
– 11.2.0.4 SE
Bring your own license (BYOL)
• Use existing licenses/agreements
• Manage your own licenses and
support
– 12.1.02 EE
– 12.1.0.2 SE2
– 11.2.0.4 EE
– 11.2.0.4 SE1
– 11.2.0.4 SE
Oracle Versions on RDS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
• Easy to Administer
• Scalable and fast
• Available and durable
• Secure
• Inexpensive
• Oracle licensing
• Managed infrastructure
• Available in minutes
• Manage parameters and options
across instances
• Web console, CLI, SDK, AWS
CloudFormation templates
AMAZON RDS for COMMERCIAL DATABASES
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
RECENT NEW ORACLE RDS FEATURES
• Deprecation of 11.2.0.2, 11.2.0.3, 12.1.0.1
• Huge pages
• Snapshot upgrade
• R4 instance class
• Start/stop
• Flexible Reserved Instances
• Storage—up to 16 TB, faster scaling
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
RECENT NEW/UPDATED OPTIONS
• Spatial (requires EE + Spatial and Graph Option license)
• Locator
• Multimedia
• Oracle Application Express—now supports 5.0.4, 5.1.2 (4.1.1, 4.2.6)
• Oracle SQLTXPLAIN (SQLT)
• Oracle Enterprise Manager Agent—now supports OMS 13cR1, 13cR2
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
HUGE PAGES
• Improved memory and CPU utilization
• Enable via RDS Parameter Group
1. Disable Automatic Memory Management
2. Enable Automatic Shared Memory Management
3. Set use_large_pages to “ONLY”
• RDS automation takes care of kernel parameters
• Will be enabled by default on future instance classes (>100 GiB)
• Improved memory utilization
• Improved CPU utilization
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
ADMINISTERING RDS ORACLE
On-Premises Amazon RDS
ALTER SYSTEM…; RDS Parameter Groups
Install features RDS Option Groups
ALTER DATABASE…;
GRANT…;
exec rdsadmin.rdsadmin_util…;
grant…;
Backups/RMAN RDS Snapshots
OEM, tools OEM, tools
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
ENCRYPTION AT REST
Oracle Transparent Data
Encryption (TDE)
Oracle TDE with Hardware
Security Module
(TDE_HSM)
RDS Storage Encryption
EE + ASO EE + ASO All editions/engines
• RDS manages wallet and
keys
• RDS manages wallet
• Customer manages HSM
device
• EBS volume encryption
• Completely transparent
to host/database
• Customer manages keys
with Amazon KMS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
ENCRYPTION IN TRANSIT
SSL Option Native Network Encryption (NNE)
All Oracle editions (no longer requires ASO as of 11.2)
• RDS manages wallets, certificates
• Customer imports RDS root certificates
into client wallets
• Separate TCPS listener port
• RDS manages sqlnet.ora
• Choose algorithms and level
(requested/required/allowed)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
DATABASE SECURITY
RDS Manages Customer Manages
• Physical infrastructure controls
• Host access
• Operating System version/patches
• HOW database patches are applied
• Database users and privileges
• Access to data (Virtual Private
Database, Oracle Label Security)
• Database Audit
• Network controls (VPC Security
Groups, Network ACL)
• WHEN database patches are
applied
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
AUDITING
AWS API Auditing (AWS CloudTrail) Database Auditing (AUDIT_TRAIL)
• Audit user API calls (e.g. Create-,
Modify-, DeleteDBInstance)
• Integrates with AWS CloudWatch Logs
and Events
• Stored in Amazon S3
• Audit in-database operations
(AUDIT/NOAUDIT)
• Retention managed by customer
• Stored on RDS instance (DB, OS, XML)
• DBMS_AUDIT_MGMT
• Location
• Retention
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
• Consider RDS first
• Focus on:
– Business value tasks
– High-level tuning tasks
– Schema optimization
• No in-house database expertise
• Need control over:
– DB instance & OS
– Backups, Replication
– Clustering
– sysadmin role
• Use features, size or performance
options not available in Amazon RDS
• S Q L S E R V E R o n A M A Z O N E C 2• A M A Z O N R D S S Q L S E R V E R
WHICH SQL SERVER OPTION IS RIGHT FOR YOU?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
• AWS Managed Service
• Managed deployment, patching, Multi-AZ
automatic HA, backups and point in time
restore
• Auditable centralized engine parameter
tuning
• No direct instance or file system access
• Some features are restricted
• Self-Managed Solution
• Always on Availability Groups for HA
• Maintenance Plans for backups
• Administrator access to instance and DBs
• Custom monitoring agents
• Run SSRS, SSIS, SSAS on instance
• Hybrid Architectures
• legacy versions (self-install)
• S Q L S E R V E R o n A M A Z O N E C 2• A M A Z O N R D S S Q L S E R V E R
THE DIFFERENCES
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
• Storage I/O contention is one of
the main causes for poor SQL
Server performance
• Use EBS Optimized EC2 Instances
• Match storage technology with I/O
pattern of workload components
• Match instance type to IOPS and
throughput needs of workload
• Create a single volume for data and
logs
SQL Server
Example Volume Layout
C:
Boot on General Purpose SSD EBS Volume
D:
Data and logs on Provisioned IOPS EBS Volume
K:
Backups on Magnetic ST1 or SC1 EBS Volumes
Z:
Tempdb on instance storage (if available)
SQL SERVER on EC2 STORAGE OPTIMIZATION
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
EBS OPTIMIZATION & VOLUMES
• Plan for EC2 Instance EBS Optimized Throughput and IOPS capacity
• Plan for EBS Volume Throughput and IOPS capacity
• Stripe EBS PIOPS volumes for more than 32,000 IOPS or 500MB/s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
EBS OPTIMIZATION AND VOLUMES
• Plan for EC2 Instance EBS Optimized Throughput and IOPS capacity
• Plan for EBS Volume Throughput and IOPS capacity
• Stripe EBS PIOPS volumes for more than 32,000 IOPS or 500MB/s
r4 family
r4.large
2 vCPUs/15.25 GiB RAM
Max EBS bandwidth: 425 Mbps
Max IOPS (16KB): 3,000
Expected throughput: 53 MB/s
… or ~1250 IOPS @ 44KB IO size
r4.16xlarge
64 vCPUs/488 GiB RAM
Max EBS bandwidth: 14k Mbps
Max IOPS (16KB): 75,000
Expected throughput: 1,750 MB/s
… or ~40,700 IOPS @ 44KB IO size
1TB GP2 Volume
Max. IOPS (16KB): 3,000
Max. throughput: 160 MB/s
3 x 1TB PIOPS (25k IOPS each)
Expected IOPS (16KB): 75k
Max. throughput: 1,500 MB/s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
SQL SERVER on EC2 TEMPDB OPTIMIZATION
• Consider:
• Using multiple tempdb files (1:1 mapping with CPUs, up to 8)
• Striping multiple instance storage disks together for higher I/O
• Changing SQL Server service startup to Automatic (Delayed Start) to
allow instance storage to provision
• Scripting/automating configuration on instance boot
• Striping solution by consulting partner IFM Ltd.
• http://www.ifm.net.nz/cookbooks/amazon-sql-tempdb/index.html
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
SQL SERVER HA AND DR ON AMAZON EC2
• Use multiple Availability Zones
• Instance-level and AZ-level failure tolerance
• Synchronous replication
• Options
• Enterprise Edition: Always On Availability Groups
• Standard Edition:
• Basic Always On Availability Groups (2016+)
• Failover cluster instances using partner block-level replication solution
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
ALWAYS ON AVAILABILITY GROUPS (AG)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
MULTI-REGION ALWAYS ON AG
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
FAILOVER CLUSTER INSTANCES ON EC2
SIOS DataKeeper
Cluster Edition
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
RDS STORAGE PERFORMANCE PLANNING
Scalable Storage
• Maximum storage: 16TB
• Maximum IOPS: 32,000
• Amazon RDS storage throughput
depends on DB instance class (see equivalent
EC2 EBS Optimized instance type)
Monitoring I/O efficiency:
• CloudWatch Metric Average Queue Depth
- I/O requests waiting to be serviced
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
RDS FOR SQL SERVER HIGH AVAILABILITY
Amazon RDS for SQL Server Multi-AZ
• Principal and secondary DB nodes in
different Availability Zones (AZ)
• Witness in a 3rd AZ
• Leverages SQL Server DB mirroring
• Automatic failover (typically, 1-2 minute)
• Consider mirroring impact on change heavy
workloads
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
• Centralized management of DB
engine parameters
• Ability to consistently apply
configurations to DB instances
• Auditability of configuration
• Sensible defaults work for most use
cases
• Ability to create custom parameter
groups
• Used for enabling additional features
• Ability to create custom option
groups
• Supported options:
• Transparent Data Encryption
(TDE) in Enterprise Edition only
• S3 Backup & Restore
• O P T I O N G R O U P S• P A R A M E T E R G R O U P S
CENTRALIZED DB ENGINE CONFIGURATION
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
RDS FOR SQL SERVER DATA MOVEMENT
.BAK File Import and Export
Leverages SQL Server’s native backup functionality
AWS Database Migration Service
Now supports Change Data Capture from RDS SQL
Server DB instances
AWS Marketplace
Third-party data import and export tools
and solutions
1
3
4
Database Publishing Wizard, Import/Export,
Bulk Copy
Use bcp; export to T-SQL files & load using sqlcmd
2
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
RDS FOR SQL SERVER SUPPORTED VERSIONS
Only License Included (LI) for new clusters
• SQL Server 2017 RTM CU3 14.00.3015.40
• SQL Server 2016 SP1 CU7 13.00.4466.4
• SQL Server 2014 SP2 CU10 12.00.5571.0
• SQL Server 2012 SP4 GDR 11.00.7462.6
• SQL Server 2008 R2 SP3 GDR 10.50.6560.0
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
SQL SERVER 2017
• Available for EC2 and RDS (including Multi-AZ)
• SQL Server 2017 Linux supported on Amazon EC2, RHEL license-included
• Cluster & cluster-less Availability Groups (WSFC, Pacemaker, None)
• Cross database transactions supported by Always On AG
• Automatic plan correction
• Graph database capabilities
• Linux:
• System DBs fixed to /var/opt/mssql/data
• One SQL Server instance per server (default instance only)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved
aws.amazon.com/activate
Everything and Anything Startups
Need to Get Started on AWS

More Related Content

What's hot

Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWSAmazon Web Services
 
Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014Tom Laszewski
 
Oracle zdm Migrate Amazon RDS Oracle to Oracle Autonomous 2021 Kamalesh Ramas...
Oracle zdm Migrate Amazon RDS Oracle to Oracle Autonomous 2021 Kamalesh Ramas...Oracle zdm Migrate Amazon RDS Oracle to Oracle Autonomous 2021 Kamalesh Ramas...
Oracle zdm Migrate Amazon RDS Oracle to Oracle Autonomous 2021 Kamalesh Ramas...Kamalesh Ramasamy
 
Oracle COTS Applications on AWS
Oracle COTS Applications on AWSOracle COTS Applications on AWS
Oracle COTS Applications on AWSTom Laszewski
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWSAmazon Web Services
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWSAmazon Web Services
 
AWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAmazon Web Services
 
Oracle on AWS partner webinar series
Oracle on AWS partner webinar series Oracle on AWS partner webinar series
Oracle on AWS partner webinar series Tom Laszewski
 
AWS Storage Tiering for Enterprise Workloads
AWS Storage Tiering for Enterprise WorkloadsAWS Storage Tiering for Enterprise Workloads
AWS Storage Tiering for Enterprise WorkloadsTom Laszewski
 
Open Source Databases on the Cloud - Peter Dachnowicz
Open Source Databases on the Cloud - Peter DachnowiczOpen Source Databases on the Cloud - Peter Dachnowicz
Open Source Databases on the Cloud - Peter DachnowiczAmazon Web Services
 
AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration
AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration  AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration
AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration Amazon Web Services
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS - WIN306 - re:Invent...
Design, Deploy, and Optimize Microsoft SQL Server on AWS - WIN306 - re:Invent...Design, Deploy, and Optimize Microsoft SQL Server on AWS - WIN306 - re:Invent...
Design, Deploy, and Optimize Microsoft SQL Server on AWS - WIN306 - re:Invent...Amazon Web Services
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksAmazon Web Services
 
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...Amazon Web Services
 
Introduction to AWS Database Services
Introduction to AWS Database ServicesIntroduction to AWS Database Services
Introduction to AWS Database ServicesAmazon Web Services
 

What's hot (20)

SQL Server on AWS
SQL Server on AWSSQL Server on AWS
SQL Server on AWS
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWS
 
PostgreSQL
PostgreSQLPostgreSQL
PostgreSQL
 
Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014
 
Amazon Aurora
Amazon AuroraAmazon Aurora
Amazon Aurora
 
Oracle zdm Migrate Amazon RDS Oracle to Oracle Autonomous 2021 Kamalesh Ramas...
Oracle zdm Migrate Amazon RDS Oracle to Oracle Autonomous 2021 Kamalesh Ramas...Oracle zdm Migrate Amazon RDS Oracle to Oracle Autonomous 2021 Kamalesh Ramas...
Oracle zdm Migrate Amazon RDS Oracle to Oracle Autonomous 2021 Kamalesh Ramas...
 
Oracle COTS Applications on AWS
Oracle COTS Applications on AWSOracle COTS Applications on AWS
Oracle COTS Applications on AWS
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWS
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWS
 
AWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS Oracle
 
Oracle on AWS partner webinar series
Oracle on AWS partner webinar series Oracle on AWS partner webinar series
Oracle on AWS partner webinar series
 
AWS Storage Tiering for Enterprise Workloads
AWS Storage Tiering for Enterprise WorkloadsAWS Storage Tiering for Enterprise Workloads
AWS Storage Tiering for Enterprise Workloads
 
Amazon DynamoDB and Amazon DAX
Amazon DynamoDB and Amazon DAXAmazon DynamoDB and Amazon DAX
Amazon DynamoDB and Amazon DAX
 
Open Source Databases on the Cloud - Peter Dachnowicz
Open Source Databases on the Cloud - Peter DachnowiczOpen Source Databases on the Cloud - Peter Dachnowicz
Open Source Databases on the Cloud - Peter Dachnowicz
 
Intro to AWS: Database Services
Intro to AWS: Database ServicesIntro to AWS: Database Services
Intro to AWS: Database Services
 
AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration
AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration  AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration
AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS - WIN306 - re:Invent...
Design, Deploy, and Optimize Microsoft SQL Server on AWS - WIN306 - re:Invent...Design, Deploy, and Optimize Microsoft SQL Server on AWS - WIN306 - re:Invent...
Design, Deploy, and Optimize Microsoft SQL Server on AWS - WIN306 - re:Invent...
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
 
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
 
Introduction to AWS Database Services
Introduction to AWS Database ServicesIntroduction to AWS Database Services
Introduction to AWS Database Services
 

Similar to Oracle and SQL Server on the Cloud

Best Practices for Running Oracle Databases on Amazon RDS (DAT317) - AWS re:I...
Best Practices for Running Oracle Databases on Amazon RDS (DAT317) - AWS re:I...Best Practices for Running Oracle Databases on Amazon RDS (DAT317) - AWS re:I...
Best Practices for Running Oracle Databases on Amazon RDS (DAT317) - AWS re:I...Amazon Web Services
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...Amazon Web Services
 
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018Amazon Web Services
 
Moving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDSMoving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDSAmazon Web Services
 
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018Amazon Web Services
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...Amazon Web Services
 
Amazon Redshift 與 Amazon Redshift Spectrum 幫您建立現代化資料倉儲 (Level 300)
Amazon Redshift 與 Amazon Redshift Spectrum 幫您建立現代化資料倉儲 (Level 300)Amazon Redshift 與 Amazon Redshift Spectrum 幫您建立現代化資料倉儲 (Level 300)
Amazon Redshift 與 Amazon Redshift Spectrum 幫您建立現代化資料倉儲 (Level 300)Amazon Web Services
 
Open Source Databases on the Cloud
Open Source Databases on the CloudOpen Source Databases on the Cloud
Open Source Databases on the CloudAmazon Web Services
 
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...Amazon Web Services
 
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018Amazon Web Services
 
Amazon Aurora and AWS Database Migration Service
Amazon Aurora and AWS Database Migration ServiceAmazon Aurora and AWS Database Migration Service
Amazon Aurora and AWS Database Migration ServiceAmazon Web Services
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Amazon Web Services
 
What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS SummitWhat’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS SummitAmazon Web Services
 
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon Web Services
 
10 Hacks for Optimizing MySQL in the Cloud - AWS Online Tech Talks
10 Hacks for Optimizing MySQL in the Cloud - AWS Online Tech Talks10 Hacks for Optimizing MySQL in the Cloud - AWS Online Tech Talks
10 Hacks for Optimizing MySQL in the Cloud - AWS Online Tech TalksAmazon Web Services
 
Open Source Managed Databases: Database Week SF
Open Source Managed Databases: Database Week SFOpen Source Managed Databases: Database Week SF
Open Source Managed Databases: Database Week SFAmazon Web Services
 

Similar to Oracle and SQL Server on the Cloud (20)

Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
 
Oracle on AWS
Oracle on AWSOracle on AWS
Oracle on AWS
 
Best Practices for Running Oracle Databases on Amazon RDS (DAT317) - AWS re:I...
Best Practices for Running Oracle Databases on Amazon RDS (DAT317) - AWS re:I...Best Practices for Running Oracle Databases on Amazon RDS (DAT317) - AWS re:I...
Best Practices for Running Oracle Databases on Amazon RDS (DAT317) - AWS re:I...
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (WIN324-R1) - AWS re...
 
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018
 
Moving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDSMoving your commercial databases to Amazon RDS
Moving your commercial databases to Amazon RDS
 
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...
Design, Deploy, and Optimize Microsoft SQL Server on AWS (GPSTEC314) - AWS re...
 
Amazon Redshift 與 Amazon Redshift Spectrum 幫您建立現代化資料倉儲 (Level 300)
Amazon Redshift 與 Amazon Redshift Spectrum 幫您建立現代化資料倉儲 (Level 300)Amazon Redshift 與 Amazon Redshift Spectrum 幫您建立現代化資料倉儲 (Level 300)
Amazon Redshift 與 Amazon Redshift Spectrum 幫您建立現代化資料倉儲 (Level 300)
 
MySQL and MariaDB
MySQL and MariaDBMySQL and MariaDB
MySQL and MariaDB
 
Open Source Databases on the Cloud
Open Source Databases on the CloudOpen Source Databases on the Cloud
Open Source Databases on the Cloud
 
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
Running SQL Server on Amazon RDS and Migrating to MySQL (DAT306-R1) - AWS re:...
 
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
Microsoft SQL Server Migration Strategies (WIN302) - AWS re:Invent 2018
 
Amazon Aurora and AWS Database Migration Service
Amazon Aurora and AWS Database Migration ServiceAmazon Aurora and AWS Database Migration Service
Amazon Aurora and AWS Database Migration Service
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
 
What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS SummitWhat’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
 
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
 
10 Hacks for Optimizing MySQL in the Cloud - AWS Online Tech Talks
10 Hacks for Optimizing MySQL in the Cloud - AWS Online Tech Talks10 Hacks for Optimizing MySQL in the Cloud - AWS Online Tech Talks
10 Hacks for Optimizing MySQL in the Cloud - AWS Online Tech Talks
 
Open Source Managed Databases: Database Week SF
Open Source Managed Databases: Database Week SFOpen Source Managed Databases: Database Week SF
Open Source Managed Databases: Database Week SF
 
Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310 Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Oracle and SQL Server on the Cloud

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved Oracle and SQL Server on AWS Joyjeet Banerjee Enterprise Solutions Architect
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved License Included (LI) • License included in instance price – 12.1.02 SE2 – 11.2.0.4 SE1 – 11.2.0.4 SE Bring your own license (BYOL) • Use existing licenses/agreements • Manage your own licenses and support – 12.1.02 EE – 12.1.0.2 SE2 – 11.2.0.4 EE – 11.2.0.4 SE1 – 11.2.0.4 SE Oracle Versions on RDS
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved • Easy to Administer • Scalable and fast • Available and durable • Secure • Inexpensive • Oracle licensing • Managed infrastructure • Available in minutes • Manage parameters and options across instances • Web console, CLI, SDK, AWS CloudFormation templates AMAZON RDS for COMMERCIAL DATABASES
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved RECENT NEW ORACLE RDS FEATURES • Deprecation of 11.2.0.2, 11.2.0.3, 12.1.0.1 • Huge pages • Snapshot upgrade • R4 instance class • Start/stop • Flexible Reserved Instances • Storage—up to 16 TB, faster scaling
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved RECENT NEW/UPDATED OPTIONS • Spatial (requires EE + Spatial and Graph Option license) • Locator • Multimedia • Oracle Application Express—now supports 5.0.4, 5.1.2 (4.1.1, 4.2.6) • Oracle SQLTXPLAIN (SQLT) • Oracle Enterprise Manager Agent—now supports OMS 13cR1, 13cR2
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved HUGE PAGES • Improved memory and CPU utilization • Enable via RDS Parameter Group 1. Disable Automatic Memory Management 2. Enable Automatic Shared Memory Management 3. Set use_large_pages to “ONLY” • RDS automation takes care of kernel parameters • Will be enabled by default on future instance classes (>100 GiB) • Improved memory utilization • Improved CPU utilization
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved ADMINISTERING RDS ORACLE On-Premises Amazon RDS ALTER SYSTEM…; RDS Parameter Groups Install features RDS Option Groups ALTER DATABASE…; GRANT…; exec rdsadmin.rdsadmin_util…; grant…; Backups/RMAN RDS Snapshots OEM, tools OEM, tools
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved ENCRYPTION AT REST Oracle Transparent Data Encryption (TDE) Oracle TDE with Hardware Security Module (TDE_HSM) RDS Storage Encryption EE + ASO EE + ASO All editions/engines • RDS manages wallet and keys • RDS manages wallet • Customer manages HSM device • EBS volume encryption • Completely transparent to host/database • Customer manages keys with Amazon KMS
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved ENCRYPTION IN TRANSIT SSL Option Native Network Encryption (NNE) All Oracle editions (no longer requires ASO as of 11.2) • RDS manages wallets, certificates • Customer imports RDS root certificates into client wallets • Separate TCPS listener port • RDS manages sqlnet.ora • Choose algorithms and level (requested/required/allowed)
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved DATABASE SECURITY RDS Manages Customer Manages • Physical infrastructure controls • Host access • Operating System version/patches • HOW database patches are applied • Database users and privileges • Access to data (Virtual Private Database, Oracle Label Security) • Database Audit • Network controls (VPC Security Groups, Network ACL) • WHEN database patches are applied
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved AUDITING AWS API Auditing (AWS CloudTrail) Database Auditing (AUDIT_TRAIL) • Audit user API calls (e.g. Create-, Modify-, DeleteDBInstance) • Integrates with AWS CloudWatch Logs and Events • Stored in Amazon S3 • Audit in-database operations (AUDIT/NOAUDIT) • Retention managed by customer • Stored on RDS instance (DB, OS, XML) • DBMS_AUDIT_MGMT • Location • Retention
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved • Consider RDS first • Focus on: – Business value tasks – High-level tuning tasks – Schema optimization • No in-house database expertise • Need control over: – DB instance & OS – Backups, Replication – Clustering – sysadmin role • Use features, size or performance options not available in Amazon RDS • S Q L S E R V E R o n A M A Z O N E C 2• A M A Z O N R D S S Q L S E R V E R WHICH SQL SERVER OPTION IS RIGHT FOR YOU?
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved • AWS Managed Service • Managed deployment, patching, Multi-AZ automatic HA, backups and point in time restore • Auditable centralized engine parameter tuning • No direct instance or file system access • Some features are restricted • Self-Managed Solution • Always on Availability Groups for HA • Maintenance Plans for backups • Administrator access to instance and DBs • Custom monitoring agents • Run SSRS, SSIS, SSAS on instance • Hybrid Architectures • legacy versions (self-install) • S Q L S E R V E R o n A M A Z O N E C 2• A M A Z O N R D S S Q L S E R V E R THE DIFFERENCES
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved • Storage I/O contention is one of the main causes for poor SQL Server performance • Use EBS Optimized EC2 Instances • Match storage technology with I/O pattern of workload components • Match instance type to IOPS and throughput needs of workload • Create a single volume for data and logs SQL Server Example Volume Layout C: Boot on General Purpose SSD EBS Volume D: Data and logs on Provisioned IOPS EBS Volume K: Backups on Magnetic ST1 or SC1 EBS Volumes Z: Tempdb on instance storage (if available) SQL SERVER on EC2 STORAGE OPTIMIZATION
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved EBS OPTIMIZATION & VOLUMES • Plan for EC2 Instance EBS Optimized Throughput and IOPS capacity • Plan for EBS Volume Throughput and IOPS capacity • Stripe EBS PIOPS volumes for more than 32,000 IOPS or 500MB/s
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved EBS OPTIMIZATION AND VOLUMES • Plan for EC2 Instance EBS Optimized Throughput and IOPS capacity • Plan for EBS Volume Throughput and IOPS capacity • Stripe EBS PIOPS volumes for more than 32,000 IOPS or 500MB/s r4 family r4.large 2 vCPUs/15.25 GiB RAM Max EBS bandwidth: 425 Mbps Max IOPS (16KB): 3,000 Expected throughput: 53 MB/s … or ~1250 IOPS @ 44KB IO size r4.16xlarge 64 vCPUs/488 GiB RAM Max EBS bandwidth: 14k Mbps Max IOPS (16KB): 75,000 Expected throughput: 1,750 MB/s … or ~40,700 IOPS @ 44KB IO size 1TB GP2 Volume Max. IOPS (16KB): 3,000 Max. throughput: 160 MB/s 3 x 1TB PIOPS (25k IOPS each) Expected IOPS (16KB): 75k Max. throughput: 1,500 MB/s
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved SQL SERVER on EC2 TEMPDB OPTIMIZATION • Consider: • Using multiple tempdb files (1:1 mapping with CPUs, up to 8) • Striping multiple instance storage disks together for higher I/O • Changing SQL Server service startup to Automatic (Delayed Start) to allow instance storage to provision • Scripting/automating configuration on instance boot • Striping solution by consulting partner IFM Ltd. • http://www.ifm.net.nz/cookbooks/amazon-sql-tempdb/index.html
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved SQL SERVER HA AND DR ON AMAZON EC2 • Use multiple Availability Zones • Instance-level and AZ-level failure tolerance • Synchronous replication • Options • Enterprise Edition: Always On Availability Groups • Standard Edition: • Basic Always On Availability Groups (2016+) • Failover cluster instances using partner block-level replication solution
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved ALWAYS ON AVAILABILITY GROUPS (AG)
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved MULTI-REGION ALWAYS ON AG
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved FAILOVER CLUSTER INSTANCES ON EC2 SIOS DataKeeper Cluster Edition
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved RDS STORAGE PERFORMANCE PLANNING Scalable Storage • Maximum storage: 16TB • Maximum IOPS: 32,000 • Amazon RDS storage throughput depends on DB instance class (see equivalent EC2 EBS Optimized instance type) Monitoring I/O efficiency: • CloudWatch Metric Average Queue Depth - I/O requests waiting to be serviced
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved RDS FOR SQL SERVER HIGH AVAILABILITY Amazon RDS for SQL Server Multi-AZ • Principal and secondary DB nodes in different Availability Zones (AZ) • Witness in a 3rd AZ • Leverages SQL Server DB mirroring • Automatic failover (typically, 1-2 minute) • Consider mirroring impact on change heavy workloads
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved • Centralized management of DB engine parameters • Ability to consistently apply configurations to DB instances • Auditability of configuration • Sensible defaults work for most use cases • Ability to create custom parameter groups • Used for enabling additional features • Ability to create custom option groups • Supported options: • Transparent Data Encryption (TDE) in Enterprise Edition only • S3 Backup & Restore • O P T I O N G R O U P S• P A R A M E T E R G R O U P S CENTRALIZED DB ENGINE CONFIGURATION
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved RDS FOR SQL SERVER DATA MOVEMENT .BAK File Import and Export Leverages SQL Server’s native backup functionality AWS Database Migration Service Now supports Change Data Capture from RDS SQL Server DB instances AWS Marketplace Third-party data import and export tools and solutions 1 3 4 Database Publishing Wizard, Import/Export, Bulk Copy Use bcp; export to T-SQL files & load using sqlcmd 2
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved RDS FOR SQL SERVER SUPPORTED VERSIONS Only License Included (LI) for new clusters • SQL Server 2017 RTM CU3 14.00.3015.40 • SQL Server 2016 SP1 CU7 13.00.4466.4 • SQL Server 2014 SP2 CU10 12.00.5571.0 • SQL Server 2012 SP4 GDR 11.00.7462.6 • SQL Server 2008 R2 SP3 GDR 10.50.6560.0
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved SQL SERVER 2017 • Available for EC2 and RDS (including Multi-AZ) • SQL Server 2017 Linux supported on Amazon EC2, RHEL license-included • Cluster & cluster-less Availability Groups (WSFC, Pacemaker, None) • Cross database transactions supported by Always On AG • Automatic plan correction • Graph database capabilities • Linux: • System DBs fixed to /var/opt/mssql/data • One SQL Server instance per server (default instance only)
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved aws.amazon.com/activate Everything and Anything Startups Need to Get Started on AWS