Rich's IT Blog

Sharing the joy of DevOps and Coffee

Devops

Installing Ansible

In July I started a post series on Ansible. This is a continuation of that series. The purpose of this post is to provide instructions for basic installation of Ansible. Installation On Mac OS (via Homebrew) To install Ansible on Mac the easiest method is to install via Home Brew […]

Avoid JVM DNS Caching Problems in AWS

Certain older versions of JDK have forever caching by default. This poses a problem if you have a Java application that calls ELB/ALB or ElasticSearch Clusters. When any action is made to modify a setting in AWS ElasticSearchService or an update happens the cluster doubles in size, the shards are […]

Nginx Requests Not Being Gzipped on CDN Pass-Through

A couple months ago I ran into a curious situation. Requests from Nginx were being gzipped as expected and requests from CDN were being gzipped. My Nginx settings for compression looked like this: gzip on; gzip_comp_level 6; gzip_http_version 1.1; gzip_min_length 0; gzip_types application/json application/x-javascript application/javascript text/plain text/css text/javascript text/xml; gzip_vary […]