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

Install on Google Compute Engine

Google Developers Console

We assume that you have already signed up for the Google Cloud Platform. If not, do this next.

  • Go to your Google Developers Console at: https://console.developers.google.com/
  • Either select a Project where you want to install Aerospike, or create a new project by clicking on “Create Project”.

Create VM

On the Project Dashboard, click on “Create Instance”.

Use the following options:

  • Name: aerospike-server
  • Zone: us-central-1f (Choose a zone which is geographically close to your location)
  • Machine Type: n1-standard-2
  • Boot Source: New disk from image
  • Image: Ubuntu 18.04, 20.04 LTS
  • Boot disk: Standard persistent disk

Use defaults for other options and click on “Create”.

Your instance should come up and be listed in about a minute.

Firewall Rules

  • On the instance page, click on the “default” link under the “Network” section. Here you can add firewall rules for the Project.
  • Under Firewall Rules, click on “Create New
  • Use the following values to create a rule for Aerospike server
    • Name: Aerospike Server:
    • Source IP Ranges: 0.0.0.0/0
    • Protocols and Ports: tcp:3000-3004
  • Add another firewall rule for the Aerospike Management Console
    • Name: Aerospike Management Console:
    • Source IP Ranges: 0.0.0.0/0
    • Protocols and Ports: tcp:8081

Install Aerospike

Click on the “SSH” button. You may connect using the browser or the “gcloud” command line tool.

Terminal window
sudo su -
apt-get update
wget -O aerospike-server.tgz https://download.aerospike.com/download/server/latest/artifact/ubuntu18
tar -zxvf aerospike-server.tgz
cd aerospike-server-community-*
./asinstall

or

Terminal window
sudo su -
apt-get update
wget -O aerospike-server.tgz https://download.aerospike.com/download/server/latest/artifact/ubuntu20
tar -zxvf aerospike-server.tgz
cd aerospike-server-community-*
./asinstall

Start Aerospike

Terminal window
service aerospike start

Configure Network and Storage

Read the instructions for getting a cluster up: CONFIGURE NETWORK

Check out how to set up storage to persist the data: CONFIGURE 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?