Building Serverless Python Web Services with Zappa: Quickly build and deploy serverless application on AWS using Zappa (使用 Zappa 建立無伺服器 Python 網路服務:快速在 AWS 上建置與部署無伺服器應用程式)

Abdulwahid Abdulhaque Barguzar

相關主題

商品描述

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

  1. Amazon Web Services for Serverless
  2. Getting started with Zappa
  3. Building a Flask app with Zappa
  4. Building a Flask based REST API with Zappa
  5. Building a Django app with Zappa
  6. Building a Django REST API with Zappa
  7. Building a Pyramid app with Zappa
  8. Custom Domain with SSL
  9. Asynchronous Task Execution on AWS Lambda
  10. Advance Zappa Settings
  11. Secure Zappa with AWS VPC
  12. Zappa with Docker

商品描述(中文翻譯)

以Zappa在三種不同框架上,使用Python實現無伺服器架構的大師。

主要特點


  • 使用Django、Flask和Pyramid構建可擴展的無伺服器Python網絡服務。

  • 學習在AWS Lambda上進行異步任務執行和使用Zappa進行調度。

  • 在Docker容器中實現Zappa。

書籍描述

無伺服器應用程序近年來變得非常流行,不僅因為它們省去了開發人員管理伺服器的麻煩,還因為它們提供了其他幾個好處,例如降低成本和提高應用程序的整體性能。

本書將幫助您以快速高效的方式構建無伺服器應用程序。我們首先介紹AWS和API網關,這是無伺服器開發的環境,以及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. 使用Docker的Zappa