更新时间:2021-07-16 18:17:00
封面
Title Page
Copyright and Credits
Building Serverless Python Web Services with Zappa
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the colour images
Conventions used
Get in touch
Reviews
Amazon Web Services for Serverless
Technical requirements
Transitioning from traditional server to serverless
Getting started with AWS Lambda
How AWS Lambda works
Configuration
Function code
Environment variables
Tags
Execution role
Basic settings
Network
Debugging and error handling
Monitoring
Executing the Lambda function
Creating Lambda triggers
Serverless RESTful API
AWS Lambda interaction with theAWS CLI
Installing the AWS CLI
Configuring the AWS CLI
Configuring Lambda function with the AWS CLI
Creating a Lambda function
Invoking the function
Create-event-source-mapping
Summary
Questions
Getting Started with Zappa
Hardware
Software
What is Zappa?
Installing and configuring Zappa
Building testing and deploying a Python web service using Zappa
Building the deployment package
What do you call this environment? (default dev)
What do you want to call your bucket? (default zappa-2o2zd8dg4)
What's your modular path to your app function? (default dev)
Would you like to deploy the application globally? (default n)
The zappa_settings.json file
Deploying and testing hello world
Basic uses
Initial deployments
Update
Status
Tailing logs
Rollback
Undeploy
Package
Building a Flask Application with Zappa
What is Flask?
Installing Flask
A minimal Flask application
Configuring with Zappa
Building testing and deploying on AWS Lambda
A complete Flask Todo application
Prerequisite
Virtualenv
Flask extensions
Scaffolding
Base model
Authentication
Blueprint
Models
Forms
Views
Templates
Todo
Model
CREATE
RETRIEVE
UPDATE
DELETE