Code Monkey home page Code Monkey logo

sns-sms-lambda-notifier's Introduction

Design

The design of this system uses API-GW integrations, Lambdas, SNS, DynamoDB.

The intent was to create a scalable, resilient service with the least amount of infrastructure possible. Lambda enables us to create a resilient application without having to configure a VPC, Subnets etc.

Out of the Box Lambda enables us to Vertically scale, while also enabling fault tolerance (Lambdas are fault tolerant by design.)

The use of API gateway was so that we could integrate these lambdas, but also provides a series of WAF Rules (Not Implemented). As well as enabling GET based Caching.

Below are some diagrams of the infrastructure

First Attempt

First

In the first attempt we keep it quite simple, using APIGW as described above to interact with the components.

Second Attempt

Second

Here we start being a bit more security conscious. We introduce a Cloudfront to enable get caching in a future layer, while also apply WAF Rules to blacklist ips and throttle DDOS attempts. This also has the added benefit of Edge Routing to reduce latency.

We also introduce a custom authorizer and a login system. This means that users must be authorised to retrieve messages.

We also enable ROUTE-53.

Further considerations around structuring the data to only enable people to message certain people based on usertype can be made with this design.

sns-sms-lambda-notifier's People

Contributors

dependabot[bot] avatar podginator avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.