Git Product home page Git Product logo

aws-lambda-simple-service's Introduction

Express in Deployments

A simple Express application built with the intent to test an Express server running in different environments (local, docker, lambda).

Usage

The available make commands can be listed with make help:

Usage: make <target>
  help        This help text.

Serverless
  deploy      Deploy the lambda with serverless
  remove      Destroys the instructure

Express
  local       Locally run the app

Docker
  docker      Build and run in a docker container

Notes

Simple service with the intent to be used for some AWS work involving cloud costing, cold starts and on-demand provisioning of services. There are a couple projects that I'm looking at that don't need a server with 100% uptime. An on-demand server would be ideal, as it significantly reduces the costs associated with the server.

Additionally if it is running in a FaaS infrastructure, then there isn't a need to worry about any real infrastructure. Anything that is a bit complex can be addressed with serverless or terraform (if necessary).

It does raise some concerns about how to perform monitoring and balance concerns (costing / on-demand approach).

On Usages

In terms of project layout, the Makefile works to act as a coordinater for all the components. It is less than an ideal, but I aimed to keep the structure as simple as possible. With it I can pretty easily test some use cases with docker and a server app. The split off app/ avoids the over-reliance on serverless or AWS lock-in.

aws-lambda-simple-service's People

Watchers

 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.