<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rameez on Medium]]></title>
        <description><![CDATA[Stories by Rameez on Medium]]></description>
        <link>https://medium.com/@rameez.saleem?source=rss-30f1d00bd821------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HOpj9Zy1kkSyy7Sl1mgtlw.jpeg</url>
            <title>Stories by Rameez on Medium</title>
            <link>https://medium.com/@rameez.saleem?source=rss-30f1d00bd821------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 14:57:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rameez.saleem/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deploying Veramo on Azure using Terraform and Helm (Part 2): ): A Step-by-Step guide for deploying…]]></title>
            <link>https://medium.com/@rameez.saleem/deploying-veramo-on-azure-using-terraform-and-helm-part-2-a-step-by-step-guide-for-deploying-ae06ac1bdba2?source=rss-30f1d00bd821------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae06ac1bdba2</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[veramo]]></category>
            <category><![CDATA[verifiable-credentials]]></category>
            <category><![CDATA[azure-kubernetes-service]]></category>
            <category><![CDATA[decentralized-identity]]></category>
            <dc:creator><![CDATA[Rameez]]></dc:creator>
            <pubDate>Wed, 28 Feb 2024 12:54:44 GMT</pubDate>
            <atom:updated>2024-02-28T12:54:44.962Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deploying Veramo on Azure using Terraform and Helm (Part 2): <strong>): A Step-by-Step guide for deploying a DID and Verifiable Credentials framework</strong></h3><h4>Deploying Veramo agent into AKS using helm</h4><p>In this article we will learn how to deploy <a href="https://veramo.io/docs/veramo_agent/introduction/">Veramo Agent</a> to Azure Kubernetes Service using <a href="https://helm.sh/docs/intro/quickstart/">Helm</a>. It assumes that you have already created the necessary infrastructure on Azure. If not, you can follow<a href="https://medium.com/@rameez.saleem/deploying-veramo-on-azure-using-terraform-and-helm-part-1-aaaa75d199b9"> part 1</a> of this article to do so.</p><h3>Prerequisites<a href="https://veramo.io/docs/deployment_tutorials/deployment_aws#prerequisites">​</a></h3><ol><li>Azure Kubernetes Service (AKS)</li><li>Azure Container Registry (ACR)</li><li>Helm</li><li>Git</li><li>Docker</li><li>Azure cli (az)</li></ol><h4>Create a Docker image for Veramo Agent and push to ACR</h4><p>Open a terminal on your local machine and clone veramo-agent-deploy repository from Github:</p><pre>git clone https://github.com/uport-project/veramo-agent-deploy.git</pre><p>Change to the veramo-agent-deploy repository and run the following commands to create a Docker image in your container registry.</p><pre>cd veramo-agent-deploy<br><br>docker login &lt;myregistry.azurecr.io&gt;</pre><p>If everything was configured correctly you should see an output as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*Vqpq5d6zP_XylIynaVBkOA.png" /><figcaption>Docker login</figcaption></figure><p>We are now ready to build and push the image to our ACR.</p><p>However, during our build process we encountered a problem that the agent-explore is incompatible with the node 19 i.e. the node version given in the Docker file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fmwJbKkoZ_jGhcEk0ERqoA.png" /><figcaption>node error</figcaption></figure><p>There is a <a href="https://github.com/uport-project/veramo-agent-deploy/pull/48">pull request</a> that on Veramo-agent-deploy GitHub that should fix this issue, until this pull request is merged, the fastest work around is to downgrade the node version given in the Docker file to node:18. Your new Docker file should read as follows:</p><pre>FROM node:18<br>WORKDIR /usr/src/app<br>COPY package.json .<br>COPY yarn.lock .<br>ADD config config<br>RUN yarn install --production<br>CMD [&quot;yarn&quot;, &quot;start&quot;]<br>EXPOSE 3332</pre><p>Once logged into your ACR using the docker login command you can build the image using:</p><pre>docker build -t veramoregistry.azurecr.io/veramo-agent .</pre><p>This command should produce an output as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m-9Lz2pEdbv2HV7omJMOCg.png" /><figcaption>docker build</figcaption></figure><p>We are now ready to push our image into azure container registry (ACR).</p><p>You can do so by running the following command in your terminal:</p><pre>docker push veramoregistry.azurecr.io/veramo-agent:latest</pre><p>You should see the following output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*w52e0EsXNALAjV6_oOGmHg.png" /><figcaption>docker push</figcaption></figure><h4>Helm Chart for Veramo Agent</h4><p>Inside veramo-agent-deploy directory create a new folder titledhelm</p><pre>mkdir helm</pre><p>Create the following files in the helm folder:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*Nh13p_GqfQFEf-mLDzDSnQ.png" /><figcaption>helm chart to deploy veramo agent</figcaption></figure><p><strong>1 — chart.yaml</strong></p><pre>apiVersion: v2<br>name: veramoAgent<br>description: A Helm chart for Kubernetes<br><br>type: application<br><br><br>version: 0.1.0<br><br><br>appVersion: &#39;1.16.0&#39;</pre><p><strong>2 — values.yaml</strong></p><pre>appName: vcagent<br>port: 3332<br><br>namespace: default<br><br>configmap:<br>  name: veramo-configmap-v1.0<br>  data:<br>    customHeader: &#39;This app was deployed with helm!&#39;<br><br>configmapName: veramoAgentConfigMapV1.1<br><br>replicaCount: 1<br><br>image:<br>  name: veramoregistry.azurecr.io/veramo-agent<br>  tag: latest</pre><p><strong>3 — values-dev.yaml</strong></p><pre>namespace: default<br><br>configmap:<br>  data:<br>    CUSTOM_HEADER: &#39;This is on the DEV environment!&#39;<br><br>replicaCount: 1</pre><p><strong>4 — templates/configmap.yaml</strong></p><p>Please replace the values in &lt;&gt; with specific values from your environment</p><pre>kind: ConfigMap <br>apiVersion: v1 <br>metadata:<br>  name: {{ .Values.configmap.name }}<br>  namespace: {{ .Values.namespace }}<br>data:<br>  SECRET_KEY: &#39;&lt;yoursecretkeyTOEncryptDatabase&gt;&#39;<br>  API_KEY: &#39;&lt;YourAPIKey&gt;&#39;<br>  AGENT_PATH: &#39;/agent&#39;<br>  PORT: &#39;3332&#39;<br>  MESSAGING_PATH: &#39;/messaging&#39;<br>  DATABASE_URL: &quot;postgresql://&lt;username&gt;:&lt;password&gt;@&lt;linktoYourpostgressDB&gt;/postgres&quot;<br>  BASE_URL: &quot;&lt;domainAddressWhereVermaoAgentIsHosted&gt;&quot;</pre><p><strong>5 — templates/deployments.yaml</strong></p><pre>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>  name: {{ .Values.appName }}<br>  namespace: {{ .Values.namespace }}<br>  labels:<br>    app: {{ .Values.appName }}<br>spec:<br>  replicas: {{ .Values.replicaCount }}<br>  selector:<br>    matchLabels:<br>      app: {{ .Values.appName }}<br>      tier: backend<br>  template:<br>    metadata:<br>      labels:<br>        app: {{ .Values.appName }}<br>        tier: backend<br>    spec: # Pod spec<br>      containers:<br>        - name: {{ .Values.appName }}-container<br>          image: {{ .Values.image.name }}:{{ .Values.image.tag }}<br>          ports:<br>            - containerPort: {{ .Values.port }}<br>          envFrom:<br>            - configMapRef:<br>                name: {{ .Values.configmap.name }}<br>          resources:<br>            limits:<br>              memory: &#39;512Mi&#39;<br>              cpu: &#39;500m&#39;</pre><p><strong>6 — templates/service.yaml</strong></p><pre>apiVersion: v1<br>kind: Service<br>metadata:<br>  name: {{ .Values.appName }}<br>  namespace: {{ .Values.namespace }}<br>  labels:<br>    app: {{ .Values.appName }}<br>spec:<br>  ports:<br>    - port: {{ .Values.port }}<br>      targetPort: {{ .Values.port }}<br>      protocol: TCP<br>      name: {{ .Values.appName }}-service<br>  selector:<br>    app: {{ .Values.appName }}<br>    tier: backend</pre><p><strong>7 — templates/ingress.yaml</strong></p><p>Please note that we assume that you already have a domain and tls certificate. If not, you can follow this excellent <a href="https://medium.com/@GeoffreyDV/how-to-set-up-ssl-certificates-for-free-on-azure-kubernetes-service-with-lets-encrypt-c7daca4e9385">guide </a>in order to set up a tls certificate using Let’s Encrypt. Our ingress.yaml file is given below:</p><pre>apiVersion: networking.k8s.io/v1<br>kind: Ingress<br>metadata:<br>  name: {{ .Values.appName }}-ingress<br>  annotations:<br>    cert-manager.io/cluster-issuer: letsencrypt-prod<br>spec:<br>  ingressClassName: nginx<br>  tls:<br>    - hosts:<br>        - {{ .Values.appName }}.&lt;yourcustomdomain.com&gt; # replace with your domain name<br>      secretName: tls-certificate-secret # replace with your tls secret name<br>  rules:<br>  - host: {{ .Values.appName }}.&lt;yourcustomdomain.com&gt; # replace with ur domain name<br>    http:<br>      paths:<br>      - path: /<br>        pathType: Prefix<br>        backend:<br>          service:<br>            name: {{ .Values.appName }}<br>            port:<br>              number: {{ .Values.port }}</pre><h4>Deploy Veramo Agent to AKS using Helm</h4><p>Please download and install kubeconfig from AKS before continuing:</p><pre>az aks get-credentials --resource-group &lt;yourResourceGroupName&gt; --name &lt;aksClusterName&gt;</pre><p>If you followed the guide in<a href="https://medium.com/@rameez.saleem/aaaa75d199b9"> Part 1</a> the command will be as follows:</p><pre>az aks get-credentials --resource-group veramo-resource-group --name veramo-cluster</pre><p>Now we are ready to deploy Veramo agent using Helm. Please change to the root of the veramo-agent-deploy repository in your terminal and run the following command.</p><pre>helm upgrade --install veramo-agent helm/ --values helm/values.yaml -f helm/values-dev.yaml</pre><p>You should see the following output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*vKIPS0tKnmHHM3pcCC3jtg.png" /><figcaption>Helm deploy</figcaption></figure><p>Congratulations you have successfully deployed Veramo Agent and Veramo Explorer on Azure Kubernetes Service.</p><p>If you have any further questions, please contact us at <a href="http://info@iso-gruppe.com/">info@iso-gruppe.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae06ac1bdba2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying Veramo on Azure using Terraform and Helm (Part 1): A Step-by-Step Guide for deploying a…]]></title>
            <link>https://medium.com/@rameez.saleem/deploying-veramo-on-azure-using-terraform-and-helm-part-1-a-step-by-step-guide-for-deploying-a-aaaa75d199b9?source=rss-30f1d00bd821------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaaa75d199b9</guid>
            <category><![CDATA[veramo]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[helm]]></category>
            <category><![CDATA[verifiable-credentials]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Rameez]]></dc:creator>
            <pubDate>Wed, 28 Feb 2024 12:53:55 GMT</pubDate>
            <atom:updated>2024-02-28T12:53:55.041Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deploying Veramo on Azure using Terraform and Helm (Part 1): <strong>A Step-by-Step Guide for deploying a DID and Verifiable Credentials framework</strong></h3><h4><strong>Environment Setup using Terraform.</strong></h4><p>For a recent project at ISO-Gruppe we decided to use Veramo framework for managing and creating DIDs and Verifiable Credentials. “Veramo is a JavaScript framework that makes it easy for anyone to use cryptographically verifiable data in their applications. It was designed to make it easy for developers who want to use DIDs, verifiable credentials, and data-centric protocols to bring next-generation features to their users”. This guide covers the deployment of <a href="https://github.com/uport-project/veramo-agent-deploy">Veramo Cloud Agent</a> to Azure. We decided to create it as the official deployment docs from Veramo only cover deployment to <a href="https://veramo.io/docs/deployment_tutorials/deployment_aws">AWS</a> and Heroku. This article focuses on creating an environment on Azure. If you have already created the necessary infrastructure please refer to <a href="https://medium.com/@rameez.saleem/deploying-veramo-on-azure-using-terraform-and-helm-part-2-ae06ac1bdba2">Part 2</a> which covers the deployment of Veramo Agent into Azure Kubernetes Service using Helm.</p><h4>Prerequisites<a href="https://veramo.io/docs/deployment_tutorials/deployment_aws#prerequisites">​</a></h4><ol><li>Azure Account</li><li>Terraform</li><li>Helm</li><li>Docker</li></ol><h3>Azure environment setup</h3><p>We will use Terraform to create the required infrastructure elements on Azure. This guide assumes that you have already created an Azure account and have downloaded the required access credentials on your local machine. If not, please do so by typing az login in your terminal. Our environment will consist of the following:</p><ol><li>Azure Kubernetes Service (AKS)</li><li>Azure Container Registry (ACR)</li><li>Azure Database for PostgreSQL</li><li>Azure Resource group</li></ol><h4>Environment creation with Terraform</h4><p>We will create <a href="https://developer.hashicorp.com/terraform/language/modules">Terraform modules</a> for each of these four elements. This approach has the added benefit of creating repeatable infrastructure which can be deployed for different projects and users. You can start by creating a new repository for your Infrastructure. This repository will hold the Terraform scripts to create and configure an Azure environment for Veramo deployment. Add the files and folders to this repo as shown in the picture below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*ttUJCNiwDlG3oWqQdW4fYQ.png" /></figure><p>The modules folder contains the sub-modules which are used to create the desired infrastructure on Azure. Each sub-module contains three files i.e. main, variables, and output. main.tf contains the Terraform script to create a particular piece of infrastructure. variables.tf contains the variables which are used to configure this module and outputs.tf contains output variables which can be used by other modules. Veramo folder contains the terraform.tfvars file which we can use to instantiate and configure sub-modules.</p><h4>Azure Container Registry</h4><p>Copy and paste the following code in the <strong>main.tf </strong>file for your container registry:</p><pre>resource &quot;azurerm_container_registry&quot; &quot;acr&quot; {<br>  name                = var.container_registry_config.name<br>  resource_group_name = var.resource_group_name<br>  location            = var.location<br>  sku                 = var.container_registry_config.sku<br>  admin_enabled       = true<br>}</pre><p>The <strong>variables.tf</strong> file will contain the following variables:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*Hex3zkPgrRefWBUpoaCFSw.png" /><figcaption>variables.tf</figcaption></figure><p>The <strong>outputs.tf</strong> file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EsLsrTzHl2eYIzVt8ll6PA.png" /><figcaption>outputs.tf</figcaption></figure><h4>Azure Kubernetes Service</h4><ol><li><strong>main.tf:</strong></li></ol><pre>resource &quot;azurerm_kubernetes_cluster&quot; &quot;aks&quot; {<br>  name                = var.aks_name<br>  location            = var.location<br>  resource_group_name = var.resource_group_name<br>  dns_prefix          = var.dns_prefix<br><br>  default_node_pool {<br>    name       = var.node_pool.name<br>    node_count = var.node_pool.node_count<br>    vm_size    = var.node_pool.vm_size<br>  }<br><br>  identity {<br>    type = &quot;SystemAssigned&quot;<br>  }<br><br>  http_application_routing_enabled = false<br><br>  tags = {<br>    Environment = var.env<br>  }<br>}</pre><p><strong>2. Variables.tf</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*CgyeXRu5RV695v84RrtfnA.png" /><figcaption>AKS variables.tf</figcaption></figure><p><strong>3. Outputs.tf</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*5lfgMQWgjWSSW3pq6wxmCQ.png" /><figcaption>AKS outputs.tf</figcaption></figure><h4>Azure flexible PostgreSQL</h4><ol><li><strong>main.tf:</strong></li></ol><pre>resource &quot;azurerm_postgresql_flexible_server&quot; &quot;psql&quot; {<br>  name                   = var.azurerm_postgresql_server_config.name<br>  resource_group_name    = var.resource_group_name<br>  location               = var.location<br>  version                = var.azurerm_postgresql_server_config.version<br><br>  administrator_login    = var.azurerm_postgresql_server_config.admin_user<br>  administrator_password = var.azurerm_postgresql_server_config.admin_pw<br>  zone                   = var.azurerm_postgresql_server_config.zone<br><br>  storage_mb = var.azurerm_postgresql_server_config.storage_mb<br><br>  sku_name   = var.azurerm_postgresql_server_config.sku_name<br><br>}<br><br>#### configure access from within azure ####<br>resource &quot;azurerm_postgresql_flexible_server_firewall_rule&quot; &quot;azure&quot; {<br><br>  name             = &quot;allow-access-from-azure-services&quot;<br>  server_id        = azurerm_postgresql_flexible_server.psql.id<br>  start_ip_address = &quot;0.0.0.0&quot;<br>  end_ip_address   = &quot;0.0.0.0&quot;<br>}<br><br>#### configure access from internet ####<br>resource &quot;azurerm_postgresql_flexible_server_firewall_rule&quot; &quot;external&quot; {<br><br>  name             = &quot;allow-all-ips&quot;<br>  server_id        = azurerm_postgresql_flexible_server.psql.id<br>  start_ip_address = &quot;x.x.x.x&quot; # external IP address range start<br>  end_ip_address   = &quot;x.x.x.x&quot; # external IP address range end<br>}</pre><p><strong>2. Variables.tf</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*3pIRuhhr2vJk5MIcZXwCsw.png" /><figcaption>variables.tf</figcaption></figure><h4>Azure Resource Group</h4><ol><li><strong>main.tf:</strong></li></ol><pre>resource &quot;azurerm_resource_group&quot; &quot;rg&quot; {<br>    name = var.group_name<br>    location = var.location<br>    tags = var.tags<br>}</pre><p><strong>2. Variables.tf:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*kgRrtk23uDM_INXh5Zj56w.png" /><figcaption>resource group variables.tf</figcaption></figure><p><strong>3. Outputs.tf:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*dnbmXS011jp7Ni-OA4R4ig.png" /><figcaption>azure resource group outputs.tf</figcaption></figure><h4>Instantiate sub-modules in Veramo folder</h4><ol><li><strong>main.tf:</strong></li></ol><pre># Configure the Azure provider<br>terraform {<br>  required_providers {<br>    azurerm = {<br>      source  = &quot;hashicorp/azurerm&quot;<br>      version = &quot;~&gt; 3.0.2&quot;<br>    }<br><br>  }<br>  required_version = &quot;&gt;= 1.1.0&quot;<br>}<br><br>provider &quot;azurerm&quot; {<br>  features {}<br>}<br><br><br>resource &quot;azurerm_resource_group&quot; &quot;resource_group&quot; {<br>    name = &quot;veramo-resource-group&quot;<br>    location = var.location<br>}<br><br>module &quot;container-registry&quot; {<br>  source  = &quot;../modules/azure_container_registry&quot;<br><br>  resource_group_name = azurerm_resource_group.resource_group.name<br>  location            = var.location<br><br>  # Azure Container Registry configuration<br>  container_registry_config = {<br>    name = var.container_registry_config.name<br>    sku = var.container_registry_config.sku<br>  }<br>}<br><br>module &quot;kubernetes-cluster&quot; {<br>    source = &quot;../modules/azure_kubernetes_cluster&quot;<br>    aks_name = var.aks_name<br>    env = var.env<br>    resource_group_name = azurerm_resource_group.resource_group.name<br>    location            = var.location<br>    dns_prefix = var.dns_prefix<br><br>    #   node_pool<br>    node_pool = {<br>        name        = var.node_pool.name<br>        node_count  = var.node_pool.node_count<br>        vm_size     = var.node_pool.vm_size<br>    }<br>    <br>}<br><br>resource &quot;azurerm_role_assignment&quot; &quot;aks&quot; {<br>    principal_id = module.kubernetes-cluster.kubelet_identity_principal_id<br>    role_definition_name = &quot;AcrPull&quot;<br>    scope = module.container-registry.container_registry_id<br>    skip_service_principal_aad_check = true<br>}<br><br>module &quot;azure_managed_flexible_postgres_db&quot; {<br><br>  source = &quot;../modules/azure_flexible_postgresql&quot;<br>  resource_group_name = azurerm_resource_group.resource_group.name<br>  location            = var.location<br>  private_dns_name = var.private_dns_name<br>  azurerm_postgresql_server_config = var.azurerm_postgresql_server_config<br>}</pre><p><strong>2. terraform.tfvars:</strong></p><pre># module resource_group<br>resource_group_name = &quot;resource_group_name&quot;<br>location = &quot;Germany West Central&quot;<br><br># module azure_container_registry<br>container_registry_config = {<br>    name = &quot;veramoRegistry&quot;<br>    sku = &quot;Basic&quot;<br>}<br><br># module azure_kubernetes_cluster<br>aks_name = &quot;veramo-cluster&quot;<br><br>env = &quot;dev&quot;<br>dns_prefix = &quot;veramo&quot;<br><br>node_pool = {<br>    name = &quot;default&quot;<br>    node_count = 1<br>    vm_size = &quot;Standard_B4as_v2&quot; #&quot;Standard_B2as_v2&quot;<br>}<br><br># module azure_flexible_postgresql<br>azurerm_postgresql_server_config = {<br>    name = &quot;veramo-demo-db&quot;<br>    admin_user = &quot;yourUserNAME&quot; # change<br>    admin_pw = &quot;yourSUperSecurePassword&quot; # change <br>    sku_name = &quot;B_Standard_B1ms&quot;<br>    version = &quot;13&quot;<br>    storage_mb = 32768<br>    zone = &quot;1&quot;<br>}<br><br>private_dns_name = &quot;veramo-db&quot;</pre><p><strong>3. Variables.tf:</strong></p><pre>##### resource group ##### <br>variable location {<br>    type = string<br>    description = &quot;Resource Group Location&quot;<br>}<br><br>variable resource_group_name {<br>    type = string<br>    description = &quot;Resource Group Name&quot;<br>}<br><br>##### container registry ##### <br>variable &quot;container_registry_config&quot; {<br>  description = &quot;Manages an Azure Container Registry&quot;<br>  type = object({<br>    name                          = string<br>    admin_enabled                 = optional(bool)<br>    sku                           = optional(string)<br>    public_network_access_enabled = optional(bool)<br>    quarantine_policy_enabled     = optional(bool)<br>    zone_redundancy_enabled       = optional(bool)<br>  })<br>}<br><br>##### kubernetes cluster ##### <br>variable &quot;aks_name&quot; {<br>    type = string<br>}<br><br>variable &quot;env&quot; {<br>    type = string<br>    description = &quot;environment name&quot;<br>}<br><br><br>variable &quot;dns_prefix&quot; {<br>    type = string<br>    description = &quot;dns prefix for generating fqdn for this cluster&quot;<br>}<br><br>variable &quot;node_pool&quot; {<br>  description = &quot;Manages an aks node pool&quot;<br>  type = object({<br>    name        = string<br>    node_count  = number<br>    vm_size     = string<br>  })<br>}<br><br>#### azure postgres db ####<br>variable &quot;azurerm_postgresql_server_config&quot; {<br>  description = &quot;Manages an Azure flexible postgres sql server&quot;<br>  type = object({<br>    name                          = string<br>    admin_user                    = string<br>    admin_pw                      = string<br>    sku_name                      = string<br>    version                       = string<br>    zone                          = optional(string)<br>    storage_mb                    = number<br><br>  })<br>}<br><br>variable &quot;private_dns_name&quot; {<br>    type = string<br>    description = &quot;Resource Group Location&quot;<br>}</pre><h3>Bringing it all together</h3><p>Switch to veramo folder and run the following commands:</p><p><strong>Step -1</strong></p><pre>terraform init</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*Zr86WebefWhUZkdMazx-gA.png" /><figcaption>tf init</figcaption></figure><p><strong>Step -2</strong></p><pre>terraform plan</pre><p>If everything is ok, you will see an output as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*gOP5I357-Vz7fKSh4ujGuQ.png" /></figure><p><strong>Step-3</strong></p><pre>terraform apply</pre><p>Terraform apply command will create the necessary infrastructure on Azure for you.</p><p>The output of the terraform apply will look as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*RJRcwaBXl3yMIa-DcVNCcQ.png" /></figure><p>Enter yes to create your infrastructure.</p><p>If everything goes well, you should see an output as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*GqcjShIqUb18PW7VoPfh5Q.png" /><figcaption>infrastructure created</figcaption></figure><p>If you already have the necessary infrastructure in place, please refer to <a href="https://medium.com/@rameez.saleem/deploying-veramo-on-azure-using-terraform-and-helm-part-2-ae06ac1bdba2">Part 2</a> which covers the deployment of Veramo Agent into Azure Kubernetes Service using Helm.</p><p>If you have any further questions, please contact us at <a href="http://info@iso-gruppe.com/">info@iso-gruppe.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aaaa75d199b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>