hands-on lab

Starting a Highly Available Graph Database With Amazon Neptune

Difficulty: Intermediate
Duration: Up to 1 hour and 15 minutes
Students: 1,129
Rating: 4.4/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Graph databases are becoming very popular. They offer you the possibility to design, handle, and manage data in a graph. That gives you the possibility to manage sets of data of all sizes. There are a lot of use cases where graph databases can be involved, most of them are social networks, fraud detection systems, and recommendation engines. Because of its popularity, there are different solutions you can choose from. AWS is one of the first providers to offer you a Graph DBMS, and this is Amazon Neptune. Neptune is a fast, reliable, and fully managed Graph DBMS that lets you create and manage graph databases. Neptune supports the two common graph models: property graphs and RDF. You can then perform operations using the respective query languages: Gremlin and SPARQL.

In this lab, you will create a subnet group to define in which subnets the Neptune instances (both master and replicas) can be deployed, you will create an Amazon Neptune Database, and you will connect to it and perform some SPARQL operations.

Learning Objectives

Upon completion of this beginner-level lab, you will be able to:

  • Define subnet groups to associate with an Amazon Neptune Database
  • Create a Neptune Graph Database
  • Connect to an Amazon Neptune Database and perform some SPARQL commands

Intended Audience

  • AWS Certified Big Data Speciality candidates
  • Data Engineers who want to build a highly available and secure graph database solution
  • Individuals who want to deep dive into the graph databases world

Prerequisites

A basic understanding of high availability and of the Neptune fundamentals is preferred but not required. You can follow the Neptune fundamentals here

Updates

June 10th, 2024 - Resolved Session Manager issue

May 23rd, 2022 - Updated the instructions and screenshots to reflect the latest UI

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Creating an Amazon Neptune Subnet Group
Setting up Security Group Rules for Connecting to the Neptune Cluster
Deploying an High Available Amazon Neptune Database
Starting an AWS Systems Manager Session Manager Browser Shell Session
Performing Simple SPARQL Operations