tailwarden / komiser

Open-source cloud-environment inspector. Supporting AWS, GCP, Azure, and more! Your cloud resources will have nowhere to hide!
https://komiser.io
Other
3.92k stars 429 forks source link

Estimate cost for Scaleway Databases #450

Open jakepage91 opened 1 year ago

jakepage91 commented 1 year ago

Describe the solution you'd like Estimate cost of Scaleway Databases

Additional context To get an idea of how to estimate cost, take the EC2 resource as inspiration even though it's a different cloud provider.

To calculate the cost of your resources, you will need to refer to the pricing documentation provided by Scaleway. The pricing model for Scaleway cloud resources is generally based on usage metrics, such as the amount of storage, compute time, and data transfer used.

Once you have obtained the relevant usage metrics for your resources, you can use the pricing information to calculate the cost. You can also use the Scaleway SDK to automate this process and generate cost reports for your resources.

AggarwalNeelesh commented 1 year ago

Can you help me, How can I obtain the relevant usage metrics for your resources ?

mlabouardy commented 1 year ago

Can you help me, How can I obtain the relevant usage metrics for your resources ?

you can use Scaleway VMs pricing calculation as an inspiration: https://github.com/tailwarden/komiser/blob/master/providers/scaleway/compute/instances.go#L51

you can find the hourly usage for the databases here

ShubhamPalriwala commented 1 year ago

Hey @AggarwalNeelesh, do you need some help here? let me know if you do and we can get this going! 🤝