📃
AWS SAA-C02
  • Practice Test Scores
  • Basics of IAM
  • Elastic Compute Cloud (EC2)
    • Overview
    • Security Groups
    • IP Addresses
    • User Data
    • Launch Types
    • Spot Instances
    • Instance Types
    • Amazon Machine Image (AMI)
    • Placement Groups
    • Elastic Network Interface (ENI)
    • Hibernate
  • Elastic Load Balancer (ELB)
    • Basic Terms
    • Elastic Load Balancing
    • Classic Load Balancer (CLB)
    • Application Load Balancer (ALB)
    • Network Load Balancer (NLB)
    • Stickiness
    • Cross Zone Load Balancing
    • SSL Certificates
    • Connection Draining/Deregistration Delay
  • Auto Scaling Groups (ASG)
    • Launch Configurations & Launch Templates
    • Overview
    • Dynamic Scaling and Scheduled Scaling
    • Lifecycle Hooks
    • Scaling Cooldowns
  • EC2 Storage (EBS, EFS, Instance Store)
    • Elastic Block Storage (EBS)
    • EBS Volume Types
    • EBS Snapshots
    • EBS Volume Migration
    • EBS Volume Encryption
    • EBS RAID configurations
    • Instance Store
    • Elastic File System (EFS)
    • EFS vs EBS
  • Relational Database Service (RDS)
    • RDS Overview
    • Running Databases on EC2
    • RDS Backups & RDS Restores
    • RDS Read Replicas
    • RDS Multi AZ
    • RDS Encryption
    • RDS IAM database authentication
    • Aurora
    • ElastiCache
  • Route53
    • Overview
    • DNS Record Types
    • Routing Policies
    • 3rd Party Domains
  • Simple Storage Service (S3)
    • S3
    • Server-Side Encryption
    • S3 Security
    • Pre-signed URLs
    • S3 Websites
    • Cross-origin resource sharing (CORS)
    • Consistency Model
  • Advanced S3 & Athena
    • MFA Delete
    • Access Logs
    • Replication
    • Storage Classes
    • Lifecycle Configuration
    • Performance Optimization
    • Select and Glacier Select
    • Event Notifications
    • Object Lock and Glacier Lock
    • Athena Overview
  • CloudFront & Global Accelerator
    • CloudFront Overview
    • CloudFront Signed URL / Signed Cookies
    • Global Accelerator
  • Storage Gateway & FSx & Snowball/Snowmobile
    • Storage Gateway Overview
    • Storage Gateway File Gateway Hardware Appliance
    • FSx for Windows Servers
    • FSx for Lustre
    • Storage Comparison
    • Snowball/Snowmobile Overview
  • AWS Messaging
  • Simple Queue Service (SQS)
    • Overview
    • Message Visibility Timeout
    • Dead Letter Queues
    • Delay Queues
    • FIFO Queues
    • SQS + Auto Scaling Group
  • Simple Notification Service (SNS)
    • Overview
    • SNS & SQS - Fan Out Pattern
  • Kinesis + MQ
    • Kinesis
    • Amazon MQ
  • Serverless
    • Lamda Overview
    • Lambda@Edge
    • DynamoDB Overview
    • DynamoDB RCUs and WCUs
    • DynamoDB Advanced Features
    • API Gateway Overview
    • API Gateway Security
    • Cognito Overview
    • AWS SAM (Serverless Application Model)
  • Databases & Analytics
    • Databases
    • Analytics
  • Monitoring
    • CloudWatch Concepts
    • CloudWatch Logs
    • CloudWatch Agent
    • EC2 Instance Recovery
    • CloudWatch Events
    • CloudTrail
    • Config
  • Mini Security Lesson
    • IAM Policies
    • Authorization
    • IAM Conditions
    • IAM for S3 Resources
    • IAM Permission Boundaries
  • Security & Management
    • Security Token Service (STS)
    • Identity Federation in AWS
    • Directory Service
    • Organizations
    • Resource Access Manager (RAM)
    • Single Sign On (SSO)
  • Security & Encryption
    • Encryption Overview
    • KMS Overview
    • SSM Parameter Store Overview
    • Secrets Manager Overview
    • CloudHSM
    • Shield
    • Web Application Firewall (WAF) Overview
  • Virtual Private Cloud (VPC)
    • Networking for VPCs
    • Default VPC Overview
    • VPC Overview
    • VPC Subnets
    • Internet Gateways & Route Tables
    • NAT Instances
    • NAT Gateways
    • DNS support in your VPC
    • NACLs vs Security Groups
    • VPC Peering
    • VPC Endpoints
    • VPC Flow Logs
    • Bastion Hosts
    • Site to Site VPN
    • Direct Connect
    • Egress-only Internet Gateway
    • AWS PrivateLink
    • AWS ClassicLink
    • VPN CloudHub
    • Transit Gateway
  • Disaster Recovery & Migrations
    • Plan for Disaster Recovery
    • Database Migration Service (DMS)
    • Migration Services
    • DataSync Overview
  • Other Services
    • Overview of Other Services
