In this chapter, we created a serverless REST API with our Lambda function as a backend. We looked at how to configure API Gateway and what options are available for future use cases. We saw that API Gateway lacks some features but it is possible to solve this issue by leveraging CloudFront CDN in front of API Gateway. We configured our custom domain using the Route 53 DNS service and even created a free SSL certificate to use with our CDN. At the end of the chapter, we had a fully serverless and fully AWS-backed REST API. We also spoke a bit about serverless architectures.
This chapter was full of CloudFormation configurations more than actual code. CloudFormation is a sum of all AWS configurations and, obviously, it is a very large topic that we cannot cover fully. If you do not understand some of the options, do not hesitate to refer to the AWS configuration, which...