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! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
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
 Zanon Zanon
Author Profile Icon Zanon
Zanon
Arrow right icon
View More author details
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
Visually different images