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.
Launching a PuppyGraph Instance
Once the subscription is live, you can launch an instance of the PuppyGraph.
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.
The seller-settings-based security group contains 3 ports:
- 8081 for the Web UI
- 8182 for handling Gremlin queries
- 7687 for handling Cypher queries
After that, select Key Pair Settings
. Then click on Launch
to launch a new PuppyGraph instance on EC2.
The PuppyGraph instance has been successfully launched. Click on the link to view this instance on EC2 Console
.
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.
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).
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.
Once the server is ready, the schema page will appear as follows.
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.
After the schema has been loaded, the page will display a visualization of the graph's schema.
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.
Cleaning up
To sign out, click on the button located in the top right corner.
After completing the tutorial, you can proceed to safely terminate the EC2 instance.