Go Serverless with a Graph Database

By Steve Roberts

AWS Neptune is a fully managed database service. Discover ways to leverage graph data by creating a Graph Database stack and a simple web app.

2.5 hours
  • 33 Lessons
  • 6 Course Quizzes

About the course

Hello Cloud Gurus,

Graph Databases like Amazon Neptune are incredibly powerful but relatively underappreciated. In this course, we will dive in to Neptune to see how and why it might be right for your Serverless applications. At the end of this course you will be able to spin up a Graph Database stack and a simple web application to leverage your graph data. We’ll achieve this with serverless framework and cloudformation, meaning you learn a lot more than just one AWS service in this course!

The app we build is also great fun and very practical. It’s a face categorisation app using family photographs (you can use your own if you like, or use the supplied images), leveraging data that we will generate from the Amazon Rekognition service. With this tool we might just be able to finally sort out those hundreds of thousands of family photos that we all have lying around. Now you can easily find all those photos of your Grand Aunt quickly and accurately!

This is a beginner to intermediate-level course. We will be writing a bit of code and setting up (and removing) quite a lot of infrastructure in AWS. Prior coding experience is nice to have. The course will definitely be easier to follow if you have a bit of an understanding of JavaScript (Node) and CloudFormation. For those who don’t have this experience, don’t worry – at key points in the course when we write code or modify CloudFormation templates, we will point out relevant chapters in other A Cloud Guru courses that will help you learn these areas in more detail.

In this course, you’ll learn:

  • What graph databases are, and how they differ from other data storage and why/when to use them.
  • How to set up and run an AWS Neptune instance.
  • How to use the Gremlin and SPARQL query languages.
  • How to bulk upload data into AWS Neptune.
  • How to use Amazon Rekognition to analyze photos for faces.
  • How to create a simple Node.js API and UI endpoint for interacting with your graph data in a web interface.

So what are you waiting for, Cloud Gurus! If you work in a software development team, you are a tech manager or a business person who is technically minded, join me in this course to discover what graph databases are and what they can do for you and your serverless project.

  • Chapter 1 9 Lessons Introduction and Overview of Graph Data Theory 50:18



    Course Overview


    Graph Databases and the Face Categorising Project


    Amazon Neptune 10,000 Feet View


    Amazon Neptune Graph Models


    Property Graph Model


    Resource Description Framework (RDF) Graph Model


    Demo: Getting Set Up for this Course


    Chapter 1 Quiz

    15:00 Quiz
  • Chapter 2 6 Lessons Playing with Amazon Neptune Query Languages 40:39

    Chapter Introduction


    Apache Tinkerpop and the Console


    Introducing the Gremlin Query Language


    Demo: Using the Apache Tinkerpop Console


    An Alternate Query Language - SPARQL


    Chapter 2 Quiz

    15:00 Quiz
  • Chapter 3 9 Lessons Setting Up an App that will Interact with Neptune 49:00

    Chapter Introduction


    Understanding the Neptune and API Stacks


    Understanding the Neptune CloudFormation


    Understanding the API CloudFormation


    Demo: Spin Up the Neptune Stack


    Demo: Spin Up the API Stack


    Cleaning Up to Save $$$


    Demo: Removing the Stacks


    Chapter 3 Quiz

    15:00 Quiz
  • Chapter 4 8 Lessons Creating a Useful Dataset 45:05

    Chapter Introduction


    Creating Graph Data with Rekognition


    Understanding the Rekognition Stack


    Demo: Creating Graph Data from Rekognition


    Updates to the Neptune and API Stacks for Loading Data


    Demo: Loading Data into Neptune


    Rekognition Data that Suits RDF


    Chapter 4 Quiz

    15:00 Quiz
  • Chapter 5 4 Lessons Working with our Data via the App 36:47

    Neptune Web UI Overview


    Demo: Modifying the Query Lambda


    Demo: Running the Neptune Web UI


    Chapter 5 Quiz

    15:00 Quiz
  • Chapter 6 3 Lessons Conclusion 24:25

    Building on our Serverless Graph Database Solution


    Thank You and Goodbye


    Chapter 6 Quiz

    15:00 Quiz

What you will need

  • Coding for Cloud 101 (A Cloud Guru course)

  • Introduction to AWS CloudFormation (A Cloud Guru course)

  • The EC2 section of the AWS Certified Solutions Architect Associate (A Cloud Guru course)

What you can expect

  • You will be able to identify use cases where graph data is an appropriate data storage solution

  • You will be able to demonstrate and understanding of how to work with graph data using popular query languages

  • You will be able to demonstrate a familiarity with why complex AWS infrastructure is often needed, particularly with secure managed services like Neptune.

  • You will be able to create an API and user interface to make graph data analysis accessible to you and your stakeholders.

Practice alongside courses in Cloud Playground

What is Cloud Playground? Cloud Playground lets you build skills in real-world AWS, Google Cloud, and Azure environments. Spin up risk-free Sandboxes, Servers and Terminals and follow along with courses, test a new idea or prepare for exams.

Get Started
Who’s going to be learning?
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!