Powered by GitBook
On this page
  • High Availability
  • Global Database
  • Aurora Endpoints
  • Aurora Serverless
  • Aurora Multi-Master Clusters

Was this helpful?

  1. Relational Database Service (RDS)

Aurora

  • Aurora is a fully managed relational database engine that's compatible with MySQL and PostgreSQL.

  • With some workloads, Aurora can deliver up to five times the throughput of MySQL and up to three times the throughput of PostgreSQL.

  • The underlying storage grows automatically as needed.

    • An Aurora cluster volume can grow to a maximum size of 128 tebibytes (TiB).

  • Aurora also automates and standardizes database clustering and replication.

High Availability

  • Aurora automatically divides your database volume into 10GB segments spread across many disks.

    • Each 10GB chunk of your database volume is replicated six ways, across three Availability Zones.

  • It can handle the loss of up to two copies of data without affecting write availability.

  • It can handle the loss up to three copies without affecting read availability.

  • Amazon Aurora storage is also self-healing.

    • Data blocks and disks are continuously scanned for errors and repaired automatically.

  • You can create 1 to 15 replicas, in any of 3 AZs, and Amazon RDS will automatically include them in failover primary selection in the event of a database outage.

Global Database

  • An Aurora global database consists of one primary AWS Region where your data is maintained, and up to five read-only, secondary AWS Regions.

    • Aurora replicates data to the secondary AWS Regions with typical latency of under a second.

  • You issue write operations directly to the primary DB instance in the primary AWS Region.

  • An Aurora global database uses dedicated infrastructure to replicate your data, leaving database resources available entirely to serve application workloads.

  • The Aurora cluster in the primary AWS Region where your data is mastered performs both read and write operations.

  • The clusters in the secondary Regions enable low-latency reads.

  • You can scale up the secondary clusters independently by adding one of more DB instances (Aurora Replicas) to serve read-only workloads.

Aurora Endpoints

  • Aurora typically involves a cluster of DB instances instead of a single instance.

  • Each connection is handled by a specific DB instance.

  • When you connect to an Aurora cluster, the host name and port that you specify point to an intermediate handler called an endpoint.

  • Aurora uses the endpoint mechanism to abstract these connections.

  • An endpoint is represented as an Aurora-specific URL that contains a host address and a port.

  • Cluster endpoint

    • A cluster endpoint (or writer endpoint) for an Aurora DB cluster connects to the current primary DB instance for that DB cluster.

    • This is the only endpoint which can perform write operations such as DDL statements.

    • Because of this, the cluster endpoint is the one that you connect to when you first set up a cluster or when your cluster only contains a single DB instance.

  • Reader endpoint

    • A reader endpoint for an Aurora DB cluster provides load-balancing support for read-only connections to the DB cluster.

    • Use the reader endpoint for read operations, such as queries.

    • By processing those statements on the read-only Aurora Replicas, this endpoint reduces the overhead on the primary instance.

  • Custom endpoint

    • A custom endpoint for an Aurora cluster represents a set of DB instances that you choose.

    • An Aurora DB cluster has no custom endpoints until you create one.

Aurora Serverless

  • On-demand, autoscaling configuration for Aurora.

  • Unlike Aurora provisioned database clusters for which you manually manage capacity, an Aurora Serverless database cluster is a database cluster that scales compute capacity up and down based on your application's needs.

  • Provides a relatively simple, cost-effective option for infrequent, intermittent, or unpredictable workloads.

    • Cost-effective because it automatically starts up, scales compute capacity to match your application's usage, and shuts down when it's not in use.

  • Instead of provisioning and managing database servers, you specify Aurora capacity units (ACUs).

    • Each ACU is a combination of processing and memory capacity.

Aurora Multi-Master Clusters

  • In a multi-master cluster, all database instances have read/write capability.

  • Writer:

    • A database instance that can perform write operations.

    • With a single-master cluster, if the writer becomes unavailable, the failover mechanism promotes another DB instance to become the new writer.

  • Multi-master:

    • An architecture for Aurora clusters where each DB instance can perform both read and write operations.

    • Best suited for segmented workloads, such as for multitenant applications.

  • Single-master:

    • Default architecture for Aurora clusters.

    • A single DB instance (the primary instance) performs writes.

    • All other DB instances (the Aurora Replicas) handle read-only query traffic.

    • Appropriate for general-purpose applications.

  • Write conflict:

    • A situation that occurs when different DB instances attempt to modify the same data page at the same time.

PreviousRDS IAM database authenticationNextElastiCache

Last updated 4 years ago

Was this helpful?