Book Image

Building Serverless Python Web Services with Zappa

By : Abdulwahid Abdulhaque Barguzar
Book Image

Building Serverless Python Web Services with Zappa

By: Abdulwahid Abdulhaque Barguzar

Overview of this book

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.
Table of Contents (20 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Index

Configuring custom domain with AWS Route 53


Creating a custom domain for our application requires owning a domain. Domain names can be purchased from a domain registrar. In our case, I purchased a domain name called abdulwahid.info from GoDaddy (https://in.godaddy.com/), the domain name system (DNS) service provider. 

Every domain serves over the internet through nameservers managed by the DNS service provider. There are many service providers that offer services to manage and host a website from their end. We are going to user the AWS Route 53 service. 

What is AWS Route 53?

AWS Route 53 is a scalable cloud DNS web service. Route 53 is really effective at configuring the domain with any AWS services. It connects with infrastructure running on AWS as well as outside of AWS. Route 53 provides a variety of routings, such as latency base routing, Geo DNS, geoproximity, and weighted round robin. All these routings can be combined to provide low-latency bandwidth. Route 53 provides a domain name...