CloudFront Edge Cache Settings


Caching is 'fun' if you don't set it up correctly. A useful cheat sheet of CloudFront edge cache TTL settings that I found in AWS documents site. Origin Configuration Minimum TTL = 0 Seconds Minimum TTL > 0 Seconds The origin adds a Cache-Control max-age directive to objects CloudFront caching CloudFront caches objects for the lesser of … Continue reading CloudFront Edge Cache Settings

Advertisements

Difference between custom domain names of AWS API Gateway


AWS API gateway currently supports two types custom domain names: Edge Optimized and Regional. Let me share what the differences that I have found out so far: Target Domain Name Edge optimized: target domain name is called distributionDomainName, and it is the format of <distribution-id>.cloudfront.net Regional: target domain name is called regionalDomainName, and it is the format of <api-id>.execute-api.<region>.amazonaws.com … Continue reading Difference between custom domain names of AWS API Gateway

Huggies – AWS Elastic Beanstalk Automation Tool


Huggies is a side project that I started when working for the NAPI team which pronounced as ['næpɪ], and that is why I named it as Huggies 😉 The team's environments are mostly on AWS Elastic Beanstalk. In general, Elastic Beanstalk is a good tool as it abstracts the complexicity of managing Elastic Load Balancer, … Continue reading Huggies – AWS Elastic Beanstalk Automation Tool

Use AWS SES to validate ACM certificate request


In case you are not familiar with AWS abbreviation, SES stands for Simple Email Service, ACM is short for AWS Certificate Manager. These two are independent services, each can work without the other. But in some scenarios, you may need to make them work together to solve your problem. For example: The domain does not … Continue reading Use AWS SES to validate ACM certificate request