Connecting to LocalStack OpenSearch from localhost Docker container

As I mentioned earlier, I use LocalStack to emulate AWS services during development phase. It works more or less well. Recently I faced a problem with LocalStack OpenSearch instance. I created one OpenSearch cluster using LocalStack. My LocalStack is installed via docker-compose file & it runs in a container. Now I have developed a Java … Read more

How to Resolve Kubernetes Autoscaler Error “Unable to read all metrics”

I was exploring GKE or Google Kubernetes Engine recently. Google Cloud has pretty good UI interface where you can deploy workloads & services without having to define your own YAML file. You can completely skip kubectl command line if you are starting as a Kubernetes beginner. You can just follow the UI steps. UI is … Read more

GKE Autopilot Cluster Creation Failed With 400 Response “Autopilot clusters must be regional clusters.”

I was playing around with Google Kubernetes Engine few days back. I wanted to try out GKE autopilot cluster setup. Autopilot mode is basically a fully managed kind of a setup. With standard mode, we get fully managed control plane. But we need to plan for the capacity of data plane nodes & create, manage … Read more

How to Install MySQL Client Inside Application Container

Sometimes we might feel the need to install MySQL client inside a Docker container which is running our application server. We might have faced some MySQL error while running some database query or there is some issue while connecting to MySQL server from the Docker container. At that time if we can install MySQL client … Read more

How to Solve LocalStack Always Connecting To LocalHost

I am using LocalStack to emulate AWS services in my local machine. I believe you already know what LocalStack is. And that’s why you are reading this post. Still let me share a one-liner on how LocalStack works. It will help us understand the problem.LocalStack runs a single docker container & the application running inside … Read more

Connecting to LocalStack From Local Docker App Container

For doing dev testing of my application, I use LocalStack. It is really helpful in creating AWS cloud stack locally. That cuts cost for local development & testing. Also it is easier for developers to remove any DevOps dependency for credentials & IAM accounts while developing. Once LocalStack is successfully installed, we can access AWS … Read more