Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Serverless Web Applications

You're reading from   Building Serverless Web Applications Develop scalable web apps using the Serverless Framework on AWS

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781787126473
Length 354 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Diego Zanon Diego Zanon
Author Profile Icon Diego Zanon
Diego Zanon
Arrow right icon
View More author details
Toc

Hosting the Website

The frontend is the easiest layer to go serverless. You just need a service to host your website's static files, and the user's browser will download the files, render the pages and execute the client-side JavaScript code. On AWS, the service we will use to host the frontend pages is Amazon S3. In this chapter, you'll also learn how to configure and optimize your website by adding a CDN and the supporting HTTPS connections.

In summary, we are going to cover the following topics:

  • Using Amazon S3 to host static files
  • Configuring Route 53 to associate your domain name with S3
  • Using CloudFront to serve files through a CDN
  • Requesting a free SSL/TLS certificate to support HTTPS connections

After this chapter, you'll have learned how to host a frontend in a serverless infrastructure.

lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime