ARNscopeDocsDownload

The database is in a private subnet. You need one query, now.

Query a private RDS database from your Mac

No SSH key, no inbound port, no session-manager-plugin. Pick the database in ARNscope’s RDS list. It finds an SSM-managed instance in your VPC that can reach it, opens the tunnel itself, signs you in with an IAM token and gives you a SQL console that is read-only until you say otherwise. RDS and Aurora PostgreSQL, MySQL and MariaDB.

  • macOS only: macOS 13 Ventura or later · Apple silicon and Intel
  • 7-day free trial, then $49 a year or $7 a month
The SQL console on a private Aurora PostgreSQL database, then Top SQL.Sample data from a fictional accountOpen full size

The usual way: three commands and a tab you can’t close

Querying a database in a private subnet from a laptop usually means a port-forward session in one terminal tab, an IAM token from a second command, and a client pointed at localhost. The token lasts 15 minutes, the tab has to stay open, and the next time you do it you look up the document name again.

# 1. Needs the AWS CLI and the session-manager-plugin installed
aws ssm start-session --target i-0abc… \
  --document-name AWS-StartPortForwardingSessionToRemoteHost \
  --parameters host=orders.cluster-….rds.amazonaws.com,portNumber=5432,localPortNumber=15432
# 2. In another tab: a password that expires in 15 minutes
aws rds generate-db-auth-token \
  --hostname orders.cluster-….rds.amazonaws.com --port 5432 --username readonly
# 3. Paste it into psql, DBeaver or DataGrip on 127.0.0.1:15432

Fair to the alternatives: the paid DBeaver Lite, Enterprise and Ultimate editions have an AWS SSM tunnel handler that signs in with an AWS profile, and IAM database sign-in with SSO profiles, given the AWS CLI and the Session Manager plugin. CloudShell can run in a VPC environment, where the preinstalled psql works at no extra charge. With a company VPN, your usual client is enough. Each of those is a fine answer.

How it works in ARNscope

The same job, as one form. ARNscope speaks the Session Manager protocol itself, so the tunnel needs no AWS CLI and no plugin, and nothing listens on a port unless you ask it to.

  1. Pick the database

    Open RDS and choose it. Choose Read only or Write, and the writer or reader endpoint.

  2. Pick or make a tunnel

    The picker puts tunnels that reach this endpoint on top. New tunnel runs Find bastions and takes an instance in the same VPC that the database allows.

  3. Sign in with IAM

    ARNscope runs aws rds generate-db-auth-token with your profile, uses it as the password and connects over TLS, checked against the AWS RDS certificate authorities.

  4. Query

    Object tree, completion, history, EXPLAIN as a diagram, Top SQL and instance metrics. Next time, one click under Previous connections.

Pick the endpoint and the tunnel, start it, connect: the console opens Read only.Sample dataOpen full size
EXPLAIN as a diagram: the Seq Scan on orders stands out.Sample dataOpen full size

Read-only until you say otherwise

Every session opens with default_transaction_read_only=on, and ARNscope checks each statement with PostgreSQL’s own parser before sending it, so an UPDATE hidden in a WITH is refused too. To write, flip Writes in the console header: a native dialog names the database user, host and database, and says PRODUCTION on a production profile. Writes turn off again after 15 minutes without one.

The check is a guard, not the boundary: for read work, sign in as a database user that can only read.

Use your own client on the same tunnel

Prefer DataGrip, DBeaver or psql for the long session? Turn on Open a local port for other apps on the tunnel and point your client at 127.0.0.1:15432. ARNscope binds loopback addresses only, and the tunnel, its reconnects and the instance it runs through stay managed for you, from the menu bar too. How local ports work.

Compared with the other ways in

Ways to query a private RDS database from a laptop
Compared onARNscopeSSH bastion + clientaws ssm + any clientDBeaver Lite, Enterprise, Ultimate: SSM handlerCloudShell in a VPC
Inbound port on the instanceNonePort 22NoneNoneNone
SSH key to manageNoYesNoNoNo
AWS CLI + Session Manager pluginNeither for the tunnel; the CLI for IAM sign-inNoBothBothCLI built in, no plugin needed
IAM tokenHandledBy handBy hand; each lasts 15 minutesHandledBy hand
Read-only guardRead-only session, statement check, Writes switchYour database userYour database userRead-only connection settingYour database user
Runs onmacOS onlyAny OSAny OSmacOS, Windows, LinuxBrowser
Price$49 a year or $7 a monthFreeFreePaid editionsFree
Vendor features as documented in December 2026: DBeaver AWS SSM (Lite, Enterprise and Ultimate only; needs the AWS CLI and the Session Manager plugin), CloudShell in a VPC. Every option still needs an instance, a VPN or CloudShell inside the VPC: the database is private.

