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
Category: Cloud
Pods are not recreated after kubernetes node failure
We had a short outage recently which was caused by the pods were not recreated on other nodes when the previous node become unresponsive. It is Kubernetes 1.6, and according to the documentation, it is expected in some cases. "If the Status of the Ready condition is “Unknown” or “False” for longer than the … Continue reading Pods are not recreated after kubernetes node failure
Service Catalog in OpenShift
OpenShift 3.7 is now able to create and use some AWS services via the Service Catalog. Here is a quick demo that I found out on YouTube: https://www.youtube.com/watch?time_continue=5&v=vqHNwJVDNlQ The technology behind it is called 'Open Service Broker API'. I am not sure for now if supports multi AWS accounts, it would be nice if it … Continue reading Service Catalog in OpenShift
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
Google Assistant is blocked on this device
If you see the message 'Google Assistant is blocked on this device' when trying to use Google Assistant on your phone, it is most likely that your Gmail account is managed by G suite, and the 'web & App Activity' is set as off. Changing the settings to on should be able to fix it. … Continue reading Google Assistant is blocked on this device



