aws-samples / service-catalog-engine-for-terraform-os

Apache License 2.0
130 stars 40 forks source link

Please provide estimated cost for operation #30

Closed having-fun-serverless closed 1 year ago

having-fun-serverless commented 1 year ago

How much does it cost to run this engine? I need a ballpark estimation

smaly-amazon commented 1 year ago

Hi,

Thanks for the question.

One component of the cost for using Terraform Open-Source products is Service Catalog pricing.

Another component depends on the volume. You can estimate the cost from the engine's resources based on your forecasted volume using the AWS pricing calculator or other cost-estimation tools.

having-fun-serverless commented 1 year ago

Thank you for the prompt response. I talked with Danilo about it. I'm looking more into the hidden operational cost, I saw that you are running EC2, you have NATs and so on, how much these components costs?

Let's say deploying a template takes 10 min, and I'm doing that 5 times a week? Putting aside the service catalog cost, how much am I expected to pay for running this engine?

smaly-amazon commented 1 year ago

Hi.

You can see the resources in the Bootstrap-TRE stack and the SAM-TRE stack, so there shouldn't be any hidden costs. But I assume you mean fixed costs related to the running resources.

It is hard to calculate a specific estimate for each deployment of the engine. Pricing varies by region. The default deployment uses 3 AZs and 1 EC2 instance, but these can be customized.

for your example, the low volume would mean most of the cost would be from the running resources, such as the EC2 instance and nAT gateways. I suggest using the AWS calculator to estimate pricing for your region for these resources that are priced per hour.

having-fun-serverless commented 1 year ago

You ate right, I meant fixed costs. Thank you. I think it's worth adding costs details to the README as well

tk-subgenius commented 1 year ago

it was costing me about $4/day , but I only ran it for 2 days, maybe some discounts would apply after a month.