Serverless Application Patterns - Indexing Searchable User-Generated Content

Searchable content is a common component of many modern applications. But for applications that rely on a streams of new user-generated content how can we create a system that reliably and rapidly indexes searchable content and also provides ways to update, and act on changes to that data later on? This post will show you an architecture that can accomplish this using AWS services like Lambda, API Gateway, S3, Systems Manager Parameter Store, and DynamoDB. We’ll also use the third party provider Algolia for search.

You Pay Too Much for EC2

I’m about to tell you something ridiculous. You might be paying 70% or more on EC2 than you need to be. With a combination of Spot and Reserved Instances you can dramatically lower your EC2 bill on AWS.

Amazon S3 Static Sites and CloudFront Configuration

Recently, I was going back over an Amazon S3 static site I maintain and noticed that I couldn’t navigate directly to subpages without using a trailing /index.html. It turns out there’s a few quirks of the Amazon CloudFront console settings that might lead to this. Let’s take a look at how to fix it.