Search icon CANCEL
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

Serving static files with Amazon S3

Amazon S3 is extremely useful because it is a cheap service that provides high availability and scalability, requiring zero management effort. The infrastructure is fully managed by AWS. In this section, we are going to use S3 to host our website static files such as HTML, CSS, JavaScript, and images. You will see that this is done by uploading the files to a bucket and configuring S3 to enable website hosting.

Besides hosting static websites, you can also host complex applications. You just need to have a clear separation of concerns: the frontend files (HTML/CSS/JavaScript) will be hosted on S3 and will be used by the browser to render the web page and request additional data to the backend code, which will be hosted and executed by Lambda functions. As we are going to discuss in Chapter 5, Building the Frontend, you can build your frontend...

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 R$50/month. Cancel anytime