Aurora Multi Master


DVA-C02 Introduction
Working with Large Tables in DynamoDB
Amazon MemoryDB for Redis

The course is part of this learning path

Start course
2h 46m

This course provides detail on the AWS Database services relevant to the AWS Certified Developer - Associate exam. This includes Amazon RDS, Aurora, DynamoDB, MemoryDB for Redis, and ElastiCache.

Want more? Try a lab playground or do a Lab Challenge!

Learning Objectives

  • Obtain a solid understanding of the following Amazon database services: Amazon RDS, Aurora, DynamoDB, MemoryDB for Redis, and ElastiCache
  • Create an Amazon RDS database
  • Create a DynamoDB database
  • Create an ElastiCache cluster

An Aurora multi-master setup allows you to configure a pair of masters in an active-active read-write configuration which can later be scaled up on demand by the customer to a maximum of four masters. In this configuration, you can read and write to any of the provisioned master instances, providing improved fault tolerance within the compute layer.

In the example shown here, the configuration deploys an active-active pair of compute instances with each instance being deployed in its own availability zone. If an instance outage occurs in one availability zone, all database writes can be redirected to the remaining active instance managed by the customer in the client-side logic, and all without the need to perform a failover. This also provides protection from az outages.

As earlier mentioned, when required, a customer can scale up the multi-master instance count up to a maximum of four instances. Do keep in mind that in this multi-master configuration, you cannot add additional read replicas into the cluster. In terms of connection management, incoming database connections are not load-balanced by the service. Rather, the load balancing connection logic must be implemented by you and performed on the client side. With this in mind, let's now take a quick look at a demo that shows how easy it is to set up and use a multi-master Aurora database cluster, complete with client-side connection management.

About the Author
Learning Paths

Stuart has been working within the IT industry for two decades covering a huge range of topic areas and technologies, from data center and network infrastructure design, to cloud architecture and implementation.

To date, Stuart has created 150+ courses relating to Cloud reaching over 180,000 students, mostly within the AWS category and with a heavy focus on security and compliance.

Stuart is a member of the AWS Community Builders Program for his contributions towards AWS.

He is AWS certified and accredited in addition to being a published author covering topics across the AWS landscape.

In January 2016 Stuart was awarded ‘Expert of the Year Award 2015’ from Experts Exchange for his knowledge share within cloud services to the community.

Stuart enjoys writing about cloud technologies and you will find many of his articles within our blog pages.