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

Deploy a Serverless Application to AWS with Lambda and Neptune

In this lab, you will deploy a serverless social media application that uses Neptune to recommend friends to the main user, Bob. You will start by deploying the Neptune stack and import the data into Neptune using an EC2 instance and an S3 bucket. Then, you will deploy the API stack that will interface with the Neptune database for the UI. Finally, you will deploy the UI.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Apr 06, 2025
Duration
1h 30m

Contact sales

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

    Install Serverless
    • Create an access key for the cloud_user.
    • Update the cloud instance.
    • Install Node,js.
    • Install serverless globally.
    • Export the access key and secret access key at the command line.
  2. Challenge

    Deploy Neptune Stack
    • Create a key pair called neptune-key from the EC2 dashboard.
    • Use the serverless.yml file located in ~/Labs/Neptune when deploying the Neptune stack.
    • Deploy Neptune using the following parameters:
      • Parameter 1: ssh-key-name with a value of neptune-key.
      • Parameter 2: dbcluster. Come up with the name of the cluster as the value.
  3. Challenge

    Deploy API Stack
    • Install the Node.js packages.
    • Deploy the API stack using serverless using the serverless.yml file located in ~/Lab/API.
    • Save the API URL. You will need it in the next objective.
    • Test the AI URL to make sure the stack deploys properly.
  4. Challenge

    Deploy UI Stack
    • Install Node.js packages for the UI.
    • Deploy the UI stack using the serverless.yml file located in ~/Lab/UI.
    • Edit the config.js file:
      • Modify the api element.
    • Deploy the UI stack using serverless.
  5. Challenge

    Add Data to Neptune
    • Deploy and S3 bucket using serverless using the serverless.yml file located in ~/Lab/S3.
    • Download the CSV files from GitHub or scp them from ~/Lab/S3 to your local system.
    • Upload the CSV files to the S3 bucket you created.
    • Modify the curl command provided in the lab guide with the S3 role ARN and CSV file URIs.
    • Connect to the EC2 instances included with the lab.
    • Use the curl command below to import the data into Neptune for each file in the bucket.
    • Start with the vertex files first.

    Link to GitHub

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