Skip to content

VPC Access for SSR Compute Runtime #3362

Description

@ryanbender2

Before opening, please confirm:

App Id

d38o4skyg8ykrk

AWS Region

us-east-1

Amplify Hosting feature

Not Applicable

Question

Hello! I am trying to connect to my RDS database inside the Next.js backend as defined here.

My RDS database is not public and I'm trying to figure out how I could connect to it from my app. Does an amplify hosted app have visibility and access to other aws services to allow this or is that not possible? For context, I'm attempting to use the Prisma ORM to connect to the database. This is an example of how my project is structured.

If it's not possible for the app to connect to a private RDS database, would I need to make the database publicly accessible, and if so, how could I do that securely?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions