From the course: AWS Certified Developer - Associate (DVA-C02) Cert Prep

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Amazon DynamoDB global tables

Amazon DynamoDB global tables

- [Instructor] Now let's look at DynamoDB Global Tables. DynamoDB Global Tables allows you to automatically replicate your DynamoDB table across AWS regions of your choice. If you're building towards a multi-region architecture for an application, the advantage of this for you as a developer is you no longer have to supervise the replication of data yourself. DynamoDB manages the synchronization of tables via DynamoDB Streams. So before you can enable global tables, you have to enable DynamoDB Streams with the NEW_AND_OLD_IMAGES StreamViewType. So how does it work? Say, for example, you have global tables located in the N. Virginia region, Cape Town region, and another one in the Singapore region. If a user writes a new item in the table in N. Virginia, that change will be propagated a synchronously across the tables in Cape Town and Singapore. The same logic is true if a user writes to the table in Cape Town, the…

Contents