SlideShare una empresa de Scribd logo
1 de 29
1
Presented by
David Jones and Chris Williams
AWS Elasticity and Auto Scaling
2
Who Are These Yahoos?
• David Jones (@virtualJonesie)
• Practice Director – Hybrid Cloud Data Center
• AWS Solutions Architect - Professional
• VMware Certified Implementation Expert – Data Center Virtualization (VCIX-DCV)
• VMware VCP-DCV, CMA, NV
• Chris Williams (@mistwire)
• Enterprise Cloud Consultant
• AWS Solutions Architect - Professional
• VCIX, vExpert Cloud, VCP, MCSE, CCNA, LMNOP…
• vBrownBag host/presenter
• http://mistwire.com
3
Agenda
• ASG 101
• What Is It & Why is it SO COOL?
• The Components
• Your Friends: Elastic Load Balancers & Target Groups
• RDS 101
• HA (not the VMWare type) & Multi-AZ architecture
• Scalability != Elasticity
• LIVE DEMO!
• All the appropriate sacrifices to the demo gods have been made*
• Q&A
*no animals were harmed in the creation of this demo
4
Auto Scale 101
5
What Is Amazon EC2 Auto Scaling?
“Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2
instances available to handle the load for your application.”
6
What Is Amazon EC2 Auto Scaling?
“Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2
instances available to handle the load for your application.”
7
What Is Amazon EC2 Auto Scaling?
“Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2
instances available to handle the load for your application.”
Why do you need Amazon EC2 Auto Scaling?
1. Variable load patterns 2. Hardware/Software* Failure 3. Cost Optimization
8
The Components of Auto Scaling: The Launch Configuration
9
The Components of Auto Scaling: The Launch Configuration
10
The Components of Auto Scaling: Auto Scaling Groups
11
The Friends of Auto Scaling: Target Groups
12
The Friends of Auto Scaling: Load Balancers
13
Tying the front end together
1 Dashingly handsome yet humble end-
user goes to website
2 Traffic goes across internet to IGW
3 IGW sends traffic to ELB. ELB routes
traffic to healthy instances
4 ASG uses scaling policy to decide if
more instances are needed. If yes =
MOAR SERVERS!
5 New instances run through launch
config, which includes updates &
mounting EFS drive
14
ASG Gotchas!
 Prep your AMI!
 Give your instances
sufficient time to
come up
 Tune your health checks
