Skip to content

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

License

Notifications You must be signed in to change notification settings

danilop/serverless-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, deploy.sh 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 deploy.sh 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.

    ./deploy.sh LambdaChatStack us-west-1 my.s3.bucket.name

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 deploy.sh.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published