Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
    • Data
Google Cloud Platform icon
Labs

Loading and Retrieving Data in Neptune

In this lab, you will load data from an S3 bucket into an existing Neptune instance using the bulk load feature. This is far more efficient than executing a large number of `INSERT` statements, `addVertex`, and `addEdge` steps, or other API calls. The Neptune instance will be available when you start the lab. However, you will need to create an IAM role and an S3 bucket, so prior knowledge of the IAM and S3 services are suggested.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Sep 21, 2025
Duration
1h 30m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Create an S3 Bucket and Grant Access
    1. In the AWS Management Console, navigate to S3.
    2. Visit this lab's GitHub repo and download the neptune-data.rdf file to your local machine.
    3. Create a S3 bucket with the following parameters:
      • Bucket name: neptune-import<INSERT_CURRENT_DATE_HERE>
      • Region: US East (N. Virginia)
    4. Copy the S3 bucket name into a text file for later use.
    5. Upload the neptune-data.rdf from your local machine.
    6. Create an IAM Role called neptune-import with AmazonS3ReadOnlyAccess permissions.
    7. Edit trust relationship for neptune-import and add the rds.amazonaws.com service.
    8. Add the neptune-import role to your neptune-cluster.
  2. Challenge

    Load the Data
    1. In the AWS Management Console, navigate to VPC.
    2. Create an Endpoint for the S3 service using "com.amazonaws.us-east-1.s3" and use the Route Table ID with two subnets.
    3. Copy the neptune-import role ARN into a text file for later use.
    4. Copy the neptune-clusterendpoint and port number into a text file for later use.
    5. In your local terminal, connect to the lab instance using the provided lab credentials.
    6. Save the neptune-import endpoint URL as an environment variable.
    7. Use curl to submit the upload, adding your unique role ARN to iamRoleArn and unique bucket name to source. If successful, 200 OK status will appear.
    8. Copy the loadID (from the 200 OK message) to monitor the job.
  3. Challenge

    Query the Data
    1. Download the RDF4J client.
    2. Extract the client.
    3. Create a SPARQL repo. Be sure to include your Neptune endpoint and append :8182/sparql at the end.
    4. Open the repo to view the submitted S3 bucket data.
    5. Query the data.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight