đ Â Hi, I'm RafaĆ
@RafalWilinski
rwilinski.me
ABOUT
SERVERS
WHAT IS SERVERLESS?
"SERVERLESS APPLICATIONS DON'T REQUIRE YOU TO PROVISION, SCALE, AND MANAGE ANY SERVERS.
Â
YOU CAN BUILD THEM FOR ANY TYPE OF APPLICATION AND EVERYTHING REQUIRED TO RUN AND SCALE YOUR APPLICATION WITH HIGH AVAILABILITY IS HANDLED FOR YOU."
https://aws.amazon.com/serverless/
Â
Serverless is a new paradigm of computing that abstracts away the complexity associated with managing servers for mobile and API backends, Â data processing jobs, databases, and more.
https://cloud.google.com/serverless/
"A Serverless solution is one that costs you nothing to run if nobody is using it*"
*(EXCLUDING DATA STORAGE)
- Paul Johnston
COOL?
COOL?
your only responsibility
Serverless Compute Platform for state-less event driven code execution
FAAS
Function-as-a-service
Request
User
Backend
User
API Gateway
Request
Ephemeral Container with your code
Request
Functions & services are bricks.
Â
You are the architect, not just a programmer.
PROS
PROS
Lower operational and development costs
Automatic Scaling
Every single endpoint can have separate environment
Â
Every single invocation can be executed in separate environment
Reduced time to market and quicker software release
Reduced time to market and quicker software release
CONS
CONS
Architectural complexity
HIGHLY Distributed System
The Network is reliable
Latency is zero
Bandwidth is infinite
Network is secure
Topology doesn't change
There is one Administrator
Transport cost is zero
The network is homogeneous
DEBUGGING IS HARD
TESTING IS HARD
DESIGNING FOR FAILURE IS HARD
Vendor Lock-in
LIMITED Control Over Environment
Providers
& tooling
AWS Lambda
API Gateway
DynamoDB
Micfosoft Azure
Google Cloud Functions
APEX
Serverless Framework
DEMO TIME
DEMO TIME
Serverless 101
By Rafal WiliĆski
Serverless 101
- 375