/serverless-tute

Serverless - Functions-as-a-Service

Primary LanguageJavaScript

serverless-tute

Serverless (Functions as a Service -- FaaS) tute

Concepts

Keywords:

  • Stateless Functions
  • Cold starts vs Warm starts
  • Auto-scaling vs PaaS vs FaaS
  • Pay-per-execution Pricing Model

Serverless on AWS

Basically, the key idea for running a serverless application on AWS means:

Optionally,

  • If you have a client-side SPA frontend that XHR to your Lambda backend functions, then you can compile static resources and, serve this client-side SPA through S3 -- with or without CloudFront, or CloudFlare as CDN.
  • Your backend could be just pure compute function. Otherwise, some business logic implementation or, data processing and transformation (ETL for example) using persistence backend stack like RDS for database, DynamoDB or DocumentDB for NoSQL. And additionally a message queue like SQS or EventBridge in the mix!

Approaches