---
title: "Tutorials for Graph"
description: "Step-by-step Aerospike Graph tutorials covering Java/Python basics, graph visualization, AWS deployment, and TLS secu..."
---

# Tutorials for Graph

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

These tutorials walk you through common Aerospike Graph development scenarios. Several tutorials use sample apps from the [Aerospike Graph GitHub repository](https://github.com/aerospike/aerospike-graph).

## Introduction

The Aerospike Graph system is an application layer, called the Aerospike Graph Service (AGS), that operates directly on top of the Aerospike Database. AGS functions as a transparent middle layer, abstracting complex database operations so users can concentrate solely on data modeling, large-scale data loading, and executing millions of high-speed graph queries.

## How graph data modeling fits in

 ![Gdotv graph data visualization featuring movie vertices and user rating edges](https://aerospike.com/docs/_astro/gdotv_movies_example.BkdB8VFF_2ehd7Y.png)

Graph data modeling represents how data relates to other data. Use cases such as fraud detection, recommendation systems, or social networks benefit from explicitly modeling relationships.

Aerospike Graph uses the [Property Graph Model](https://tinkerpop.apache.org/docs/3.7.3/reference/#graph-computing) with [Gremlin](https://tinkerpop.apache.org/gremlin.html) as the traversal language.

### Property Graph Model at a glance

 ![Diagram of property graph model with phone and userId as vertices](https://aerospike.com/docs/_astro/property_graph_model_example.Dm60WT6s_22k8J8.png)

-   **Vertices** (nodes) represent entities such as people, devices, or locations.
-   **Properties** describe those entities, for example, a `userId` might include name, email, or billing ZIP.
-   **Edges** connect vertices and define relationships. Edges are directed from one vertex to another, but you can traverse them in either direction.

## Available tutorials

With the core model in mind, you can dive into the tutorials below.

### Getting started tutorials

Start with one of these introductory tutorials to learn the fundamentals of Aerospike Graph:

-   [Graph and Java basics](https://aerospike.com/docs/graph/graph-and-java-basics): Build a transaction network with the Gremlin Java driver.
-   [Graph and Python basics](https://aerospike.com/docs/graph/graph-and-python-basics): Build the same transaction network using the Gremlin Python driver.

Both tutorials create the same data model (users, accounts, and transactions) and cover the same query patterns. Choose the language you’re most comfortable with.

### Follow-up tutorials

After completing either the Java or Python basics tutorial, continue with:

-   [Visualize your graph with G.V()](https://aerospike.com/docs/graph/visualize-your-graph-with-gdotv): Connect G.V() to AGS and explore your transaction graph visually.

### Deployment and security tutorials

Ready to deploy to production? These tutorials cover advanced topics:

-   [Get started with Graph and AWS](https://aerospike.com/docs/graph/graph-and-aws-get-started): Deploy AGS with Aerolab and run the distributed bulk-loader example.
-   [Secure Aerospike Graph with TLS](https://aerospike.com/docs/graph/get-started-with-graph-and-tls): Configure end-to-end TLS between Gremlin clients, AGS, and Aerospike Database.