Overview
There is no separate free-tier class. Use theRdsInstance construct with free-tier-eligible settings to run a PostgreSQL database at no cost during your first 12 months on AWS.
Resource Class
Basic Usage
Free Tier Settings
ConfigureRdsInstance with these settings to stay within the AWS Free Tier.
AWS Free Tier Limits
- 750 hours per month of db.t4g.micro usage
- 20 GB of General Purpose (GP3) storage
- 20 GB of backup storage
- Single-AZ deployment only
- 12-month eligibility period
Configuration Options
AllRdsInstance properties are available. The key properties for free-tier usage are listed below.
Core Properties
Storage
Backup and Maintenance
Optional Features (Disable for Free Tier)
Security Features
RdsInstance includes these security features by default, even in free-tier configuration:- Storage encryption with KMS
- GP3 storage type
- SSL/TLS connections via parameter group
- Automated credential generation
- Secret rotation (opt-in via
credentials.secretRotation) - Deletion protection
Network Security
Methods
Get Host Endpoint
Get Host Port
Get Credentials
Get Connections
Complete Example
Upgrade Path
When you outgrow the free tier, update theRdsInstance configuration.
Staying Within Free Tier
- Single database per AWS account
- 20 GB total storage (including backups)
- Set
multiAz: falseto avoid doubling costs - Set
proxy: falseto avoid proxy charges - Set
readReplica: falseto avoid replica charges - Reduce backup retention to 7 days to save storage
- Delete after 12 months before charges apply
Cost After Free Tier Expires
Use Cases
Good for:- Development environments
- Proof of concepts
- Learning and experimentation
- Low-traffic applications
- CI/CD test databases
- Production workloads
- High availability requirements
- Applications needing consistent performance
- Databases larger than 20 GB
Next Steps
RDS Instance
Configure a production-grade PostgreSQL instance
RDS Aurora
Scale up to a managed Aurora cluster
Database Factory
Create databases with the DatabaseFactory pattern
AWS Free Tier
Review the current AWS Free Tier limits