API Gateway is an AWS service through which we can create, manage, and deploy different types of APIs, including HTTP, REST, and WebSocket.
In this Cloud Lab, you’ll learn to create a simple multiuser chat application using API Gateway, Lambda, and DynamoDB. You’ll first create a DynamoDB table to serve as our database. Then, you’ll create a Lambda function that will contain the core logic of our application. Finally, you’ll create and deploy a WebSocket API so users can communicate with the server.
By the end of this Cloud Lab, you’ll have hands-on experience developing and managing WebSocket APIs on API Gateway.
The following is the high-level architecture diagram of the infrastructure that we will create in this Cloud Lab: