Serverless Static Websites on AWS
1h 31mIntermediate2020-03-05
Authors

Brett McLaughlin
Chief Technology Officer at Volusion
Course details
AWS and cloud computing are arguably the most important paradigm shifts for developers in the last 10 years. And as the technology grows more sophisticated, it's important for developers to evolve to understand the cloud as a fundamentally different way to host applications and websites. Rather than building a website in a traditional manner—with traditional headaches and costs—developers need to easily and correctly be able to determine when to use Amazon Simple Storage Service (Amazon S3) as a hosting mechanism.
In this course, instructor Brett McLaughlin shows developers how to make the switch to serverless, explaining how to take a website and convert it from a traditional site—whether it's running on premises or in the cloud—to a serverless site. In about two hours, Brett steps through how to host a simple static website, configure CloudWatch to monitor your S3-hosted static website, use dashboards to get a quick look at how your site is doing, and more.
In this course, instructor Brett McLaughlin shows developers how to make the switch to serverless, explaining how to take a website and convert it from a traditional site—whether it's running on premises or in the cloud—to a serverless site. In about two hours, Brett steps through how to host a simple static website, configure CloudWatch to monitor your S3-hosted static website, use dashboards to get a quick look at how your site is doing, and more.
Skills covered
S3Amazon Web Services (AWS)AmazonCloud ServicesProjectCloud PlatformsCloud Computing
Concepts
0. Introduction
- 01 - Websites without servers in two hours
- 02 - Why is serverless such a hot topic
1. Moving from Servers to a Serverless Architecture
- 03 - S3 as a website hosting mechanism
- 04 - Buckets and servers don't cost the same
- 05 - Look at a serverless website architecture
2. Hosting a Simple Static Website
- 06 - Manage website requests with S3 bucket names
- 07 - Set up the folder structure for your website
- 08 - Set up an S3 bucket to hosting a website
- 09 - Setting a policy for your S3 bucket
- 10 - Upload your site to S3
- 11 - Point a domain at your site with Route53
- 12 - Redirect www requests to your site
- 13 - Challenge - Add new pages to your website
- 14 - Solution - Add new pages to your website
3. Monitoring an S3-Hosted Static Website
- 15 - Configure CloudWatch for basic monitoring
- 16 - Keep up with your website logs
- 17 - Dashboards are your monitoring best friend
- 18 - Challenge - Add widgets to your monitoring dashboard
- 19 - Solution - Add widgets to your monitoring dashboard
4. What's Next for a Serverless Static Website
- 20 - Good monitoring is rarely basic monitoring
- 21 - Static sites can become dynamic sites
- 22 - Keeping your free site free
Conclusion
- 23 - Hosting dynamic content