Author: Josh
-
Bitnami/wordpress Helm Chart Fails if wp_user with id = 1 missing
If deploying the Bitnami WordPress helm chart to an existing external database, without wp-content populated, and the wp_users table does not have a user entry with id = 1, the wordpress container will never stabilize, wordpress will not install. The wordpress directory will be created and the install will stop and the container will crash.…
-
EFS Volume Fails to Mount on Kubernetes Pod
I was migrating a site from AWS ECS to AWS EKS recently, using the bitnami/wordpress helm chart and came across the following error: I spent quite a while troubleshooting this error, and the result was actually not related to this output at all. This output was due to the wordpress pod coming online before the…
-
AWS LoadBalancer SSL Redirect with Bitnami Helm Chart(s)
First of all, thank you to Bitnami for providing such valuable helm charts to the community. What a great resource! Why doesn’t Bitnami support adding an SSL redirect for AWS LoadBalancing in their helm charts? I have worked with several lately where the templates baked into the helm charts will not allow the addition of…
-
DropBox Drops the Ball on Support
Years ago (>5), I signed up for a dropbox.com account to work with a client. I have been charged an annual fee for this years, even though I have not used the service for a number of years. While auditing my finances, I noted the charge and reached out to dropbox support to try to…
-
Find Windows Server Version from the Command Line
Here is a useful command that will show which Windows Version is installed: systeminfo | findstr /B /C:”OS Name” /C:”OS Version”
-
ElasticSearch Put-Mapping Conflict
If you experience very high Master CPU usage, and low index throughput, you may be seeing the effects of a put-mapping conflict. This can best be confirmed through querying the pending_tasks API: Further information from the hot_threads API can confirm by looking for a clusterService#updateTask hot thread that consumes significant CPU on the master node.…
-
AWS CLI v2 on OSX – Upgrade to latest
I was working on a project with a client where I wasn’t able to initialize a terragrunt deployment when using SSO: The version of the AWS CLI that I was using was 2.0.56. Upgrading to the latest version solved the issue (2.1.32). Be sure to login again after upgrading. Verify by running the following command:…
-
Proxy requests to ElasticSearch and Kibana using nginx
Proxy requests to AWS ElasticSearch and Kibana using nginx. I use the following nginx configuration, deployed via puppet template. The nginx proxy is an EC2 instance within an AutoScaling Group behind an ELB, with SSL termination. This configuration allow access to both kibana and elasticsearch, through this proxy endpoint.
-
OKTA MFA with the AWS CLI using aws_okta_keyman
I recently started using the aws_okta_keyman utility created by nathan-v to authenticate using Okta MFA when using the AWS CLI on some AWS accounts. This is a very handy tool that will authenticate, handle the push notification, and configure credentials for CLI use. One major problem with this utility is that it will over-write your…
-
Managing terraform versions
With the large number of individuals and teams using terraform, it can be difficult to work with the many versions of terraform in a large company, or with multiple clients. There are two methods I use to manage this:1. Using docker2. Using tfenv The benefit to using docker is that you don’t have to install…