I have set up an SST (Serverless Stack v3) application with an AWS RDS Postgres instance. The database should be publicly accessible so external services can connect to it.
async run() {
const vpc = new sst.aws.Vpc('VPC1', { bastion: true });
const cluster = new sst.aws.Cluster('ApiCluster', { vpc });
const rds = new sst.aws.Postgres('MyDatabase', {
vpc,
});
}