In the previous chapters, you saw how to create Serverless functions, add REST APIs, create data stores, and secure an application. In this chapter, we will look at recipes related to hosting a website, such as how to register domain names, host a static website, attach the custom domain for our S3 bucket, and use the CloudFront Content Delivery Network (CDN). You already saw S3 in previous recipes. Amazon Route 53 is a new service that we will introduce in this chapter. The Route 53 service is Amazon's DNS management service for registering domains and implementing routing strategies.
Some Route 53 functionalities may be one-time activities (for example, domain registration), some may require user interaction at various stages (for example, domain ownership validation), and some may take a longer time to complete. For example, DNS propagation can take up to...