Upgrade to Pro — share decks privately, control downloads, hide ads and more …

In the land of Serverless, who uses Zappa is ki...

Pycon ZA
October 05, 2017

In the land of Serverless, who uses Zappa is king! by Jonatas Baldin

Serverless is an architecture style where we don't have servers*, dealing just with third-party services. This means infinite scaling, less downtime and less maintenance. Of course this is not the answer for every problem, but it can be a good choice.

Together with this concept, there's Zappa, a framework that makes that easily to deploy Python WSGI applications with AWS Lambda and AWS API Gateway.

In this talk, we're going to discuss about the concept and the tool, deploying a web Python application with Zappa!

Kidding: Serverless still has servers ;)

Pycon ZA

October 05, 2017
Tweet

More Decks by Pycon ZA

Other Decks in Programming

Transcript

  1. * First 1 million requests per month are free *

    $0.20 per 1 million requests thereafter ($0.0000002 per request)
  2. Serverless Frameworks* It's been two years since the first one

    and we already have like 20+ frameworks
  3. Serverless Frameworks* It's been two years since the first one

    and we already have like 20+ frameworks
  4. Serverless Frameworks* It's been two years since the first one

    and we already have like 20+ frameworks WHY?
  5. Python WSGI Applications Great for micro AND macro services AWS

    Lambda + AWS API Gateway AWS Event Sources Cron-like Events Logs Rollback
  6. Environment variables from S3 Multiple stage deployments Django Management Commands

    (yeah!) Keep Warm Free SSL Globally Distributed Availability
  7. # zappa_settings.json { "dev": { "aws_region": "us-east-1", "django_settings": "hello.settings", "profile_name":

    "default", "project_name": "hello", "runtime": "python3.6", "s3_bucket": "zappa-huyg6op0s" } }