ZAPPA

Serverless Python Web Services - Powered by AWS Lambda and API Gateway

Never Worry About Web Hosting Again

With Zappa, horizontal scaling is handled automatically.

work

Deploy your WSGI apps on AWS Lambda

With Zappa, each request is given its own virtual HTTP "server" by Amazon API Gateway. AWS handles the horizontal scaling automatically, so no requests ever time out. After your app returns, the "server" dies.

  • No more tedious web server configuration!
  • No more paying for 24/7 server uptime!
  • No more worrying about load balancing / scalability!
  • No more worrying about web server security!

Try it out!

The easiest way to get started is to follow the README on GitHub!

The Future of App Deployment

Zappa has many advantages over VPS and PaaS vendors like Linode or Heroku.

Infinately Scalable

Horizontal scaling is handled automatically!.

Pay by the Millisecond

With Zappa, you only pay for server time you actually use, rather than 24/7/365. That can save you thousands of dollars!

Easy To Use

With Zappa, you can deploy and update your code with a single command!

Use Your Existing Code

Zappa works with any WSGI app, so you don't need to modify your app code at all!

No Vendor Lock-In

You're not tied to Zappa - if you want to leave, that's totally fine!

Free and Open Source

Zappa is Free Software!


Common Questions

Because you're going to ask!

What do you mean, serverless?

Okay, so there still is a server - but it only has a 40 millisecond life cycle! Serverless in this case means "without any permanent infrastucture." With a traditional HTTP server, the server is online 24/7, processing requests one by one as they come in. If the queue of incoming requests grows too large, some requests will time out. With Zappa, each request is given its own virtual HTTP "server" by Amazon API Gateway. AWS handles the horizontal scaling automatically, so no requests ever time out. Each request then calls your application from a memory cache in AWS Lambda and returns the response via Python's WSGI interface. After your app returns, the "server" dies.

What frameworks are compatible with Zappa?

Zappa works with any WSGI-compatible that works with Python 2.7. That means - pretty much all of them! Django, Flask, Pyramid, Bottle, and many others all work with Zappa.

Isn't this just CGI? Isn't that bad?

CGI is inefficient, certainly, but mainly because it blocks other requests on a single machine. Because Zappa is automatically distributed across n-many virtual instances, there's no blocking, and since the application is called from memory, the overhead is less than 20 milliseconds.

Is the website I'm currently looking at powered by Zappa?

Yep!


Built By The Best

Zappa is built and used by the cloud scalabilty experts at Gun.io.

Try it out!

The easiest way to get started is to follow the README on GitHub!