AWS Chalice

AWS Chalice allows you to quickly create and deploy applications that use Amazon API Gateway and AWS Lambda. It provides:

  • A command line tool for creating, deploying, and managing your app
  • A familiar and easy to use API for declaring views in python code
  • Automatic IAM policy generation
$ pip install chalice
$ chalice new-project helloworld && cd helloworld
$ cat

from chalice import Chalice

app = Chalice(app_name="helloworld")

def index():
    return {"hello": "world"}

$ chalice deploy

$ curl https://endpoint/api
{"hello": "world"}

Up and running in less than 30 seconds.