AWS billing information using AWS java sdk

+1 vote

I'm trying to get the billing information from aws for ec2 instances, s3 buckets and ebs volumes using java api. I want to create api that gives specific entity wise hourly billing reports. Is there any java api for getting the same? I couldn't find the same in aws java sdk api documentation.

Jul 26, 2018 in AWS by bug_seeker
• 14,970 points
72 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

There are no APIs to get AWS billing information. Instead what you can do is:

  1. Turn on the detailed billing report (from dashboard)

  2. Configure what kind of billing reports you want

  3. AWS will start pushing billing info as CSV files to a (pre)configured bucket several times an hour

  4. Use REST API or S3 Java API to get the information from the bucket when needed.

answered Jul 26, 2018 by Priyaj
• 56,120 points

Related Questions In AWS

+3 votes
4 answers
+1 vote
1 answer

Create S3 bucket using Java AWS SDK

Hey @Anjali, Creating a bucket using Java AWS-SDK ...READ MORE

answered Jan 23 in AWS by Priyaj
• 56,120 points
45 views
0 votes
1 answer

How to create a EMR Cluster using Java AWS SDK?

The Java code for creating an EMR ...READ MORE

answered Feb 27 in AWS by Priyaj
• 56,120 points
33 views
+3 votes
3 answers
+13 votes
2 answers
0 votes
1 answer
0 votes
2 answers

Launching an EC2 Instance using AWS SDK Java

package com.ec2application.ec2application; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.regions.Regions; import com.amazonaws.services.ec2.AmazonEC2; import ...READ MORE

answered Jan 22 in AWS by Priyaj
• 56,120 points
194 views
0 votes
1 answer

Stopping EC2 Instance using Java AWS SDK

You can follow the following steps:- 1. Create ...READ MORE

answered Jan 22 in AWS by Priyaj
• 56,120 points
44 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.