Awesome Open Source
Awesome Open Source

Serverless Chat

A serverless web chat built using AWS Lambda, AWS IoT (for WebSockets) and Amazon DynamoDB.

The architecture of this application is described in this article:

Deploying to AWS

A script is provided, which uses AWS CloudFormation to provision all the resources needed for this demo. To use it:

  • Create an AWS account.

  • Visit the IoT management page in the AWS web console and ensure that an IoT endpoint has been provisioned for your account.

  • Install the AWS command line tools and set up your credentials.

  • Run the script, specifying a name for your new CloudFormation stack, an AWS region and the name of an S3 bucket where the CloudFormation config files will be stored. The S3 bucket will be created if it does not exist.

    ./ LambdaChatStack us-west-1

Once the AWS resources have been provisioned, the script will print a URL to visit in your browser to see the demo.

NB: The Kinesis functionality has been disabled because it is billed per shard-hour. To enable it, edit cloudformation/template.yaml and uncomment the relevant lines before running

Alternatives To Serverless Chat
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,060,209
Amazon Web Services (38,275
Lambda Functions (13,959
Websocket (13,853
Internet Of Things (11,925
Serverless (9,840
Mqtt (7,895
Cloudformation (3,510
Dynamodb (3,381
Aws Lambda (3,371
Aws Iot (228
Amazon Dynamodb (31