15
RDS 101
16
Region
Availability Zone
RDS DB Master
Instance
Availability Zone
RDS DB Standby
Instance (Multi-AZ)
Application
webdemo.us-east-1.rds.amazonaws.com
Synchronous
Replication
RDS 101: High Availability
In a Multi-AZ deployment, Amazon RDS automatically provisions and maintains a synchronous standby replica in
a different Availability Zone.
The primary DB instance is synchronously replicated across
Availability Zones to a standby replica to:
• Provide data redundancy
• Eliminate I/O freezes – snapshots and backups
• Minimize latency spikes during system backups
17
Region
Availability Zone
RDS DB Master
Instance
Availability Zone
RDS DB Standby
Instance (Multi-AZ)
Application
webdemo.us-east-1.rds.amazonaws.com
Synchronous
Replication
Region
Availability Zone
RDS DB Master
Instance
Availability Zone
RDS DB Standby
Instance (Multi-AZ)
Application
webdemo.us-east-1.rds.amazonaws.com
Synchronous
Replication
Amazon RDS handles failovers automatically so you can resume database operations as quickly as possible
without administrative intervention.
RDS 101: High Availability
The primary DB instance switches over automatically to
the standby replica if any of the following conditions
occur:
• An Availability Zone outage occurs.
• The primary DB instance fails.
• The DB instance's DB instance class is changed.
• The operating system of the DB instance is
undergoing software patching.
• A manual failover of the DB instance was
initiated using Reboot with failover.
18
RDS 101: High Availability
Gotchas:
• DB instances using Multi-AZ deployments may have increased write and commit latency compared to a
Single-AZ deployment, due to the synchronous data replication that occurs.
• You may have a change in latency if your deployment fails over to the standby replica, although AWS is
engineered with low-latency network connectivity between Availability Zones.
• For production workloads, AWS recommends that you use Provisioned IOPS and DB instance classes
(m4.large and larger) that are optimized for Provisioned IOPS for fast, consistent performance.
The high-availability feature is not a scaling solution for read-only scenarios; you cannot use a standby replica to
serve read traffic. To service read-only traffic, you should use a Read Replica
19
RDS 101: Scalability
http://mistwire.com/2018/03/how-to-change-the-size-of-your-aws-rds-with-zero-downtime
Amazon RDS Read Replicas provide enhanced performance and durability for database (DB) instances.
• Read Replicas allow you to “elastically” scale out beyond the capacity constraints of a single DB instance for read-
heavy database workloads.
• Create one or more replicas of a DB Instance and
serve high-volume read traffic from multiple
copies of your data, thereby increasing aggregate
read throughput.
• Read replicas can also be promoted to become
standalone DB instances.
• This provides a complementary availability
mechanism to Amazon RDS Multi-AZ
Deployments.
20
RDS 101: Scalability
21
RDS 101: Scalability
When to use Read Replicas
• Scaling beyond the compute or I/O capacity of a single DB instance for read-heavy DB workloads.
• Serving Read traffic while the source DB instance is unavailable.
• If your source DB instance cannot take I/O requests - I/O suspension for backup/maintenance
• Business Reporting or Data Warehousing scenarios
• Business Reporting queries run against a Read Replica, rather than you primary production DB instance.
22
Database Engines: Scalability != High Availability
Multi-AZ Deployment Read Replicas
Synchronous Replication – Highly Durable Asynchronous Replication – Highly Scalable
Only database engine on primary instance is active.
All read replicas are accessible and can be used for
read scaling.
Automated backups are taken from standby. No backups configured by default.
Always span two AZs within a single Region. Can be within an AZ, Cross-AZ, or Cross-Region.
Database engine version upgrades happen on
primary.
Database engine version upgrade is independent
from source instance.
Automatic failover to standby when a problem is
detected.
Can be manually promoted to a standalone
database instance.
23
Live Demo
24
Real World Example
25
Real World Example
26
What Can You Do With This?
27
What Can You Do With This?
28
greenpages.com
greenpages.com/blog
twitter.com/GreenPagesIT
Online
Toll Free (800) 989-2989
Direct (207) 439-7310
Fax (207) 439-7334
Contact
Headquarters:
33 Badgers Island West
Kittery ME 03904
Additional Offices:
Boston MA
New York NY
Alpharetta GA
Tampa FL
Locations
Thank you
29
https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html
http://acloud.guru
http://linuxacademy.com
https://docs.aws.amazon.com/quickstart/latest/linux-bastion/welcome.html
http://mistwire.com/2017/01/my-experience-with-the-aws-solutions-architect-pro-aws-psa-exam/
http://mistwire.com/2017/09/changing-the-size-of-your-ebs-backed-windows-ec2-instance-in-5-easy-steps/
http://mistwire.com/2017/09/use-aws-lambda-to-schedule-instance-startsstops-and-save-some-money/
Resources

Más contenido relacionado

La actualidad más candente

AWS Storage Tiering for Enterprise Workloads
AWS Storage Tiering for Enterprise WorkloadsAWS Storage Tiering for Enterprise Workloads
AWS Storage Tiering for Enterprise WorkloadsTom Laszewski
 
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and ScalableAmazon Web Services
 
Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017
Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017
Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017Amazon 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
 
(BIZ305) Case Study: Migrating Oracle E-Business Suite to AWS | AWS re:Invent...
(BIZ305) Case Study: Migrating Oracle E-Business Suite to AWS | AWS re:Invent...(BIZ305) Case Study: Migrating Oracle E-Business Suite to AWS | AWS re:Invent...
(BIZ305) Case Study: Migrating Oracle E-Business Suite to AWS | AWS re:Invent...Amazon 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 COTS Applications on AWS
Oracle COTS Applications on AWSOracle COTS Applications on AWS
Oracle COTS Applications on AWSTom Laszewski
 
Aws multi-region High Availability
Aws multi-region High Availability Aws multi-region High Availability
Aws multi-region High Availability Adam Book
 
AWS Webcast - Introduction to RDS Low Admin High Perf DBS
AWS Webcast - Introduction to RDS Low Admin High Perf DBSAWS Webcast - Introduction to RDS Low Admin High Perf DBS
AWS Webcast - Introduction to RDS Low Admin High Perf DBSAmazon Web Services
 
Knowledge share about scalable application architecture
Knowledge share about scalable application architectureKnowledge share about scalable application architecture
Knowledge share about scalable application architectureAHM Pervej Kabir
 
Nuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloudNuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloudDavid Veksler
 
Enterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSEnterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSAmazon Web Services
 
AWS Cloud SAA Relational Database presentation
AWS Cloud SAA Relational Database presentationAWS Cloud SAA Relational Database presentation
AWS Cloud SAA Relational Database presentationTATA LILIAN SHULIKA
 
Migrating and Running DBs on Amazon RDS for Oracle
Migrating and Running DBs on Amazon RDS for OracleMigrating and Running DBs on Amazon RDS for Oracle
Migrating and Running DBs on Amazon RDS for OracleMaris Elsins
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Tom Laszewski
 
(DAT309) Scaling Massive Content Stores with Amazon Aurora
(DAT309) Scaling Massive Content Stores with Amazon Aurora(DAT309) Scaling Massive Content Stores with Amazon Aurora
(DAT309) Scaling Massive Content Stores with Amazon AuroraAmazon 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
 
AWS Summit London 2014 | Customer Stories | Just Eat
AWS Summit London 2014 | Customer Stories | Just EatAWS Summit London 2014 | Customer Stories | Just Eat
AWS Summit London 2014 | Customer Stories | Just EatAmazon Web Services
 

La actualidad más candente (20)

AWS Storage Tiering for Enterprise Workloads
AWS Storage Tiering for Enterprise WorkloadsAWS Storage Tiering for Enterprise Workloads
AWS Storage Tiering for Enterprise Workloads
 
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
(DAT303) Oracle on AWS and Amazon RDS: Secure, Fast, and Scalable
 
Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017
Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017
Migrating Your SQL Server Databases to Amazon RDS - DAT312 - re:Invent 2017
 
AWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS Oracle
 
(BIZ305) Case Study: Migrating Oracle E-Business Suite to AWS | AWS re:Invent...
(BIZ305) Case Study: Migrating Oracle E-Business Suite to AWS | AWS re:Invent...(BIZ305) Case Study: Migrating Oracle E-Business Suite to AWS | AWS re:Invent...
(BIZ305) Case Study: Migrating Oracle E-Business Suite to AWS | AWS re:Invent...
 
Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014
 
Oracle COTS Applications on AWS
Oracle COTS Applications on AWSOracle COTS Applications on AWS
Oracle COTS Applications on AWS
 
Aws multi-region High Availability
Aws multi-region High Availability Aws multi-region High Availability
Aws multi-region High Availability
 
AWS Webcast - Introduction to RDS Low Admin High Perf DBS
AWS Webcast - Introduction to RDS Low Admin High Perf DBSAWS Webcast - Introduction to RDS Low Admin High Perf DBS
AWS Webcast - Introduction to RDS Low Admin High Perf DBS
 
Knowledge share about scalable application architecture
Knowledge share about scalable application architectureKnowledge share about scalable application architecture
Knowledge share about scalable application architecture
 
Nuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloudNuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloud
 
Enterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSEnterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWS
 
AWS Cloud SAA Relational Database presentation
AWS Cloud SAA Relational Database presentationAWS Cloud SAA Relational Database presentation
AWS Cloud SAA Relational Database presentation
 
Migrating and Running DBs on Amazon RDS for Oracle
Migrating and Running DBs on Amazon RDS for OracleMigrating and Running DBs on Amazon RDS for Oracle
Migrating and Running DBs on Amazon RDS for Oracle
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
 
Disaster Recovery Synapse
Disaster Recovery SynapseDisaster Recovery Synapse
Disaster Recovery Synapse
 
(DAT309) Scaling Massive Content Stores with Amazon Aurora
(DAT309) Scaling Massive Content Stores with Amazon Aurora(DAT309) Scaling Massive Content Stores with Amazon Aurora
(DAT309) Scaling Massive Content Stores with Amazon Aurora
 
Azure DBA with IaaS
Azure DBA with IaaSAzure DBA with IaaS
Azure DBA with IaaS
 
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 ...
 
AWS Summit London 2014 | Customer Stories | Just Eat
AWS Summit London 2014 | Customer Stories | Just EatAWS Summit London 2014 | Customer Stories | Just Eat
AWS Summit London 2014 | Customer Stories | Just Eat
 

Similar a AWS Elasticity and Auto Scaling

Introduction to AWS Database Services
Introduction to AWS Database ServicesIntroduction to AWS Database Services
Introduction to AWS Database ServicesAmazon Web Services
 
Introduction to AWS Database Services
Introduction to AWS Database ServicesIntroduction to AWS Database Services
Introduction to AWS Database ServicesAmazon Web Services
 
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance DatabaseDay 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance DatabaseAmazon 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
 
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...Amazon Web Services
 
Amazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service MeetupAmazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service Meetupcyrilkhairallah
 
What's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS SummitWhat's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS SummitAmazon Web Services
 
Amazon relational database service (rds)
Amazon relational database service (rds)Amazon relational database service (rds)
Amazon relational database service (rds)AWS Riyadh User Group
 
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWSMigrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWSKristana Kane
 
Running Siebel on AWS - Oracle Open World 13
Running Siebel on AWS - Oracle Open World 13Running Siebel on AWS - Oracle Open World 13
Running Siebel on AWS - Oracle Open World 13Milind Waikul
 
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)Amazon Web Services
 
AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)Amazon Web Services
 
Intro to database_services_fg_aws_summit_2014
Intro to database_services_fg_aws_summit_2014Intro to database_services_fg_aws_summit_2014
Intro to database_services_fg_aws_summit_2014Amazon Web Services LATAM
 
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDSAWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDSAmazon Web Services
 
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...Amazon Web Services
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWSTom Laszewski
 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowAndrew Miller
 
Relational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill BaldwinRelational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill BaldwinAmazon Web Services
 

Similar a AWS Elasticity and Auto Scaling (20)

Introduction to AWS Database Services
Introduction to AWS Database ServicesIntroduction to AWS Database Services
Introduction to AWS Database Services
 
Introduction to AWS Database Services
Introduction to AWS Database ServicesIntroduction to AWS Database Services
Introduction to AWS Database Services
 
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance DatabaseDay 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database
 
MySQL on the Cloud
MySQL on the CloudMySQL on the Cloud
MySQL on the Cloud
 
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
 
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
 
Amazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service MeetupAmazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service Meetup
 
What's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS SummitWhat's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS Summit
 
Amazon relational database service (rds)
Amazon relational database service (rds)Amazon relational database service (rds)
Amazon relational database service (rds)
 
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWSMigrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
 
Running Siebel on AWS - Oracle Open World 13
Running Siebel on AWS - Oracle Open World 13Running Siebel on AWS - Oracle Open World 13
Running Siebel on AWS - Oracle Open World 13
 
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
 
AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)
 
Intro to database_services_fg_aws_summit_2014
Intro to database_services_fg_aws_summit_2014Intro to database_services_fg_aws_summit_2014
Intro to database_services_fg_aws_summit_2014
 
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDSAWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
AWSome Day 2016 - Module 4: Databases: Amazon DynamoDB and Amazon RDS
 
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - Varrow
 
Relational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill BaldwinRelational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill Baldwin
 
Intro to AWS: Database Services
Intro to AWS: Database ServicesIntro to AWS: Database Services
Intro to AWS: Database Services
 

Último

Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLimonikaupta
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 

Último (20)

Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
 

