Amazon RDS, Aurora and other managed databases
A managed database has no shell, so the agent runs on any small Linux machine that can reach it (an EC2 instance in the same VPC is ideal) and connects over the network:
curl -fsSL https://sqlnirvana.pyrogroup.com/install-agent.sh | sudo bash -s -- <token> \
--addr orders.abc123.ap-south-1.rds.amazonaws.com:3306 --remote
# PostgreSQL: add --engine postgres and use port 5432
The installer asks once for the master user to create the read-only monitoring user (the master password is used only then and never stored), and connects with TLS when the server offers it.
Link the AWS account (RDS and Aurora)
--remote means the agent can't see the database host's CPU, memory or disk. To get them, open the server's Settings → Link AWS and follow the steps: create an IAM role that trusts Pyro's AWS account with your workspace's external ID, attach the read-only policy shown, and paste the role ARN. SQLNirvana then reads CloudWatch every 5 minutes. No AWS keys of yours are stored anywhere.
Optionally attach the apply policy and tick Apply approved settings: approved changes are then written to the instance's DB parameter group (not by the agent). AWS doesn't allow changes to default.* groups; create a custom parameter group and attach it first. Settings that need a reboot are set pending-reboot and take effect at your next maintenance window.
Savings
With 14 days of CloudWatch data the Savings tab tells you whether the instance could go one size down, whether a Graviton class or gp3 storage would cost less, and puts a rupee figure on it from the monthly cost you enter.