Skip to content

Unexpected Billing

0

My monthly billing used to be always 5 USD. In December I have received a bill that is over 19 USD using VPC & EC2. I assume that free tier is over. Is there any way I can continuously use free tier or with low price?

What I do with VPC & EC2 is to crawl data from a certain website and send it over to slack channel daily and the crawling content is not that alot. It only contains an excel file with a crypto volume and closed price.

asked 2 years ago191 views

2 Answers
0

It sounds like you may have indeed exceeded your free tier usage or your free tier eligibility has expired. The AWS Free Tier typically lasts for 12 months from the date you create your AWS account, after which you start incurring standard charges for the services you use.

To minimize costs while continuing to use AWS services for your daily crawling task, consider the following options:

  1. Check your Free Tier status: Verify if you're still eligible for Free Tier benefits. If not, you'll need to optimize your usage or consider alternative solutions.

  2. Optimize EC2 usage:

    • Use a t2.micro or t3.micro instance, which are eligible for Free Tier (750 hours per month).
    • Stop your EC2 instance when not in use. For a daily task, you could start it, run your script, and then stop it automatically.
    • Consider using AWS Lambda for your crawling task, which offers a generous free tier (1 million free requests per month).
  3. VPC optimization:

    • VPC itself is free, but associated resources like NAT gateways can incur charges. Review your VPC setup to ensure you're not using unnecessary paid features.
  4. Data transfer:

    • Minimize data transfer costs by keeping your data within the same AWS region.
    • Be aware of the data transfer limits in the Free Tier (1 GB of data transfer out per month).
  5. Use AWS Cost Explorer:

    • Analyze your usage patterns to identify unexpected charges or areas for optimization.
  6. Set up billing alerts:

    • Configure AWS Budgets to alert you when your costs approach a certain threshold.
  7. Consider serverless options:

    • For your specific use case (daily crawling and sending data to Slack), a serverless architecture using AWS Lambda and CloudWatch Events might be more cost-effective and easier to manage within the Free Tier limits.

By implementing these strategies, you should be able to significantly reduce your costs, potentially bringing them back down to a minimal level. Remember to regularly monitor your usage and adjust your architecture as needed to stay within your desired budget.

Sources
Getting unexpected bill while using a free tier ressources | AWS re:Post
Track your Free Tier usage for Amazon EC2 - Amazon Elastic Compute Cloud
getting charged on a free tier EC2 | AWS re:Post
Amazon EC2 – Secure and resizable compute capacity – AWS

answered 2 years ago

AWS
EXPERT

reviewed 2 years ago

0

There's a free tier for t4g instances until the end of year, maybe swap your instance type to a graviton instance. That would drop your costs.

Other thing, do you need to run that EC2 always? Or could you just bring it up once a day to do the work - and then turn it off? Autoscaling and timed changes to its scaling policies (0->1 when needed) - and make it shut itself down when it's done.

You could also consider moving your code to lambda - running the setup serverless when needed.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.