S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling...

11
Aurora 101

Transcript of S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling...

Page 1: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

Aurora 101

Page 2: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

What is AuroraAURORA 101

Amazon Aurora is a MySQL/PostgreSQL compatible, relational database engine that combines the speed and availability of high-end commercial databases with the simplicity and cost-effectiveness of open source databases. Amazon Aurora provides up to five times better performance than MySQL (and three times better performance than PostgreSQL) at a price point one tenth that of a commercial database while delivering similar performance and availability.

Page 3: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

• Start with 10GB, Scales in 10GB increments to 64TB (Storage Autoscaling)

• Compute resources can scale up to 64vCPUs and 488GiB of Memory.

• 2 copies of your data is contained in each availability zone, with minimum of 3 availability zones. 6 copies of your data.

Aurora ScalingAURORA 101

Page 4: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

• Aurora is designed to transparently handle the loss of up to two copies of data without affecting database write availability and up to three copies without affecting read availability.

• Aurora storage is also self-healing. Data blocks and disks are continuously scanned for errors and repaired automatically.

Aurora ScalingAURORA 101

Page 5: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

Aurora DB ClusterAURORA 101

Page 6: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

• 2 types of Replicas are available:

• Aurora Replicas (currently 15)• MySQL Read Replicas (currently 15)

Aurora ReplicasAURORA 101

Page 7: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

Aurora at 100% CPU Utilization? • Is it Writes causing the issue? If so Scale Up (increase

instance size)• Is it Reads causing the issue? If so Scale Out (increase the

number of read replicas).

Aurora 100% CPU Utilization?AURORA 101

Page 8: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

Aurora ServerlessAURORA 101

Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically start-up, shut down, and scale up or down capacity based on your application's needs.You pay on a per-second basis for the database capacity you use when the database is active, and you can migrate between standard and serverless configurations with a few clicks in the Amazon RDS Management Console.

Page 9: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

Aurora Comes In Two Flavours• Aurora• Aurora Serverless

Redundancy - Two copies of your data is contained in 3 separate Availability Zones with a total of 6 copies.

Storage Is Self Healing - Data blocks and disks are continuously scanned for errors and repaired automatically.

Aurora Exam TipsAURORA 101

Page 10: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

Aurora Exam TipsAURORA 101

Page 11: S4 L11 Aurora 101... · 2020. 8. 26. · AURORA 101 Aurora Serverless is an on-demand, auto-scaling configuration for Aurora (MySQL-compatible edition) where the database will automatically

Aurora at 100% CPU Utilization? • Is it Writes causing the issue? If so Scale Up (increase

instance size)• Is it Reads causing the issue? If so Scale Out (increase the

number of read replicas).

Aurora 100% CPU Utilization?AURORA 101