Skip to content

Commit

Permalink
post: aws static hosting - include table of content
Browse files Browse the repository at this point in the history
  • Loading branch information
krishanthisera committed Jan 13, 2024
1 parent b9d9ff1 commit e4cda09
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/content/blog/edge-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ title: "AWS Static Hosting - Part 02: CloudFront Edge Functions"
description: "In this article, we will focus on how we can leverage Lambda@Edge functions to make our site SEO-friendly."
pubDate: "Jan 12 2023"
heroImage: 'https://bizkt.imgix.net/posts/edge-functions/edge-functions-banner.png'
badge: "NEW"
---

In the previous article we discuss how we can put together AWS CloudFront, S3 bucket and other associated services using Terraform to host our static website. We now need to make our site SEO-friendly, especially if it contains dynamic content.

| AWS Static Hosting (2 Part Series) |
|---|
| [AWS Static Hosting - Part 01: CloudFront, S3 and Terraform](./static-hosting-aws) |
| [AWS Static Hosting - Part 02: CloudFront Edge Functions](./edge-functions) |

Before we get started, let's discuss some theory.

## What does it mean: Pre-rendering a website
Expand Down Expand Up @@ -554,3 +558,8 @@ It's crucial to understand that regardless of the origin/source (S3 or Prerender
## Wrapping it UP

We've discussed how to use AWS CloudFront edge functions and S3 for our static hosting needs. Our main goal? Boosting our site's SEO prowess. We broke down how web crawlers work, comparing it to the usual browser requests. Digging deeper, we discuss the foundation of our solution. In short, this article offers a roadmap for those wanting to optimize their static sites using AWS tools.

| AWS Static Hosting (2 Part Series) |
|---|
| [AWS Static Hosting - Part 01: CloudFront, S3 and Terraform](./static-hosting-aws) |
| [AWS Static Hosting - Part 02: CloudFront Edge Functions](./edge-functions) |
10 changes: 10 additions & 0 deletions src/content/blog/static-hosting-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Depending on your requirement, There are many ways to host a website in a cloud

I am planning to discuss the scenario using two articles. In this article, we will focus primarily on infrastructure setup, and the second article would be dedicated to enhancing SEO, using Lambda at Edge functions.

| AWS Static Hosting (2 Part Series) |
|---|
| [AWS Static Hosting - Part 01: CloudFront, S3 and Terraform](./static-hosting-aws) |
| [AWS Static Hosting - Part 02: CloudFront Edge Functions](./edge-functions) |

The source code for this article is available [here](https://github.com/krishanthisera/aws-static-hosting/tree/aws-static-hosting-v1)

## Before you begin
Expand Down Expand Up @@ -426,3 +431,8 @@ Once, you've deployed the environment, you may need to manually create the IAM k
## Conclusion

In this article we discussed setting up static hosting on AWS using CloudFront, S3, and Terraform. We covered essential steps from configuring S3 buckets to setting up CloudFront distributions and managing IAM roles for security. When you set up AWS static hosting, using this systematic guide will help make your infrastructure reliable, safe, and adaptable.

| AWS Static Hosting (2 Part Series) |
|---|
| [AWS Static Hosting - Part 01: CloudFront, S3 and Terraform](./static-hosting-aws) |
| [AWS Static Hosting - Part 02: CloudFront Edge Functions](./edge-functions) |

0 comments on commit e4cda09

Please sign in to comment.