Building a Basic Collaborative Document Editing Service

Building a Basic Collaborative Document Editing Service
Building a Basic Collaborative Document Editing Service

CLOUD LABS



Building a Basic Collaborative Document Editing Service

In this Cloud Lab, you’ll learn how to build a basic collaborative document editing system on AWS.

10 Tasks

intermediate

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Hands-on experience building a collaborative document editing system
Working knowledge of SQS queue
A thorough understanding of WebSocket APIs

Technologies
API Gateway logoAPI Gateway
SQS logoSQS
S3 logoS3
EC2 logoEC2
Lambda logoLambda
Cloud Lab Overview

A collaborative document editing system is a platform or software that allows multiple users to edit, review, and comment on the same document simultaneously, often in real time. These systems are widely used for collaboration, content creation, and remote work.

In this Cloud Lab, you’ll build a basic document editing system. You’ll start by creating a WebSocket API to handle the user requests and a DynamoDB table to store user information. You’ll also create a Lambda function to handle the routes. Then, you’ll create an S3 bucket to store the documents. Moving on, you’ll create an SQS to queue the edits done by multiple users in order. Then, you’ll create an EC2 compute instance to get the user edits and update the documents using operational transform. Finally, you’ll deploy the web application and test it.

By the end of this cloud lab, you’ll develop a basic understanding of how collaborative document editing systems can be designed on AWS. The architecture diagram below shows the provisioned infrastructure:

A collaborative document editing system on AWS
A collaborative document editing system on AWS

Cloud Lab Tasks
1.Introduction
Getting Started
2.Set Up the Database
Create a DynamoDB Table
Create an S3 Bucket
3.Set Up the Queue
Create an SQS Queue
4.Set Up the API
Create a Lambda Function
Create a WebSocket API
5.Put It All Together
Launch an EC2 Instance
Test the Application
6.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like