Skip to content
Webinar - May 13th: How Criteo powers real-time decisions with a reduced footprintRegister now

Install on Microsoft Azure

This page describes how to install Aerospike on a Microsoft Azure VM instance.

Prepare an Azure VM

  1. If you have not have already created an Azure account, sign up for one here.

  2. In the Azure portal, go to Virtual Machines and add a new VM.

  3. Configure the new VM with the following properties:

    Basic

    PropertyValue
    Nameaerospike-server
    VM disk typeSSD
    User nameGive it a username.
    Authentication typeAerospike recommends “SSH public key”
    SSH Public keyThe contents of your public key.
    Resource groupChoose to deploy into an existing group or create a new one.
    LocationChoose a location geographically close to you. Azure locations also limit VM type availability.
    ImageChoose the base OS for the VM.

    Size

    We recommend GS or LS instances. DSv2 is supported.

    Settings

    PropertyValue
    StorageChoose whether you’d like to use managed disks.
    Storage accountIf you did not choose managed disks, choose the storage account you’d like to use.
    NetworkLeave as defaults.
    ExtensionAdd any extensions you’d like.
    High availabilityAerospike recommends creating an availability zone with the maximum number of update domains and fault
    MonitoringLeave as defaults.
  4. On the summary page, confirm the values you entered and click Create.

  5. Create a new Network Security Group (NSG) in the same Resource Group and add the following inbound rules:

    Allow rule

    PropertyValue
    NameAerospike Server
    Priority100
    SourceAny
    ServiceCustom
    Protocol and Portstcp:3000-3003
    ActionAllow

    Deny rule

    PropertyValue
    NameDefault Deny
    Priority900
    SourceAny
    ServiceCustom
    ProtocolAny
    Port range1024-65535
    ActionDeny
  6. Attach this NSG to the network interface of your VM.

Install Aerospike Database

  1. Select your new VM, then click Connect.

    A connection string to use, like the following, is displayed: azureuser@<Public_IP>

  2. After you are connected, run the following command:

    Terminal window
    sudo su -
    apt-get update
  3. Follow the steps to install Aerospike Database on Ubuntu, then return and continue with the next step.

  4. Start Aerospike.

    Terminal window
    sudo service aerospike start

Configure network and storage

To learn about getting the cluster up, see Network configuration. To configure storage to persist data, check out Configure namespace storage.

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?