What it needs, and what it can’t do

  • An SSM-managed EC2 instance in the database’s VPC, with SSM Agent 3.1.1374.0 or later (AWS’s minimum for port forwarding to a remote host), that the database’s security group allows. It needs no SSH key and no inbound rule, but it has to exist. Detection checks the instance’s own VPC only; a peered VPC shows as Unknown and still works if you test it.
  • IAM sign-in needs the AWS CLI (aws rds generate-db-auth-token) and a database user set up for IAM authentication (the rds_iam role on PostgreSQL). The tunnel itself doesn’t need the CLI. To sign in with a Secrets Manager secret or a typed password, save the database as a connection.
  • Engines: PostgreSQL (RDS, Multi-AZ clusters, Aurora) and MySQL, MariaDB and Aurora MySQL. No SQL Server, Oracle or Db2, and no RDS Proxy.
  • One database connection at a time. Connecting to another closes the current one.
  • Results are capped at 1,000 rows or 1 MiB. It’s a console for answers, not for exports.
  • Database connections work in the desktop app; the web preview has sample data only.

The whole console in two minutes

The whole console in under two minutes: connecting, the object tree, completion, EXPLAIN, Top SQL and metrics. Narrated, with captions.

The RDS console, narrated, with captions.Sample data from a fictional account

Questions

More in the full FAQ. Something not covered? Write to hello@arnscope.com.

Is this a bastion?

It still needs one instance: an EC2 instance in the database's VPC, managed by AWS Systems Manager (SSM Agent 3.1.1374.0 or later, AWS's minimum for port forwarding to a remote host), whose security group the database allows. What it doesn't need is an SSH key, an inbound port on that instance, the session-manager-plugin or a terminal left open. ARNscope speaks the Session Manager protocol itself and finds an instance that can reach the database for you.

Does it work with MySQL?

Yes. RDS for MySQL, MariaDB and Aurora MySQL connect the same way, through the same tunnels. SQL Server, Oracle and Db2 are not supported. See MySQL, StarRocks and ClickHouse.

Can I use DataGrip, DBeaver or psql with it?

Yes. Turn on Open a local port for other apps on the tunnel and connect your client to 127.0.0.1 on that port. ARNscope binds loopback addresses only, and the database's own login still applies. The TLS certificate names the RDS endpoint, so use a client mode that doesn't check the host name, or add a hosts entry. See Open a local port for other apps.

Where do my credentials go?

Nowhere but AWS. ARNscope signs requests on your Mac with the profiles in ~/.aws. The IAM token is generated with aws rds generate-db-auth-token (so IAM sign-in needs the AWS CLI installed) and lasts 15 minutes; no database password is stored. There is no ARNscope server and no telemetry. See Security.

The full reference

Every setting, permission and limit, written from the app’s code.

  • RDS and Aurora PostgreSQL

    Connect to RDS and Aurora PostgreSQL with IAM authentication, through an ARNscope SSM tunnel or your own, save connections to other PostgreSQL databases, and browse and query with a SQL console.

  • SSM tunnels

    Open private databases, Kafka clusters and services on EC2 instances over SSM, from inside ARNscope. How database forms pick a tunnel, and optionally share a loopback port with other apps on your Mac.

  • MySQL, StarRocks and ClickHouse

    Connect to RDS MySQL, MariaDB and Aurora MySQL, and save connections to StarRocks, ClickHouse and other databases. Routes, TLS, sign-in, the read-only guard and every message you can hit.

One query, no tunnel tab.

Next time the database is in a private subnet, it’s one click under Previous connections. The 7-day trial is the full app. Point it at the profiles you already have and try this one job. If it doesn’t save you time in a week, it isn’t for you.

Then $49 a year (about 94¢ a week) or $7 a month. One license works on up to 3 Macs. macOS 13 Ventura or later, Apple silicon and Intel.