hands-on lab

Introduction to Graph Database With Neo4j

Up to 30m
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.


Data is becoming most important in the last years. Some engineers say that data is the new gold. For this reason, databases are very important, and loads of new data model has been released. We were getting used to using the relational model. It's a very strong data model. But in recent years, a new data model is becoming more and more popular: the graph data model. It allows you to manage your data as they were a graph: nodes connected to each other with arches. With this in mind, you can define a data lake that can be really powerful when relationships between direct and indirect nodes are required.

A classic example where graph databases (so databases whose data model is graphical) are used is social networks. Suppose you need to send a newsletter to users that are following a VIP and that are interested in football. Of course, you can perform this query by using a relational database, but crossing relationships in a graph DB is easier and more efficient. New DBMSs have been released, but the most popular one is Neo4j. Neo4j allows you to create a graph database based on a property graph.

In this lab, you will understand the core principles of a graph database (especially a property graph) and you will install the Neo4j DBMS on an EC2 instance.

Learning Objectives

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

  • Understand the core principles of a graph database
  • Install and configure Neo4j as your DBMS

Intended Audience

  • Data engineers who want to switch to the graph data model
  • Developers who need to build an application based on a graph database


There are no prerequisites for taking this lab.

Environment before

Environment after

About the author

Learning paths

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
Understanding the Core Concepts of a Property Graph
Connecting to the Virtual Machine using EC2 Instance Connect
Installing Neo4j on a Linux Instance