# HashiCorp Vault: Deploy to Azure Container Instance using Azure Portal

This guide demonstrates deploying an Azure Container Instance of HashiCorp Vault using Azure Portal. This will be a no-code deployment. A follow-up blog on a HashiCorp Terraform deployment will be released soon.

The purpose of this guide:

* Demonstrate a fast release of a container image on Azure without coding knowledge
    
* Familiarise yourself with Azure Container Instances in the Azure Portal
    
* Test and play with HashiCorp Vault
    

For best practice, I always recommend that production (really all) resources be "as code" for both the infrastructure and the app. As such, I would not follow this guide to implement a production release but to build up your skills and knowledge of services.

# What do you need

You will need the following to complete this guide:

* Azure Portal access with permissions in a subscription to create an Azure Container Instance
    
* Ability to access websites by specifying the custom port number 8200. Some organisations block port numbers on their company firewall
    

Everything we do will be through a browser, so no software installation is required.

# HashiCorp Vault Deployment

1. Within the resource group you want to create the Container Instance, select the **Create** button
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1711099054360/11a38b60-80cd-4016-bb02-0fdefd199fb4.png align="center")
    
    .
    
2. Search for **Container Instances**. When you found the Container Instances resources, select **Create**.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1711099076530/62eff4cc-5c0f-4585-9b65-33ff5a5455bf.png align="center")
    
3. In the first window, you will need to complete the container details.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1711099432822/e91fb8f3-9d57-4ed4-bb0c-29a1a06250be.png align="center")
    
    The container details I have used for this demo is below (or above in the screenshot) that you can configure, leaving everything else as default:
    
    * **Container name** - The name of the container (hashicorp-vault-demo)
        
    * **Region** - Where the resource will be located (UK South)
        
    * **Image source** - Where to download the container image from (Other registry)
        
    * **Image type** - Is the image accesible publicly or behind authentication (Public)
        
    * **Image** - The path of the registry with the image and version (hashicorp/vault:latest)
        
    
    When ready, select **Next: Networking &gt;** to continue
    
4. We now need to enter the networking information. For this, please remember that this is a demo instance for the purpose of showing you how to deploy a container instance quickly, but this configuration will mean the instance is accessible over the internet by anyone. Make sure to reconfigure these settings if you are planning to store information in the instance.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1711099749010/0042d468-979c-40e4-9b31-232f4eb34ace.png align="center")
    
    The only change in this window will be the Ports as HashiCorp Vault is configured to use **port8200**. I replaced the pre-populated port 80 for this reason.
    
    When ready, select the **Review + create** tab.
    
5. The review window will display all the configurations you have set. Select the **Create** button to start the build
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1711099975991/abec724c-cf0d-462b-bc94-58bcd54c5c8f.png align="center")
    
6. Once the resource is created, you can then view the IP address that was assigned. As we didn't configure a FQDN (Fully Qualified Domain Name), you will have to use the IP address to access the website.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1711100029206/3a68c871-e16f-48e9-9072-6a207e2ca225.png align="center")
    
7. Open a new browser tab, and enter the following address: **http://MYIPADDRESS:8200**, where MYIPADDRESS is the public IP address in the resource window (as described above). Here you will have public access to the Vault instance.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1711100225273/d185ddd8-c333-4eb3-99b0-7a5f179a2471.png align="center")
