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
• 15,510 points
799 views

1 answer to this question.

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
• 58,020 points

Related Questions In AWS

+3 votes
4 answers

Generating AWS billing details using aws java applications

There definitely are no applications that give ...READ MORE

answered Apr 9, 2018 in AWS by hemant
• 5,790 points
2,144 views
+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, 2019 in AWS by Priyaj
• 58,020 points
2,572 views
0 votes
1 answer

How to create a EMR Cluster using Java AWS SDK?

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

answered Feb 27, 2019 in AWS by Priyaj
• 58,020 points
1,592 views
+3 votes
3 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
+2 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, 2019 in AWS by Priyaj
• 58,020 points
6,885 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, 2019 in AWS by Priyaj
• 58,020 points
1,644 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP