Questions tagged [aws-billing]

Use for programming questions related to AWS Billing and Cost Management API.

140 questions
198
votes
2 answers

What is "EC2-Other" filter in "Cost Explorer" dashboard mean?

While investigating AWS Bill using Cost Explorer tool, I selected EC2-Other filter under services and it showed an amount around 5k monthly but I still don’t know what capabilities (features or services) are costing all this amount. What does…
Ammar Badran
  • 2,089
  • 2
  • 6
  • 5
6
votes
0 answers

Unable to register domain on child account - AWS Organizations

I've created a new AWS account from my already existing master account using AWS Organizations. Now, I would like to purchase a domain using Route 53 from the new account using the credit card which is already linked to the master account. However,…
6
votes
5 answers

Does AWS Lambda charge for the time spent initializing code?

If my Lambda function written in Python takes 1.8 seconds to initialize (during a cold start) and 400 ms to execute, am I charged for the 400 ms execution time or the entire 2.2 seconds of initialization + execution time? From X-Ray, I see: From…
Vinayak
  • 1,103
  • 3
  • 18
  • 40
5
votes
3 answers

Amazon RDS instances and the new Compute Savings Plans

I have a small single-instance deployment running on an EC2 instance which hosts both a web application and its database (MySQL). I've been looking to separate the deployment out into an EC2 instace for the web app and an RDS cluster for the…
4
votes
0 answers

AWS RDS Storage increasing unexpectedly

I’m using RDS PostgreSQL with the free tier configuration (t2.micro instance, 20 GB of general purpose database storage (SSD) and 20 GB of backups storage). I’ve created a database with a few tables and the current usage is below 200 MB. The issue…
4
votes
1 answer

What is the cost of listing all files in AWS S3 bucket?

I am writing a script in python where I need to get the latest modified file in a bucket (using a prefix), but as far as I have read, I cannot do that query directly from python (using boto3 at least), So I have to retrieve the information of every…
Alejo Dev
  • 2,290
  • 4
  • 29
  • 45
4
votes
1 answer

AWS CLI vs Console - Cost Explorer

I'm finding that the AWS Cost Explorer Console and the AWS CLI Cost Explorer are giving two separate numbers. Any reason as to why this is happening? For example: From my console, you can see my total for Cloudtrail is $72.66 However, when I put…
J. Patwary
  • 427
  • 1
  • 7
  • 22
4
votes
1 answer

How to generate cost explorer by IAM user in AWS?

I have an AWS account with n number of IAM users. Each user will have access only to a specific list of services based on their role. Now I need to analyze the billing by each IAM user. This will provide the detailed view of each user for further…
3
votes
1 answer

AWS Cost Explorer API - Querying redeemed credits?

Any idea of how to query redeemed credits in an AWS account with AWS CLI or Boto3 SDK? Is Cost Explorer API the right approach? Querying already used credits for the current month is not a problem, but how does it work to query existing/ remaining…
cloudfrog
  • 31
  • 1
3
votes
0 answers

Will I be charged for Amazon API Gateway requests that failed basic request validation?

As per API Gateway documentation, it can perform the following basic request validations: The required request parameters in the URI, query string, and headers of an incoming request are included and non-blank. The applicable request payload…
wmatt
  • 695
  • 2
  • 7
  • 19
3
votes
1 answer

Why AWS lambda billing differ for different runtimes?

I am testing applications with two different runtimes: node.js and java native executable (ahead of time compiled with GraalVM). Here are the startup logs. Node.js: Duration: 556.31 ms Billed Duration: 600 ms Memory Size: 128 MB Max Memory…
silent-box
  • 1,649
  • 3
  • 21
  • 40
3
votes
1 answer

How do I see last month's (RDS) cost per instance in AWS?

For some reason, I am finding it hard to understand where to access this information. In last month's bill, I see that my RDS has 14000 hours, which is weird since a month only has 730 hours, and I only have 1 RDS. So my question, what is the most…
corgrath
  • 11,673
  • 15
  • 68
  • 99
3
votes
1 answer

Does cache vs no-cache effect CloudFront pricing?

I need to serve out large files (10-50GB) at low volumes from an S3 bucket. I am using CloudFront because I need Lambda@Edge to inspect the requests before they hit the s3 bucket. From the AWS docs here I understand that I pay for Data Transfer Out…
simj
  • 183
  • 2
  • 10
2
votes
2 answers

List AWS Billing Filter options or names for use in Terraform

I'm looking for a hand listing some of the services available in AWS for use in filtering budgets, which in turn are created by Terraform. The Terraform reference page for the resource include a cost filter, shown in the snippet below. resource…
2
votes
1 answer

AWS Cost Categories: Failed to create/update Cost Category

Someone encountered this error while updating or creating a new cost category? This is my first time encountering this and I can't find any documentation or solution in the internet. Validation error Failed to create Cost Category: Effective start…
JB Omega
  • 83
  • 2
  • 10
1
2 3
9 10