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
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
A couple days ago I wrote a post to compare what Google Cloud offers, but AWS currently does not support. One of them is that Google charges VM usage per-minute, but AWS charges per-hour. But now the game is changing, as AWS just announced today that 'Effective October 2nd, usage of Linux instances that are … Continue reading AWS per-second billing for Linux EC2 and EBS
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
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
Each EBS volume can be modified once every 6 hours. I did not know it until 5 minutes ago. I resized a EBS volume from 100G to 150G, then I thought it might be better give it more space. To my surprise, I got this error when I tried to resize it again to 200G.