The Simple Web Service

Last Updated: July 17, 2020

A basic of pattern for creating a serverless API or web service. This example uses DynamoDB as the database because it scales nicely with the high concurrency capabilities of AWS Lambda.

Interactive Reference Architecture

Click on the components or numbered steps below to explore how this architecture works.

This is the most basic of patterns you’re likely to see with serverless applications. The Simple Web Service fronts a Lambda function with an API Gateway. I’ve shown DynamoDB as the database here because it scales nicely with the high concurrency capabilities of Lambda.

Deploy this Pattern

Below are the basic configurations for deploying this pattern using different frameworks and platforms. Additional configuration for your environment will be necessary. The source files and additional examples are available in the GitHub repo.

  • Are you a CDK Guru?
    Would you like to contribute patterns to the community?
    Check out the Github repo!

Want to Contribute?

All patterns and sample code are free to use and available under the MIT License. If you'd like to contribute to these patterns, please submit PRs to the GitHub repo.

» Explore more Serverless Reference Architectures and Patterns

1 thought on “The Simple Web Service”

  1. Nice !
    I am curious to know: how did you create your interactive architecture diagram ? Did you implement it by yourself or with a 3rd party tool/lib ?
    Thanks for sharing !

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.