Below is a PDF-ready document (in Markdown) containing the comprehensive research
findings on pyTigerGraph and its AWS-specific resources. You can copy this text into any
Markdown editor (e.g., VS Code, Dillinger, or StackEdit), then export it as a PDF. All hyperlinks
are included so you can reference the official documentation and community tutorials.
Comprehensive pyTigerGraph
Documentation, Tutorials, and AWS
Resources
Table of Contents
1 Introduction
2 pyTigerGraph Documentation & Tutorials 2.1 Official Documentation & Reference 2.2
Beginner Tutorials & Getting Started 2.3 Advanced Use Cases & Examples 2.4
Community Resources
3 pyTigerGraph on AWS 3.1 Deployment on AWS (EC2, Containers, etc.) 3.2 AWS
Integrations (S3, DynamoDB, RDS, Lambda) 3.3 Security Best Practices 3.4 Scaling
& Performance Optimization 3.5 Community & Support (AWS-Specific)
4 Reference Links
1. Introduction
pyTigerGraph is a Python client (SDK) that simplifies interactions with the TigerGraph
platform, which is a high-performance, distributed graph database. With pyTigerGraph,
developers can:
• Authenticate to a TigerGraph instance and manage tokens.
• Perform CRUD operations on vertices and edges.
• Execute GSQL queries and procedures from Python.
• Integrate TigerGraph with various data science and machine learning workflows.
This document compiles official documentation, community tutorials, and AWS-specific
guidance for deploying and integrating pyTigerGraph on Amazon Web Services.
2. pyTigerGraph Documentation & Tutorials
2.1 Official Documentation & Reference
• pyTigerGraph Official Docs
◦ Overview, installation, and API references: https://docs.tigergraph.com/pytigergraph/
• GSQL Query Language Reference
◦ TigerGraph’s SQL-like language for graph data, including syntax details and best
practices: https://docs.tigergraph.com/gsql-ref/
• pyTigerGraph GitHub Repository
◦ Source code, README, and community
contributions: https://github.com/tigergraph/pytigergraph
2.2 Beginner Tutorials & Getting Started
• “pyTigerGraph 101” Tutorial (Official Docs)
◦ Step-by-step guide to connecting pyTigerGraph with a TigerGraph instance, basic
queries, and CRUD operations: https://docs.tigergraph.com/pytigergraph/intro
• Graph-ML Workbench Notebooks
◦ Repository of Jupyter notebooks that include beginner-friendly examples for loading
data and running queries with
pyTigerGraph: https://github.com/TigerGraph-DevLabs/graph-ml-notebooks
• Community Introductory Blogs
◦ Example: Intro to pyTigerGraph by Parker Erickson on Medium, covering setup and
first queries: https://medium.com/@parkererickson
2.3 Advanced Use Cases & Examples
• Performance and Query Optimization
◦ TigerGraph’s official documentation on GSQL performance
tuning: https://docs.tigergraph.com/gsql-ref/query-performance
◦ Graph Gurus webinars on GSQL best practices and pyTigerGraph usage (TigerGraph
YouTube channel).
• Complex Queries and GSQL Features
◦ GSQL 102 notebooks in the Graph-ML Workbench, showcasing advanced query
writing: https://github.com/TigerGraph-DevLabs/graph-ml-notebooks/tree/mast
er/GSQL_102
• Real-World Implementations
◦ Graph Data Science (GDS) toolkit for
pyTigerGraph: https://docs.tigergraph.com/pytigergraph/gds
◦ Machine Learning Integration (e.g., fraud detection, recommendation systems in
graph-ml-notebooks).
◦ Example article on Predicting IPOs with GCN integrating pyTigerGraph & PyTorch
(Medium or Towards Data Science—various community posts).
2.4 Community Resources
• TigerGraph Community Forum
◦ Q&A, knowledge-sharing, and AWS-specific
discussions: https://community.tigergraph.com/
• TigerGraph Discord
◦ Real-time chat support and community discussions: https://discord.gg/tigergraph
• TigerGraph YouTube Channel
◦ Graph Gurus webinar series and shorter how-to
videos: https://www.youtube.com/c/TigerGraph
• TigerGraph University
◦ Free training courses (fundamentals, advanced GSQL, data science workflows,
etc.): https://www.tigergraphuniversity.com/
3. pyTigerGraph on AWS
3.1 Deployment on AWS (EC2, Containers, etc.)
• AWS Marketplace AMI
◦ Official TigerGraph image on AWS Marketplace (choose instance type, configure
VPC/security,
etc.): https://aws.amazon.com/marketplace/pp/prodview-4dsr62sfyqx4g
◦ Getting Started on AWS (TigerGraph Docs): https://docs.tigergraph.com/ecosys/aws/
• Docker on AWS
◦ TigerGraph’s Docker image and
instructions: https://hub.docker.com/r/tigergraph/tigergraph
◦ Deploying containers on AWS ECS/EKS or directly on EC2 is a common approach for
dev environments.
• Backup & Restore
◦ TigerGraph docs on backups (store snapshots in S3 or use EBS snapshots in
AWS): https://docs.tigergraph.com/admin/backup-restore/
3.2 AWS Integrations (S3, DynamoDB, RDS, Lambda)
• Loading Data from S3
◦ S3 loader config: https://docs.tigergraph.com/loading/s3-loader/
• RDS or DynamoDB
◦ Typically integrated via ETL approach (e.g., export to CSV → load into TigerGraph)
or via Spark/Kafka connectors.
◦ No direct DynamoDB connector, but you can script data ingestion with pyTigerGraph
calls or S3 exports.
• AWS Lambda
◦ Use pyTigerGraph in your Lambda function (Python) to query TigerGraph via
REST. Requires packaging pyTigerGraph or using Lambda layers.
◦ Example: calling TigerGraph from Lambda for event-driven architectures (discussions
on the TigerGraph forum).
3.3 Security Best Practices
• IAM Roles & S3 Access
◦ Avoid hardcoding AWS keys; ideally use an instance role that grants S3 permissions.
◦ If the S3 loader doesn’t directly support IAM roles, consider STS or community
solutions (forum threads discuss workarounds).
• TigerGraph Access Control
◦ Leverage role-based access, LDAP/OAuth integration, and secure credentials.
• Network Security
◦ Restrict inbound ports on EC2. Use private subnets, VPC peering, or VPN to limit
public access.
◦ Enable SSL for TigerGraph’s REST endpoints (HTTPS).
• Data Encryption
◦ Use AWS-managed encryption on EBS volumes (KMS) and ensure TigerGraph is
serving HTTPS.
• Patches & Updates
◦ Keep your TigerGraph version current. Use official release notes and contact
TigerGraph Support if needed.
3.4 Scaling & Performance Optimization
• Vertical Scaling
◦ Increase EC2 instance size if queries are slow or data is large. TigerGraph’s minimum
recommended is 4vCPUs/16GB RAM; scale to more CPU/RAM as needed.
• Horizontal Scaling
◦ TigerGraph supports multi-node clusters on AWS. Configure multiple EC2 instances in
the same VPC/subnet for distributed performance and high availability.
• Monitoring
◦ Use TigerGraph’s built-in metrics or REST calls for query performance.
◦ Use Amazon CloudWatch to track CPU, memory, disk I/O, and network usage.
• Performance Tuning
◦ Optimize your GSQL queries (filter early, design accumulators effectively, minimize
cross-node communication).
◦ Co-locate your TigerGraph instance with the rest of your stack for minimal network
latency.
3.5 Community & Support (AWS-Specific)
• TigerGraph Community Forum
◦ Find AWS-specific Q&A and share experiences: https://community.tigergraph.com/
• Case Studies & Webinars
◦ TigerGraph customers on AWS (fraud detection, supply chain).
◦ Graph + AI Summit sessions discussing large-scale TigerGraph on AWS.
• AWS Partner Resources
◦ TigerGraph is an AWS partner; look for official listings and blog posts on the AWS
Partner Network.
• Support
◦ TigerGraph offers enterprise support. For AWS-level issues (EC2 networking, security
groups), use AWS Support alongside TigerGraph’s docs.
4. Reference Links
1 pyTigerGraph Docs https://docs.tigergraph.com/pytigergraph/
2 GSQL Query Reference https://docs.tigergraph.com/gsql-ref/
3 pyTigerGraph GitHub https://github.com/tigergraph/pytigergraph
4 TigerGraph Community Forum https://community.tigergraph.com/
5 Graph-ML Notebooks https://github.com/TigerGraph-DevLabs/graph-ml-notebooks
6 TigerGraph YouTube https://www.youtube.com/c/TigerGraph
7 TigerGraph University https://www.tigergraphuniversity.com/
8 AWS Marketplace (TigerGraph
AMI) https://aws.amazon.com/marketplace/pp/prodview-4dsr62sfyqx4g
9 Docker Image https://hub.docker.com/r/tigergraph/tigergraph
10 S3 Loader https://docs.tigergraph.com/loading/s3-loader/
11 Backup & Restore https://docs.tigergraph.com/admin/backup-restore/
12 TigerGraph Cloud https://www.tigergraph.com/cloud/
13 TigerGraph Official Docs (all topics) https://docs.tigergraph.com/
14 TigerGraph Discord https://discord.gg/tigergraph
How to Generate a PDF:
1 Copy all of the text above (including Markdown formatting) into a Markdown editor such as
VS Code, StackEdit, or Dillinger.
2 Export or download the file as a PDF from the editor’s menu.
This will produce a printable and sharable PDF containing all the hyperlinks and structured
guidance on pyTigerGraph for both general use and AWS-specific deployments. Feel free to
tailor the formatting as needed.
Disclaimer: All links and references are provided for educational purposes. Always verify the
latest documentation from TigerGraph’s official site and AWS resources for up-to-date
instructions and best practices.