Giter Club home page Giter Club logo

serverless-api-test's Introduction

Serverless + AWS Lambda

Overview

  • In this morning's session, we'll explore the different technologies used, process/approach, unsolved problems and some wins and challenges that went along in creating my first serverless app.

What problem does serverless solve?

Definition

Serverless is not really serverless...It is a way of programming that allows developers to run functions on a remote third party server. This method is also known as Function as a Service where you are only billed for the compute time you consume - there is no charge when your code is not running.

As per my research on how to deploy a node.js web app, it seems as if going serverless allows you to not worry about managing and provivisoning your servers which will save a lot of time in the end!

Official Lambda Site https://aws.amazon.com/lambda/

Pricing https://aws.amazon.com/lambda/pricing/

  • Advantages
    • Pros

      • no need to update operating systems of servers
      • no need to scale and provision servers
      • monitor servers for performance and availablity
    • Cons

      • you have to give up your secret keys and credentials in order for Lambda to listen to your resources.
    • this is needed so lambda can grab pictures on S3 and run functions on your behalf

      • new technology so potential for bugs
    • installs alot of packages

How did I use serverless?

Created a simple api endpoint that returns a success message in JSON format.

Technologies used

Not interested in serverless?

Setting up MERN Stack on AWS EC2 by Keith Weaver

How to set up your static front end website on AWS

https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html

- Very descriptive but contact me if you have issues redirecting

serverless-api-test's People

Contributors

xingzo avatar

Watchers

James Cloos 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.