Building Serverless Python Web Services with Zappa: Quickly build and deploy serverless application on AWS using Zappa
暫譯: 使用 Zappa 建立無伺服器 Python 網路服務:快速在 AWS 上使用 Zappa 建立和部署無伺服器應用程式
Abdulwahid Abdulhaque Barguzar
- 出版商: Packt Publishing
- 出版日期: 2018-07-31
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 324
- 裝訂: Paperback
- ISBN: 1788837614
- ISBN-13: 9781788837613
-
相關分類:
Amazon Web Services、Python、程式語言、Serverless
海外代購書籍(需單獨結帳)
商品描述
Master serverless architectures in Python and their implementation, with Zappa on three different frameworks.
Key Features
- Scalable serverless Python web services using Django, Flask, and Pyramid.
- Learn Asynchronous task execution on AWS Lambda and scheduling using Zappa.
- Implementing Zappa in a Docker container.
Book Description
Serverless applications are becoming very popular these days, not just because they save developers the trouble of managing the servers, but also because they provide several other benefits such as cutting heavy costs and improving the overall performance of the application.
This book will help you build serverless applications in a quick and efficient way. We begin with an introduction to AWS and the API gateway, the environment for serverless development, and Zappa. We then look at building, testing, and deploying apps in AWS with three different frameworks--Flask, Django, and Pyramid. Setting up a custom domain along with SSL certificates and configuring them with Zappa is also covered. A few advanced Zappa settings are also covered along with securing Zappa with AWS VPC.
By the end of the book you will have mastered using three frameworks to build robust and cost-efficient serverless apps in Python.
What you will learn
- Build, test, and deploy a simple web service using AWS CLI
- Integrate Flask-based Python applications, via AWS CLI configuration
- Design Rest APIs integrated with Zappa for Flask and Django
- Create a project in the Pyramid framework and configure it with Zappa
- Generate SSL Certificates using Amazon Certificate Manager
- Configure custom domains with AWS Route 53
- Create a Docker container similar to AWS Lambda
Who this book is for
Python Developers who are interested in learning how to develop fast and highly scalable serverless applications in Python, will find this book useful
Table of Contents
- Amazon Web Services for Serverless
- Getting started with Zappa
- Building a Flask app with Zappa
- Building a Flask based REST API with Zappa
- Building a Django app with Zappa
- Building a Django REST API with Zappa
- Building a Pyramid app with Zappa
- Custom Domain with SSL
- Asynchronous Task Execution on AWS Lambda
- Advance Zappa Settings
- Secure Zappa with AWS VPC
- Zappa with Docker
商品描述(中文翻譯)
**掌握 Python 中的無伺服器架構及其實現,使用 Zappa 在三個不同的框架上。**
#### 主要特點
- 使用 Django、Flask 和 Pyramid 建立可擴展的無伺服器 Python 網路服務。
- 學習在 AWS Lambda 上的非同步任務執行及使用 Zappa 的排程。
- 在 Docker 容器中實現 Zappa。
#### 書籍描述
無伺服器應用程式在當今變得非常受歡迎,不僅因為它們讓開發者免去管理伺服器的麻煩,還因為它們提供了其他幾個好處,例如降低成本和改善應用程式的整體性能。
本書將幫助您快速有效地構建無伺服器應用程式。我們首先介紹 AWS 和 API Gateway,這是無伺服器開發的環境,以及 Zappa。接著,我們將探討如何使用三個不同的框架(Flask、Django 和 Pyramid)在 AWS 中構建、測試和部署應用程式。還將涵蓋設置自定義域名及 SSL 證書並與 Zappa 配置的過程。還會介紹一些進階的 Zappa 設定,以及如何使用 AWS VPC 來保護 Zappa。
到本書結束時,您將掌握使用三個框架在 Python 中構建穩健且具成本效益的無伺服器應用程式。
#### 您將學到的內容
- 使用 AWS CLI 構建、測試和部署一個簡單的網路服務
- 通過 AWS CLI 配置整合基於 Flask 的 Python 應用程式
- 設計與 Zappa 整合的 Flask 和 Django 的 REST API
- 在 Pyramid 框架中創建一個專案並與 Zappa 配置
- 使用 Amazon Certificate Manager 生成 SSL 證書
- 使用 AWS Route 53 配置自定義域名
- 創建一個類似於 AWS Lambda 的 Docker 容器
#### 本書適合誰
對於希望學習如何在 Python 中開發快速且高度可擴展的無伺服器應用程式的 Python 開發者,本書將非常有用。
#### 目錄
1. 無伺服器的 Amazon Web Services
2. 開始使用 Zappa
3. 使用 Zappa 構建 Flask 應用程式
4. 使用 Zappa 構建基於 Flask 的 REST API
5. 使用 Zappa 構建 Django 應用程式
6. 使用 Zappa 構建 Django REST API
7. 使用 Zappa 構建 Pyramid 應用程式
8. 自定義域名與 SSL
9. 在 AWS Lambda 上的非同步任務執行
10. 進階 Zappa 設定
11. 使用 AWS VPC 保護 Zappa
12. Zappa 與 Docker