Redis CPU Usage Ramps Up after Kernel Patching


I guess you have heard the name of Meltdown and Spectre already. If not, check out this site https://meltdownattack.com/. Definitely, it is not a good start of a New Year. All Cloud providers are busy with patching the kernel of their underlying systems. AWS Elastic cache (Redis) is one of them. Due to its single threaded nature, … Continue reading Redis CPU Usage Ramps Up after Kernel Patching

Things you need to know about AWS VPC based Lambda


There are two types of AWS Lambda networking settings: No VPC and VPC-based. The major difference is that VPC-based Lambda allows you to access the resources in your VPC, e.g your EC2 resources sitting in the private subnets. No VPC lambda only can access Internet by default. Before you choose to use VPC-based lambda, there … Continue reading Things you need to know about AWS VPC based Lambda

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

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