AWS Elasticity and Auto Scaling

  • 1. 1 Presented by David Jones and Chris Williams AWS Elasticity and Auto Scaling
  • 2. 2 Who Are These Yahoos? • David Jones (@virtualJonesie) • Practice Director – Hybrid Cloud Data Center • AWS Solutions Architect - Professional • VMware Certified Implementation Expert – Data Center Virtualization (VCIX-DCV) • VMware VCP-DCV, CMA, NV • Chris Williams (@mistwire) • Enterprise Cloud Consultant • AWS Solutions Architect - Professional • VCIX, vExpert Cloud, VCP, MCSE, CCNA, LMNOP… • vBrownBag host/presenter • http://mistwire.com
  • 3. 3 Agenda • ASG 101 • What Is It & Why is it SO COOL? • The Components • Your Friends: Elastic Load Balancers & Target Groups • RDS 101 • HA (not the VMWare type) & Multi-AZ architecture • Scalability != Elasticity • LIVE DEMO! • All the appropriate sacrifices to the demo gods have been made* • Q&A *no animals were harmed in the creation of this demo
  • 5. 5 What Is Amazon EC2 Auto Scaling? “Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2 instances available to handle the load for your application.”
  • 6. 6 What Is Amazon EC2 Auto Scaling? “Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2 instances available to handle the load for your application.”
  • 7. 7 What Is Amazon EC2 Auto Scaling? “Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2 instances available to handle the load for your application.” Why do you need Amazon EC2 Auto Scaling? 1. Variable load patterns 2. Hardware/Software* Failure 3. Cost Optimization
  • 8. 8 The Components of Auto Scaling: The Launch Configuration
  • 9. 9 The Components of Auto Scaling: The Launch Configuration
  • 10. 10 The Components of Auto Scaling: Auto Scaling Groups
  • 11. 11 The Friends of Auto Scaling: Target Groups
  • 12. 12 The Friends of Auto Scaling: Load Balancers
  • 13. 13 Tying the front end together 1 Dashingly handsome yet humble end- user goes to website 2 Traffic goes across internet to IGW 3 IGW sends traffic to ELB. ELB routes traffic to healthy instances 4 ASG uses scaling policy to decide if more instances are needed. If yes = MOAR SERVERS! 5 New instances run through launch config, which includes updates & mounting EFS drive
  • 14. 14 ASG Gotchas!  Prep your AMI!  Give your instances sufficient time to come up  Tune your health checks
  • 16. 16 Region Availability Zone RDS DB Master Instance Availability Zone RDS DB Standby Instance (Multi-AZ) Application webdemo.us-east-1.rds.amazonaws.com Synchronous Replication RDS 101: High Availability In a Multi-AZ deployment, Amazon RDS automatically provisions and maintains a synchronous standby replica in a different Availability Zone. The primary DB instance is synchronously replicated across Availability Zones to a standby replica to: • Provide data redundancy • Eliminate I/O freezes – snapshots and backups • Minimize latency spikes during system backups
  • 17. 17 Region Availability Zone RDS DB Master Instance Availability Zone RDS DB Standby Instance (Multi-AZ) Application webdemo.us-east-1.rds.amazonaws.com Synchronous Replication Region Availability Zone RDS DB Master Instance Availability Zone RDS DB Standby Instance (Multi-AZ) Application webdemo.us-east-1.rds.amazonaws.com Synchronous Replication Amazon RDS handles failovers automatically so you can resume database operations as quickly as possible without administrative intervention. RDS 101: High Availability The primary DB instance switches over automatically to the standby replica if any of the following conditions occur: • An Availability Zone outage occurs. • The primary DB instance fails. • The DB instance's DB instance class is changed. • The operating system of the DB instance is undergoing software patching. • A manual failover of the DB instance was initiated using Reboot with failover.
  • 18. 18 RDS 101: High Availability Gotchas: • DB instances using Multi-AZ deployments may have increased write and commit latency compared to a Single-AZ deployment, due to the synchronous data replication that occurs. • You may have a change in latency if your deployment fails over to the standby replica, although AWS is engineered with low-latency network connectivity between Availability Zones. • For production workloads, AWS recommends that you use Provisioned IOPS and DB instance classes (m4.large and larger) that are optimized for Provisioned IOPS for fast, consistent performance. The high-availability feature is not a scaling solution for read-only scenarios; you cannot use a standby replica to serve read traffic. To service read-only traffic, you should use a Read Replica
  • 19. 19 RDS 101: Scalability http://mistwire.com/2018/03/how-to-change-the-size-of-your-aws-rds-with-zero-downtime Amazon RDS Read Replicas provide enhanced performance and durability for database (DB) instances. • Read Replicas allow you to “elastically” scale out beyond the capacity constraints of a single DB instance for read- heavy database workloads. • Create one or more replicas of a DB Instance and serve high-volume read traffic from multiple copies of your data, thereby increasing aggregate read throughput. • Read replicas can also be promoted to become standalone DB instances. • This provides a complementary availability mechanism to Amazon RDS Multi-AZ Deployments.
  • 21. 21 RDS 101: Scalability When to use Read Replicas • Scaling beyond the compute or I/O capacity of a single DB instance for read-heavy DB workloads. • Serving Read traffic while the source DB instance is unavailable. • If your source DB instance cannot take I/O requests - I/O suspension for backup/maintenance • Business Reporting or Data Warehousing scenarios • Business Reporting queries run against a Read Replica, rather than you primary production DB instance.
  • 22. 22 Database Engines: Scalability != High Availability Multi-AZ Deployment Read Replicas Synchronous Replication – Highly Durable Asynchronous Replication – Highly Scalable Only database engine on primary instance is active. All read replicas are accessible and can be used for read scaling. Automated backups are taken from standby. No backups configured by default. Always span two AZs within a single Region. Can be within an AZ, Cross-AZ, or Cross-Region. Database engine version upgrades happen on primary. Database engine version upgrade is independent from source instance. Automatic failover to standby when a problem is detected. Can be manually promoted to a standalone database instance.
  • 26. 26 What Can You Do With This?
  • 27. 27 What Can You Do With This?
  • 28. 28 greenpages.com greenpages.com/blog twitter.com/GreenPagesIT Online Toll Free (800) 989-2989 Direct (207) 439-7310 Fax (207) 439-7334 Contact Headquarters: 33 Badgers Island West Kittery ME 03904 Additional Offices: Boston MA New York NY Alpharetta GA Tampa FL Locations Thank you

