Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Serverless Web Applications

You're reading from  Building Serverless Web Applications

Product type Book
Published in Jul 2017
Publisher Packt
ISBN-13 9781787126473
Pages 354 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Diego Zanon Diego Zanon
Profile icon Diego Zanon
Toc

Supporting HTTPS


Unfortunately, Amazon S3 does not support HTTPS connections, it only supports HTTP. We have set the Route 53 record sets to use a CloudFront distribution, but we haven't enabled support to HTTPS in CloudFront yet.

But why should we support HTTPS? There are many reasons nowadays. Let's list some of them:

  • We are building an online store. We need to handle logins and payment transactions. Doing such things without an encrypted connection is not safe. It's too easy to eavesdrop the network and steal sensitive data.
  • HTTP/2 is the newest protocol and is much faster than the old HTTP/1.1 version. Currently, all major browsers that support HTTP/2 require HTTPS. It is not possible to support HTTP/2 over an unencrypted HTTP connection.
  • HTTP/2 with encryption is faster than HTTP/1.1 without encryption. Troy Hunt shows an interesting demo at this link: https://www.troyhunt.com/i-wanna-go-fast-https-massive-speed-advantage. In his test, loading a website with hundreds of small files was...
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 $15.99/month. Cancel anytime}