EC2
Scalability and Elasticity
Scalability
* Increase Instance Size as required, using reserved instances
Elasticity
* Increase the number of EC2 instances, based on autoscaling
DynamoDB
Scalability and Elasticity
Scalability
* Unlimited amount of storage
Elasticity
* Increase additional IOPS for additional spikes in traffic
* Decrease that IOPS after the spikeRDS
Scalability and Elasticity
Scalability
* Increase Instance Size as required.
* from small to medium
* There is a small downtime, do it during maintenance windowElasticity
* Can’t scale RDS based on demand
Aurora
Scalability and Elasticity
Scalability
* Modify instace type, small to large
Elasticity
* Aurora Serverless
Multi-AZ
Multi-AZ for SQL Server
* It uses SQL Server-native Mirroring technology
Multi-AZ for MySQL, Oracle, and PostgreSQL
You are doing a backup and restore, it’s affecting your production database, how can you avoid that?
* Backups and restores are taken from secondary DB which avoids I/O suspension to the primary
Read Replicas
It’s a read-only database.
When would you use Read Replicas?
What happens when you create a new Read Replica?
True or False
You can have read replicas in different Regions for all engines
True
True or False
Read Replicas cannot be multi-AZ
False - Read Replicas can be multi-AZ
What is a key metric to look for using Read Replicas?
REPLICA LAG
The higher, the worst
When is a good use case for promoting read replicas into its own DB instance?
* It’s like cloning your DB instance.
How do you simulate a failover?
Reboot the DB so it does the failover.
What are the steps to encrypt RDS Instances?
Sharing Encrypted RDS Snapshots between accounts
What happens when Aurora is at 100% CPU Utilization?
Writes causing issue.
Scale Up → Increase instance size
What happens when Aurora is at 100% CPU Utilization?
Reads causing issue.
Scale Out → Add more read replicas
aws rds describe-db-instances –region
What does this command do?
See what version you are using, and all the description for the instance that you are using.
Which Services have Maintenance Windows?
RERDND
Services without maintenance windows:
Which engine of ElastiCache support Multi-AZ?
Redis - Master/Slave replication
- Memcached does not support Multi-AZ