Questions tagged [cost-management]

Use this tag for questions related to budgeting, cost analysis, cost management or cost calculation in any of various programming-related contexts, especially resource management and on-demand cloud computing.

Overview

  • Use this tag for questions related to budgeting, cost analysis, cost management or cost calculation in any of various programming-related contexts, especially resource management and on-demand cloud computing.

See also

211 questions
3
votes
1 answer

Storage Queue vs Service Bus Queue - Polling/Cost question

I have a slightly philosophical problem. We are using Storage Queues for processing the "tickets". The way we have implemented that is we have a background service (worker role) that is polling the storage queue and finding out if there is any…
3
votes
2 answers

Does cpu load affect the cost of a virtual machine in Azure?

Suppose I have two identical virtual machines in Azure, one is constantly running cpu at 100% and the other at 50%. Will the cost for them be the same or will the other be twice the price? This excluding bandwidth and storage.
Mathias Rönnlund
  • 4,078
  • 7
  • 43
  • 96
2
votes
0 answers

How is the total no of tokens calculated when using structured data with openai API?

I am trying to calculate exactly the cost incurred in use cases like this and wondering if someone from the forum can help me with reference or documentation or method to calculate the cost. Here is the sample code I am using: from langchain import…
Ajay
  • 21
  • 1
2
votes
2 answers

Data transfer costs when one lambda invokes another lambda

I have two lambdas. LambdaA is the parent lambda that invokes LambdaB in parallel using the Event InvocationType (boto3). In every invocation, LambdaA sends a payload of 5MB to LambdaB. Both the lambdas are in the same VPC and in the same two…
user782400
  • 1,617
  • 7
  • 30
  • 51
2
votes
0 answers

Get Resource Id from cost and usage report AWS using command line

Is it possible to get Resource Id from AWS cost and usage API? Findings https://docs.aws.amazon.com/cur/latest/userguide/cur-create.html following this URL, successfully exported AWS cost & Usage report to S3 bucket, with Resource Id Then retrieve…
Thanuja
  • 75
  • 9
2
votes
2 answers

In the azure consumption usage details api, what is the difference between the metric types actualcost, usagecost, and amortizedcost?

I went through this document but not able to get exact difference https://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/understand-reserved-instance-usage-ea
DAK
  • 282
  • 1
  • 18
2
votes
3 answers

How to create a Spot instance - job cluster using Azure Data Factory(ADF) - Linked service

I have a ADF pipeline with a Databricks activity. The activity creates a new job cluster every time and I have added all the required Spark configurations to a corresponding linked service. Now with Databricks offering Spot Instances, I'd like to…
mani_nz
  • 4,522
  • 3
  • 28
  • 37
2
votes
1 answer

Google Cloud Function costs

I am trying to check how much do we pay for each Cloud Function per month. When I access the billing page in Google Cloud Console, I am able to filter only for all Cloud Functions, but I can't choose a specific function. Is there a way to check how…
2
votes
2 answers

Cloud Composer $$$ (Better / Cheaper Options to Take Firebase File drop > Cloud Storage > BigQuery > Few Python / SQL Queries)

I'm looking for some advice on the best / most cost effective solutions to use for my use case on Google Cloud (described below). Currently, I'm using Cloud Composer, and it's way too expensive. It seems like this is the result of composer always…
2
votes
3 answers

Is DynamoDB suitable for high transaction application?

I am writing horse racing odds aggregation application which will get data from difference bookies website. For a start I will get data from 3 websites(it can go up to more than 10 later) every 10 seconds. So in 3 websites case, there will be about…
2
votes
2 answers

How to send Azure costs and usage data to log analytics workspace or directly to azure metrics?

I need to build a dashboard which will visuallize the usage and cost of many azure subscriptions. accounts, departments. My plan was: Send the data that is 'behind' the Azure Cost Analysis view, to the log analytics workspace. In the log analytics…
2
votes
1 answer

How can I reduce the financial cost of working in databricks?

was just wondering whether anyone had any thoughts on best practices when working in databricks. It is financially costing a lot to develop within databricks, hence would like to know where else it would be best to develop python code in. With…
2
votes
0 answers

find the best ratios to minimize the cost of the box ( 100 % ratio or less ) from multiple values

I have array of targets values and list of components need to pick the best ratio of each or some of it that make the final return ratio is 100 % or less and meet the targets array with minimum cost in java here is the code that i tried to solve the…
BScorpion
  • 21
  • 1
2
votes
1 answer

Azure cost management access mystery

I am struggling to get the right access to Cost Management in Azure. I was provided billing reader access. But all we see is no access messages. What exactly is the purpose of billing reader? In the Cost Management + Billing - Overview, I see…
Blue Clouds
  • 7,295
  • 4
  • 71
  • 112
2
votes
1 answer

Python : Cost of forming list with comprehension vs standalone function

What costs more in python, making a list with comprehension or with a standalone function? It appears I failed to find previous posts asking the same question. While other answers go into detail about bytes and internal workings of python, and that…
tgabb
  • 349
  • 3
  • 12
1 2
3
13 14