The document discusses serverless computing and functions as a service (FaaS) platforms. It provides an overview of Amazon Lambda including details on storage limits, duration limits, memory sizes, and how functions are executed in containers. It also summarizes the key points of Amazon's serverless manifesto and lists several FaaS providers and event sources. The document raises questions about the challenges of orchestrating containers at scale and implementing serverless architectures for low latency and state management.
10. Serverless
Culture
Don’t build, when you
can buy.
Build as little as
necessary.
Build with the minimum
operational complexity.
Maybe all you need are some circles
15. @ewindisch @IOpipes
The 12 Factor App
I. Codebase One codebase tracked in
revision control, many deploys
II. Dependencies Explicitly declare and isolate
dependencies
III. Config Store config in the environment
IV. Backing services Treat backing services
as attached resources
V. Build, release, run Strictly separate build
and run stages
VI. Processes Execute the app as one or more
stateless processes
VII. Port binding Export services via port
binding
VIII. Concurrency Scale out via the process
model
IX. Disposability Maximize robustness with
fast startup and graceful shutdown
X. Dev/prod parity Keep development,
staging, and production as similar as possible
XI. Logs Treat logs as event streams
XII. Admin processes Run admin/management
tasks as one-off processes
16. @ewindisch @IOpipes
Amazon’s “Serverless (functions) Manifesto”
✤ Function are the unit of deployment and scaling.
✤ No machines, VMs, or containers visible in the programming model.
✤ Permanent storage lives elsewhere.
✤ Scales per request; Users cannot over- or under-provision capacity.
✤ Never pay for idle (no cold servers/containers or their costs).
✤ Implicitly fault-tolerant because functions can run anywhere.
✤ BYOC - Bring Your Own Code.
✤ Metrics and logging are a universal right.
32. @ewindisch @IOpipes
Amazon’s “Serverless (functions) Manifesto”
✤ Function are the unit of deployment and scaling.
✤ No machines, VMs, or containers visible in the programming model.
✤ Permanent storage lives elsewhere.
✤ Scales per request; Users cannot over- or under-provision capacity.
✤ Never pay for idle (no cold servers/containers or their costs).
✤ Implicitly fault-tolerant because functions can run anywhere.
✤ BYOC - Bring Your Own Code.
✤ Metrics and logging are a universal right.