<commit_before>---
title: "On Azure"
slug: "run-validator-node-using-azure"
---

# On Azure

This is a step-by-step guide to install an Aptos node on AWS. Follow these steps to configure a validator node and a validator fullnode on separate machines. 

:::danger Did you set up your Azure account?
This guide assumes that you already have Azure account setup.
:::

## Before you proceed

Make sure you complete these prerequisite steps before you proceed:

- **Aptos CLI**: https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli
- **Terraform 1.2.4**: https://www.terraform.io/downloads.html
- **Kubernetes CLI**: https://kubernetes.io/docs/tasks/tools/
- **Azure CLI**: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli

## Install

:::tip One validator node + one validator fullnode
Follow the below instructions **twice**, i.e., first on one machine to run a validator node and the second time on another machine to run a validator fullnode. 
:::

1. Create a working directory for your configuration.

    * Choose a workspace name, for example, `mainnet` for mainnet, or `testnet` for testnet, and so on. **Note**: This defines the Terraform workspace name, which, in turn, is used to form the resource names.

      ```bash
      export WORKSPACE=mainnet
      ```

    * Create a directory for the workspace.<commit_msg>Update using-azure.md<commit_after>---
title: "On Azure"
slug: "run-validator-node-using-azure"
---

# On Azure

This is a step-by-step guide to install an Aptos node on Azure. Follow these steps to configure a validator node and a validator fullnode on separate machines. 

:::danger Did you set up your Azure account?
This guide assumes that you already have Azure account setup.
:::

## Before you proceed

Make sure you complete these prerequisite steps before you proceed:

- **Aptos CLI**: https://aptos.dev/cli-tools/aptos-cli-tool/install-aptos-cli
- **Terraform 1.2.4**: https://www.terraform.io/downloads.html
- **Kubernetes CLI**: https://kubernetes.io/docs/tasks/tools/
- **Azure CLI**: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli

## Install

:::tip One validator node + one validator fullnode
Follow the below instructions **twice**, i.e., first on one machine to run a validator node and the second time on another machine to run a validator fullnode. 
:::

1. Create a working directory for your configuration.

    * Choose a workspace name, for example, `mainnet` for mainnet, or `testnet` for testnet, and so on. **Note**: This defines the Terraform workspace name, which, in turn, is used to form the resource names.

      ```bash
      export WORKSPACE=mainnet
      ```

    * Create a directory for the workspace.
{'fraction_non_alphanumeric': 0.11045218680504076, 'fraction_numerical': 0.0029651593773165306, 'mean_word_length': 3.7854609929078014, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3755904', 'n_tokens_mistral': 803, 'n_tokens_neox': 778, 'n_words': 326}