GigaSpaces in 5 Minutes

This topic describes how to start an GigaSpaces using the embedded demo, in order to get you up and running as quickly as possible. The demo is launched via the GigaSpaces command line interface (CLI) tool. The GigaSpaces demo runs in standalone mode and creates the following environment on your local machine:

  • Spark Master
  • Spark Worker
  • Apache Zeppelin
  • Data grid comprised of a Space in high availability mode (two primary partitions, each with a single backup partition)

Initializing the GigaSpaces Application

AWS Marketplace Users

To start GigaSpaces via Amazon Web Services:

  1. In the AWS Marketplace, search for the required GigaSpaces AMI offer.
  2. Launch an instance from the AMI.

Other Users

If you downloaded the GigaSpaces software package from the GigaSpaces website, it takes just a few simple steps to start GigaSpaces using the CLI.

To begin working with GigaSpaces:

  1. Download the GigaSpaces package from the GigaSpaces website and install it, as described in Downloading and Installing.

  2. Open the gs-license.txt file and apply the license key you received via email, which will give you access to the GigaSpaces features and functionality for 30 days.

    For more information about GigaSpaces license options, see the Product License page.

  3. Run the following command to start the CLI:

    <GS_HOME>/bin/gs demo
    
    <GS_HOME>/bin/gs.sh demo
    

The GigaSpaces environment includes a number of components, and may take up to a minute to finish initializing.

The Web Management Console is automatically launched in the local machine's default web browser at the following address: localhost:8099. It opens to the host screen, which shows the four containers that were created by the demo (two partitions with one backup each).

For information on how to use the Web Management Console and other administration tools to view the GigaSpaces core components (the data fabric within GigaSpaces), see the Administering Spaces and Processing Units topics in the Administration section.

Apache Zeppelin Notebook Examples

AWS Marketplace Users

After you launch the GigaSpaces instance from the AMI, you can connect to Apache Zeppelin and explore the examples in the web notebook provided with the product.

To connect to Apache Zeppelin:

  1. Navigate to <ami-public-ip>:9090 in your web browser.

    To resolve the AMI public IP address, refer to the AWS user guide.

  2. The GigaSpaces package comes with three Getting Started notebooks; GigaSpaces Basics, GigaSpaces Geospatial API, and GigaSpaces Python Example. Open any of these examples and click Play to run the paragraph it contains.

    If you see an Interpreter Binding setting in the notebook main window, click Save (don't deselect any interpreters or the examples won't work).

Other Users

After you get GigaSpaces up and running, you can use the Apache Zeppelin web notebook to explore the examples that are provided with the product.

To access the examples in the web notebook:

  1. Navigate to localhost:9090 in your web browser.
  2. The GigaSpaces package comes with three Getting Started notebooks; GigaSpaces Basics, GigaSpaces Geospatial API, and GigaSpaces Python Example. Open any of these examples and click Play to run the paragraph it contains.

    If you see an Interpreter Binding setting in the notebook main window, click Save (don't deselect any interpreters or the examples won't work).

What's Next?