Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Building Serverless Python Web Services with Zappa

You're reading from   Building Serverless Python Web Services with Zappa Build and deploy serverless applications on AWS using Zappa

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781788837613
Length 324 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
 Barguzar Barguzar
Author Profile Icon Barguzar
Barguzar
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Title Page
Dedication
Packt Upsell
Contributors
Preface
1. Amazon Web Services for Serverless 2. Getting Started with Zappa FREE CHAPTER 3. Building a Flask Application with Zappa 4. Building a Flask-Based REST API with Zappa 5. Building a Django Application with Zappa 6. Building a Django REST API with Zappa 7. Building a Falcon Application with Zappa 8. Custom Domain with SSL 9. Asynchronous Task Execution on AWS Lambda 10. Advanced Zappa Settings 11. Securing Serverless Applications with Zappa 12. Zappa with Docker 1. Assessments 2. Other Books You May Enjoy Index

Chapter 10, Advanced Zappa Settings


  1. AWS Lambda is designed to provide a serverless infrastructure. It instantiates the context on invocation request and then destroys itself after serving the request. AWS Lambda adds a little time delay for the initial startup and setting up the context. To avoid it, you can keep the Lambda instance in a warm state by setting up the schedule trigger using AWS CloudWatch. Zappa provides this feature by default and you can turn off this feature by setting the keep_warm attribute to false.
  2. Cross-Origin Resource Sharing (CORS) is mechanism that allows a domain to access restricted resources from the different domain. 
  3. Zappa provides an easy way of managing large size project as AWS Lambda has a limitation of uploading the build package with 50 MB but also have an option to service bigger size build packages from Amazon S3. In Zappa setting, you can slim_handler to true which will upload the build package on Amazon S3 and then configure the AWS Lambda against the uploaded build package on Amazon S3.

 

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building Serverless Python Web Services with Zappa
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images
Modal Close icon
Modal Close icon