- Newest
- Most votes
- Most comments
Thank you for spotting that I was using gp3 instead of gp2. However, I don't understand why I was charged for a public IPv4 address when here they say that the first 750h/month are free: https://aws.amazon.com/about-aws/whats-new/2024/02/aws-free-tier-750-hours-free-public-ipv4-addresses/
Is there a way to set this RDS up so that I won't get charged for the public IP address?
Yes, you can setup the instance only to have a private IPv4 address, but then you have a problem with accessing the database from outside your VPC. One solution to this second problem (and there's more than one way to skin a cat) would be to provision an EC2 that's in-scope of Free Tier, SSH to its public IP, and then from here connect to your database on its private IP. That's a bit fiddly, and needs a lot of faffing around with Linux and Security Groups, which is a pain if you're from a database background are aren't all that au fait with that kind of thing.
Another option could be to only use IPv6 on the RDS instance, see https://aws.amazon.com/blogs/database/ipv6-addressing-with-amazon-rds/ and https://repost.aws/knowledge-center/rds-ipv6 and https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.IP_addressing.IPv6
It appears that you are being charged for some AWS services despite expecting them to be free under the AWS Free Tier. Let's break down the charges and explain why they might be occurring:
- Amazon RDS (Relational Database Service): The Free Tier for RDS includes 750 hours per month of db.t2.micro, db.t3.micro, or db.t4g.micro instances for certain databases, including PostgreSQL. You're using a db.t4g.micro instance, which is eligible for the free tier. However, there are a couple of reasons why you might still see charges:
a) Storage: The free tier includes 20 GB of General Purpose (SSD) storage. Your bill shows a charge for "Provisioned GP3 storage". It's possible that you've either exceeded the 20 GB limit or you're using a storage type that's not covered by the free tier.
b) Region: The charges are occurring in Asia Pacific (Singapore) and Asia Pacific (Sydney) regions. Make sure you're not exceeding the total free hours across all regions, as the 750 free hours are shared across all regions.
-
Amazon VPC (Virtual Private Cloud): You're being charged for public IPv4 addresses. The AWS Free Tier doesn't typically cover public IP addresses, which is why you're seeing these charges.
-
Amazon S3 (Simple Storage Service): Although you mentioned S3 in your question, there are no specific S3 charges listed in the breakdown you provided. The Free Tier for S3 includes 5 GB of standard storage, 20,000 GET requests, and 2,000 PUT, COPY, POST, or LIST requests per month. If you've exceeded these limits, you might see charges.
To avoid unexpected charges:
- Monitor your usage closely to ensure you're staying within the Free Tier limits.
- Be aware that some features or configurations might not be covered by the Free Tier.
- Consider using AWS Budgets to set alerts for when you're approaching or exceeding Free Tier limits.
- For RDS, ensure you're using the correct instance type and storage class that's eligible for the Free Tier.
- For VPC, be mindful of using public IP addresses as they typically incur charges.
If you believe you've been incorrectly charged, you can contact AWS Support for clarification and assistance.
Sources
Amazon RDS Free Tier | Cloud Relational Database | Amazon Web Services
Get started with the AWS Free Tier - How AWS Pricing Works
Amazon S3 Simple Storage Service Pricing - Amazon Web Services
Can some one confirm why RDS free tier is charged a small amount? | AWS re:Post
Breaking this down:
9 cents for gp3 storage for your RDS database in Singapore, because only gp2 is in-scope of Free Tier for RDS https://aws.amazon.com/rds/free/
AWS Free Tier includes 750hrs of Amazon Relational Database Service (RDS) in a db.t3.micro and db.t4g.micro Instances, 20GB of Storage, and 20GB for Backups each month, for one year.
Then there's 5 cents for RDS in Sydney, which you haven't expanded.
12 cents for a public IPv4 address in Singapore, these are not fee for RDS in Free tier (only free for EC2 in Free Tier). You're not the first person to be tripped up by this, see https://repost.aws/articles/ARknH_OR0cTvqoTfJrVGaB8A/why-am-i-seeing-charges-for-public-ipv4-addresses-when-i-am-under-the-aws-free-tier
IMPORTANT NOTE : 750 hours of public IPv4 address usage per month is only Free when you are using the Public IP with EC2 service and your AWS Account is under Free tier. If you are using Public IP with any other service than EC2 or Free Tier is expired on the account, then a charge of $0.005 per IP per hour will be present on the account.
Relevant content
- asked 3 years ago
- asked 4 years ago
- asked 9 months ago
- asked a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 years ago

It's really easy to overlook this, but that link only says 750 hours of public IPv4 for EC2, it doesn't mention anything about RDS.
See also https://repost.aws/articles/ARknH_OR0cTvqoTfJrVGaB8A/why-am-i-seeing-charges-for-public-ipv4-addresses-when-i-am-under-the-aws-free-tier