hands-on lab

Starting a Highly Available Graph Database With Amazon Neptune

Intermediate
1h 15m
1,078
4.5/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.
Lab 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 that 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 to 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

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

Updates

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

Environment before
Environment after
About the author
Students
39,994
Labs
106
Courses
2
Learning paths
10

Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.

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