Google Compute Deployment

Deploy Ignite on Google Compute.

❗️

This is a legacy Apache Ignite documentation

The new documentation is hosted here: https://ignite.apache.org/docs/latest/

The Apache Ignite image allows you to set up and quickly deploy a simple Apache Ignite cluster using the Google Compute Console.

Google Compute Deployment

  1. To import the Ignite Image, execute the following command:
gcloud compute images create ignite-image \
   --source-uri gs://ignite-media/ignite-google-image.tar.gz

For more information, please refer to cloud.google.com.

  1. Go to Google Compute Console.
  2. Go to Compute->Compute Engine->VM instances and click on New instance.
  3. Click the Change button in section Boot disk.
  4. Go to Custom images and choose the imported image. In the screenshot below, you can see an image named ignite-name.
684
  1. Click on Management, disk, networking, access & security options and add any of the following configuration parameters:

Name

Description

Default

Example

CONFIG_URI

URL to the Ignite configuration file (can also be relative to the META-INF folder on the class path). The downloaded config file will be saved to ./ignite-config.xml

N/A

https://raw.githubusercontent.com/apache/ignite/
master/examples/config/example-cache.xml

OPTION_LIBS

Ignite optional libs which will be included in the class path.

ignite-log4j,
ignite-spring,
ignite-indexing

ignite-aws,ignite-aop

JVM_OPTS

Environment variables passed to Ignite instance in your docker command.

N/A

-Xms1g -Xmx1g -server -XX:+AggressiveOpts -XX:MaxPermSize=256m

EXTERNAL_LIBS

List of URL's to libs.

N/A

http://central.maven.org/maven2/io/undertow/undertow-servlet/1.3.10.Final/undertow-servlet-1.3.10.Final.jar,http://central.maven.org/maven2/io/undertow/undertow-build-config/1.0.0.Beta24/undertow-build-config-1.0.0.Beta24.jar

IGNITE_VERSION

Version of Apache Ignite

`latest'

1.7.0

as shown in the figure below:

734
👍

Preferred Ignite Version

IGNITE_VERSION attribute can vary depending on the Apache Ignite version of interest.

  1. Fill in the required fields and run instances.
  2. Connect to the instances.
  3. To access the execution progress you need to know a container id. The following command will show the container id:
sudo docker ps
  1. The following command will show the logs:
sudo docker logs -f CONTAINER_ID
  1. Use the following command to enter the docker container:
sudo docker exec -it container_id /bin/bash