Look Ma! No servers...

No hands Ma

Now how are we going to feed ourselves son?!

Shiva

Shiva Narayanaswamy / @shivamaan / Envato
Learner of systems, practicer of practices and thinker of things

Morpheus Meme

Smells like Serverless

  • You don’t make infrastructure choices
    How big... What instance type... Which subnet...
  • You don’t make capacity choices
    Do I need autoscaling... How many instances do I need...
  • You don’t make software choices
    Which OS... What patch level...
  • You don’t pay for idle capacity
Kelsey Tweet

Shades of serverless

  • Compute
    (AWS Lambda, Azure Functions, Google Cloud Functions, Stdlib...)
  • Database
    (DynamoDB, Firebase, FaunaDB...)
  • Containers
    (Fargate, GKE, Azure Container Service...)
  • PaaS
    (Heroku, OpenShift, Cloud Foundry...)
  • Others
    (Algorithmia, Auth0, Stripe, Cloudflare workers, Auth0 webtasks...)
Hammer and Screw

Serverless function Execution Models

Asynchronous workflows

EVENTS AND STREAMS
Ripple Counter

Rube Goldberg architecture

Coordination

Just because you can doesn't mean you should

Make it Async

NoCode Nirvana?

Auto Pilot

Noops Nirvana?

Auto Pilot
I care

about

Deployments

Tool Sprawl

Lots of tools

Function Sprawl

Swarm of Starlings

Pipelines

Steam pipelines

Shared code, infrastructure

Sharing
I care

about

Security

Lambda patched

Vulnerable Libraries

Vulnerable Libraries
Scrabble Secret

Function boundary is your perimeter

Function Boundaries

DoS attacks

Ants
Auto Pilot

about

Observability

Four Pillars

  • Log aggregation/analytics
  • Monitoring
  • Alerting/Vizualization
  • Distributed systems tracing infrastructure

Logs

Auto Pilot Auto Pilot
Datadog
Netflix Vizceral

Developer ∙ Operations ∙ Engineering

DevOps Blues Brothers

Serverless first…

a loosely held strong opinion

References

Namaste

T H A N K Y O U

Presentation available at https://shivaman.github.io/

Shiva Narayanaswamy / @shivamaan