Serverless Python And a tangent about the secret origins of the Power Rangers By Shy Ruparel

Shy Ruparel Developer Evangelist | Contentful @ShyRuparel He/Him

serverless vs Serverless

Serverless Architectures

Source: https://martinfowler.com/bliki/Serverless.html

Why Serverless?

Pay for What you Use

1 Request = 1 Server

SERVERLESS Going serverless allows you to create and run applications and services without having to worry about servers - at least not servers that you have to maintain. Zero Downtime Zero Maintenance Pay for what you use Infinite Scaling

Please don’t fire your ops team

Let’s look at the state of serverless python

Serverless Chalice Zappa

WSGI Microservice

WSGI Microservice Serverless Zappa Serverless AWS Chalice Zappa

Vendor Lock-in

Let’s make a Microsite

But first it’s time for a small tangent

19 The Origin of Power Rangers

KYŌRYŪ SENTAI ZYURANGER MIGHTY MORPHIN POWER RANGERS 1992-1993 1993-1996

Ok. So I built a dumb Website about this.

www.contentful.com HENSHIN.RUPAREL.CO

80 LINE FLASK APP + CONTENTFUL

www.contentful.com CONTENTFUL

Let’s make it serverless

AWS Lambda + API Gateway

Content Infrastructure Me Writing Content and hoping my friends will share my weird hobbies and help me with this site Browser API Gateway AWS Lambda Zappa Me Writing Code

SERVERLESS FRAMEWORK

SERVERLESS FRAMEWORK CONFIG

www.contentful.com BOTH DEPLOYMENT FRAMEWORKS HANDLE AWS LAMBDA AND API GATEWAY

38 Let’s talk Metrics

30 ms RENDER TIME

$0.000000002/ms COST ON LAMBDA

3,200,000 FREE FUNCTION CALLS ON LAMBDA

$3.50 PER MILLION CALLS ON API GATEWAY

Basically no time TO GET UP AND RUNNING

Shy Ruparel Developer Evangelist | Contentful @ShyRuparel He/Him Slides -> GitHub.com/shy/talks Background Images -> wocintechchat.com