Infra Automation by Terraform -AKS Provisioning & RBAC for AD Group — Part9

  • Reading time:4 mins read

Azure Kubernetes Service (AKS) simplifies the deployment and management of containerized applications with Kubernetes. Integrating Azure Role-Based Access Control (RBAC) with AKS enhances security by controlling user access within the Kubernetes environment. By provisioning a service principal and adding it to an Azure Active Directory (AD) group, administrators can efficiently manage permissions. This setup ensures that only authorized users and applications can access and modify resources. The process includes creating the necessary resources in Azure, including the AD group and service principal, and configuring the AKS cluster with Azure RBAC for enhanced security.

Continue ReadingInfra Automation by Terraform -AKS Provisioning & RBAC for AD Group — Part9

Infra Automation by Terraform for Azure Cloud — Part 3

  • Reading time:6 mins read

In Part 3 of this Terraform Azure Automation series, we focus on authenticating Terraform with Azure to manage infrastructure. First, use the Azure CLI to log in and set your subscription ID. Then, create a Service Principal in Azure Active Directory with Contributor permissions. Set the required environment variables for Terraform to use, including the client ID, secret, subscription ID, and tenant ID. Next, create a terraform-azure directory and configure the Azure provider in a main.tf file. After initializing the Terraform directory, run terraform plan to preview the changes, followed by terraform apply to implement the changes to your Azure infrastructure

Continue ReadingInfra Automation by Terraform for Azure Cloud — Part 3