Showing posts with label local. Show all posts
Showing posts with label local. Show all posts

Tuesday, 2 September 2025

Setup Redis Standalone with JSON and Search Modules on AKS with Binami Redis Using Custom Image to Allow Local Development

 As we discusssed in  "Setup Redis Cluster with JSON and Search Modules on AKS with Binami Redis Using Custom Image" the cluster deployemnt does not allow the redis to be accessed outside of AKS/kubernetes. To allow local development with redis we have to deploy redis standalone on AKS. Ideally the standalone should be setup in development environment and clsuter mode should be setup in QA and production environments. Let's look at how to setup redis standalone with json and search modules using custom image we built in "Build Custom Docker Images with Redis Json and Search Module Support for deploying Bitnami Redis Cluster and Standalone in AKS".

Saturday, 29 June 2024

Local Docker Container Run with DefaultAzureCredentials

 We discuss how to enable workload identity for continers running in AKS in the post "Setting Up Azure Workload Identity for Containers in Azure Kubernetes Services (AKS) Using Terraform - Improved Security for Containers in AKS". However, when we use DefaultAzureCredentials and try to run docker containers locally from a development machine, we do not have the workload identity support. With Visual Studio we can run with the Azure AD user and run applications successfully. But if we are using a docker run command and run docker container locally, we will have to use app registration/service principal. Then we have to grant the service principal with required roles in Azure resources we would need to access from the application. Let's take a look at an example with Azure app config.

Popular Posts