chalice
ruling a domain without a server
AWS serverless architecture
chalice, a serverless microframework
- chalice library
- chalice command line
$ pip install chalice
$ chalice new-project myapp
from chalice import Chalice
app = Chalice(app_name='myapp')
@app.route('/')
def index():
return {'hello': 'world'}
pluses
- dead simple
- no infrastructure
- easily scalable
- it's micro!
but is serverless cheaper?
- you pay almost nothing for lightweight workloads
- occasional usage spikes don't add much to the cost
- VMs are probably cheaper for consistent heavy use