I'm curious about the cost of running Grafana and Prometheus on an EC2 instance. Specifically, I want to know if using a t3.small instance will work for my setup. I have one ECS instance from which I want to collect metrics, handling around 300 requests per minute. Any insights on what the monthly expenses might look like?
5 Answers
Absolutely! VictoriaMetrics is generally cheaper than Prometheus, and using Grafana Cloud can also save you some bucks. It’s free for a single user, and migrating to it has made our setup smoother.
Consider using Grafana Cloud's free tier. It's generally pretty easy to set up—just point your metrics to your account, and you're good to go. For a solid setup, you might expect costs to be around 0.25-0.5% of your total infrastructure cost if configured correctly.
You might want to explore using Grafana alongside VictoriaMetrics. It tends to be more affordable without sacrificing performance. We've switched to VictoriaMetrics from Prometheus and found that it works really well, and the cloud offering from Grafana is actually pretty cost-effective!
If you're just monitoring a single ECS target with a decent request rate, a t3.small should keep you under $30 a month for running both Prometheus and Grafana. As long as you don’t need to store data for long periods, that should keep your costs down quite a bit!
AWS provides calculators that could help you estimate the running costs based on your usage. It’s a great tool for getting a better picture of your expenses.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures