Skip to content

Launching PuppyGraph from AWS Marketplace

Summary

In this tutorial, you will:

  • Launch a PuppyGraph EC2 instance from AWS Marketplace;
  • Explore an example graph using PuppyGraph Web UI.

Prerequisites

An AWS account is needed with proper accesses to subscribe to PuppyGraph and launch an EC2 instance.

Subscribing to PuppyGraph

PuppyGraph Enterprise is available at the AWS Marketplace. Click Continue to Subscribe to subscribe to it.

The AWS Marketplace will ask you to confirm the subscription.

PuppyGraph Product Overview Page

PuppyGraph Product Overview Page

Launching a PuppyGraph Instance

Once the subscription is live, you can launch an instance of the PuppyGraph.

Software configuration

Software configuration

EC2 Instance Type configuration

EC2 Instance Type configuration

After selecting a VPC, a block of security group setting will pop up. The security group setting is important for accessing PuppyGraph properly. In this tutorial, a new security group puppygraph-access-sg is generated based on seller settings.

VPC Setting Page

VPC Setting Page

The seller-settings-based security group contains 3 ports:

  • 8081 for the Web UI
  • 8182 for handling Gremlin queries
  • 7687 for handling Cypher queries
Security Group configuration

Security Group configuration

After that, select Key Pair Settings. Then click on Launch to launch a new PuppyGraph instance on EC2.

Key Pair Setting

Key Pair Setting

The PuppyGraph instance has been successfully launched. Click on the link to view this instance on EC2 Console.

Post Launch View Page

Post Launch View Page

Accessing the PuppyGraph Instance

After the instance is initiated, it will be visible in the EC2 Console.

Make sure to record the following details, as you will need them:

  • Instance ID. This is the default password of the instance i-00495ec4e0949ab33.
  • Public IPv4 address. The PuppyGraph instance is accessible there.
EC2 Console

EC2 Console

Access the PuppyGraph UI by navigating to the public address on port 8081. For example, based on the previously mentioned instance, the address would be http://54.159.67.219:8081.

Sign into PuppyGraph using the default username puppygraph and the default password (EC2 Instance ID).

PuppyGraph Sign-In Page

PuppyGraph Sign-In Page

At times, the PuppyGraph initialization might still be underway, and the Schema page will display a prompt. Please refresh the page to see if the server is ready.

PuppyGraph Server Pending Page

PuppyGraph Server Pending Page

Once the server is ready, the schema page will appear as follows.

PuppyGraph Schema Welcome Page

PuppyGraph Schema Welcome Page

Exploring the Example Graph

In this tutorial, we'll be utilizing the demo data supplied by PuppyGraph.

Click on Use example schema/data, and the UI will show that loading is underway.

PuppyGraph Schema Loading in Progress

PuppyGraph Schema Loading in Progress

After the schema has been loaded, the page will display a visualization of the graph's schema.

PuppyGraph Schema Loaded

PuppyGraph Schema Loaded

PuppyGraph features a dashboard, enabling you to quickly access essential information from the graph right away.

The default tiles on the dashboard count the total number of nodes / edges and also display the sample data from the graph.

PuppyGraph Dashboard

PuppyGraph Dashboard

Cleaning up

To sign out, click on the button located in the top right corner.

Sign Out

Sign Out

After completing the tutorial, you can proceed to safely terminate the EC2 instance.

Terminate the EC2 Instance

Terminate the EC2 Instance