Notas del editor

  1. Chris and I have been accused of bickering like an old married couple. We could talk about this all night, we slimmed it down as best we could…
  2. CPU Utilization Network throughput Custom Metric SQS queue # ELB SurgeQueueLength SpilloverCount
  3. Creating a launch config is very similar to making a new EC2 instance except that it doesn’t actually spawn a new instance.
  4. All of the things you want do to the new instance while it’s getting added to the ASG
  5. Scaling Policies – where you define the trigger for scaling Target Groups – The load balancing target group associated with the ASG Health Check Grace Period – how long to wait before checking the health of a newly created instance
  6. Load balancer that is associated with this target group The health checks used to determine if the instance is “healthy” (i.e. http or https for web servers)
  7. Multi-AZ Uses synchronous replication from primary AZ to second AZ If primary AZ instance fails, AWS will automatically fail over to secondary AZ instance. Will use the same DNS endpoint, no need to change the connection string(s) in your EC2 instances.   Multi-AZ allows you to have an exact copy of your production DB in another AZ. AWS handles the replication for you. When Prod DB is written to, this write will automatically be synchronised to the standby DB. Multi-AZ DBs available for SQL Server Oracle MySQL Server PostgreSQL MariaDB
  8. Running a DB instance with high availability can enhance availability during planned system maintenance, and help protect your databases against DB instance failure and Availability Zone disruption. In the event of DB Maintenance, DB instance failure, or an AZ failure, Amazon RDS will automatically failover to the standby so DB operations can resume quickly without admin intervention. Multi-AZ deployments for Oracle, PostgreSQL, MySQL, and MariaDB DB instances use Amazon's failover technology. SQL Server DB instances use SQL Server Mirroring. Amazon Aurora instances stores copies of the data in a DB cluster across multiple AZs in a single AWS Region, regardless of whether the instances in the DB cluster span multiple AZs.
  9. May have increased write commit latency – write not committed until written in both primary and standby. If failed over, may have increased latency going from app across AZs to DB – despite high-speed backend network Multi-AZ is used for DR only. It is NOT used for performance.
  10. Scalability - Increase instance size. Elasticity - Not very elastic, can't scale RDS based on demand. Read Replicas Allow you to have a read-only copy of your Prod DB. Achieved using asynchronous replication from the primary RDS instance to the read replica. Use Read Replicas for very read-heavy DB workloads Read Locally, Write Globally Good for reporting, test/dev, etc. Used for Scaling, NOT DR! Must have automatic backups turned on in order to deploy a read replica. Once the Read Replica is created, DB updates on the source DB instance will be replicated using supported engine's native. asynchronous replication.
  11. Reads stay within the region, writes go to the master. Could also have a BI/Reporting system pulling from a Read Replica. Good exam topic!
  12. You CAN have Read Replicas of Read Replicas for scaling - Watch out for latency! Asynch replication from Primary to Read Replica, then Asynch Replication from Read Replica to child Read Replica can instroduce latency in data on child replica. Up to 5 copies/read replicas of your primary DB instance. Each Read Replica has it's own DNS end point Cannot have Read Replicas that have Multi-AZ enabled. If you create a Read Replica, it woll NOT be a Multi-AZ Read Replica - only a single instance of the Read Replica in a single AZ. You CAN have a Read Replica of a Multi-AZ source DB. Read Replicas can be promoted to their own DB instances. This breaks replication. Can have Read Replicas in a second Region Only for MySQL and MariaDB NOT for PostgreSQL Read Replica can be larger than the source DB Use the Engines' native asynch replication to update the Read Replica MySQL PostgreSQL MariaDB Not on the exam yet Aurora Employs SSD-backed virtualized storage layer purpose-built for DB workloads. Aurora replicas share the same underlying storage as the source instance Lowers the cost and voids the need to copy data to the replica nodes.
  13. You can combine Multi-AZ deployments and read replicas to enjoy the benefits of each. For example, you can configure a source database as Multi-AZ for high availability and create a read replica (in Single-AZ) for read scalability. With RDS for MySQL and MariaDB, you can also set the read replica as Multi-AZ, allowing you to use the read replica as a DR target. When you promote the read replica to be a standalone database, it will already be Multi-AZ enabled. Note that RDS for PostgreSQL does not yet support this feature.