Proxying GoatCounter Requests Through CloudFront to Bypass Ad Blockers

How to configure CloudFront to proxy requests to GoatCounter so that adblockers don’t block page views.

 · Updated  · 5 min · 934 words

GitHub Actions for Pulumi with an AWS S3 Backend

How to set up GitHub Actions for Pulumi when the state is stored in an AWS S3 Bucket.

 · Updated  · 3 min · 504 words

How to Use an AWS S3 Bucket as a Pulumi State Backend

Self-host Pulumi state with an S3 Bucket, an IAM User, and the Pulumi CLI.

 · Updated  · 4 min · 673 words

Fix "Efficient Cache Policy" Warning on PageSpeed Insights When Using Amazon CloudFront

Get rid of the efficient cache policy warning on PageSpeed Insights by adding a Cache-Control header to CloudFront.

 · Updated  · 1 min · 188 words

How to Add a Custom Response Header to an Amazon CloudFront Distribution

A guide to adding custom response headers to a CloudFront distribution using response headers policies in the AWS Console.

 · Updated  · 2 min · 382 words

AWS SSM: Run a Shell Command Against Multiple EC2 Instances

How to run a shell command against multiple EC2 instances using AWS Systems Manager

 · Updated  · 3 min · 626 words

Getting EC2 Instance Metadata Using IMDSv2

Curl examples for retrieving EC2 instance metadata using IMDSv2 including IP address, instance ID, and security groups.

 · Updated  · 3 min · 549 words

Redirect One Domain to Another Using AWS S3 and CloudFront

How to redirect a domain to another one using AWS S3, ACM, and CloudFront

 · Updated  · 7 min · 1295 words

Hosting a Static Website on AWS Using S3 and CloudFront

How to host a static website on Amazon Web Services using S3, CloudFront, ACM, and Route 53

 · Updated  · 7 min · 1484 words

Finding AWS Resources by IP Address

Ways to find AWS Resources by private or public IP addresses.

 · Updated  · 4 min · 675 words

Replacing AWS ACM SSL Certificates With No Downtime

Updating AWS Certificate Manager SSL certificates with no downtime

 · Updated  · 1 min · 159 words

Invoking Amazon API Gateway with an API Key

How to pass an API key via the x-api-key header when invoking AWS API Gateway with curl and Python.

 · Updated  · 1 min · 191 words

Getting EC2 Instance Metadata Using IMDSv1

How to get EC2 Instance metadata using IMDSv1

 · Updated  · 2 min · 347 words

Resolving AWS CloudFront Access Denied Errors

Resolving Access Denied Errors in a CloudFront Distribution that uses a Private S3 Bucket, Origin Access Identity, and Contains Multiple index.html Templates.

 · Updated  · 3 min · 459 words

AWS IAM: Allowing a Role to Assume Another Role

How to allow an IAM Role to assume another Role.