Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A full-stack Next.js demo that securely connects to AWS Aurora DSQL Postgres via Vercel's OIDC Federation.
The AWS Aurora DQSL Movies Demo is a boilerplate project that shows how to build a Next.js application on Vercel that securely connects to an AWS Aurora DSQL Postgres database without hardcoded credentials.
The AWS Aurora DQSL Movies Demo is a sample application built with Next.js that fetches movie records from an Aurora DSQL Postgres database. It runs on Vercel and is provided by Vercel Labs, with a live demo at https://aws-dsql-movies-demo.labs.vercel.dev. Its purpose is to demonstrate how Vercel's OIDC Federation enables a serverless app to authenticate with AWS DSQL dynamically, eliminating the need to store access tokens in configuration files.
vercel env pull to fetch environment variables, pnpm install to install dependencies, and use pnpm run db:migrate and pnpm run db:seed to create and populate the movie tables.Developers who want a working reference for integrating Vercel, Next.js, and AWS Aurora DSQL will find this template useful. It's also for teams evaluating Aurora DSQL who need a concrete example of secure authentication, and for those learning how Vercel's OIDC Federation can replace long-lived database secrets.
The deployment flow starts when you click the Deploy button in the repository README. That action clones the repo, creates a Vercel project, installs the AWS integration, and provisions an Aurora DSQL database. After that, you can work locally by pulling environment variables with vercel env pull, running pnpm install, then pnpm run db:migrate to create the schema, pnpm run db:seed to load movie data, and finally pnpm run dev to start the Next.js development server.
