how to aws bandwidth report for a year? - amazon-web-services

I need to calculate AWS Bandwidth usage for an year , from the account activity i cannot see Data transfer option to get the statistics , How can it get it done ?

Click on your account name in the top right of the AWS console. Choose Billing & Cost Management, Reports, AWS Usage Reports and you can download metrics for almost anything.
You probably want to choose:
Service: Amazon Elastic Compute Cloud
Usage Type: DataTransfer-Out-Bytes
You can then download detailed stats in XML or CSV for any specified time period.

Go to the Billing & Cost Management:

Related

AWS - check cost of CloudWatch (itself)

I want to check the usage of cloud watch and how much it costs me per day/month
but I don't mean the basic output of cost explorer but detailed output of all the "components" i got there and how much I pay for each one
I can see in cost explorer that cloud watch costs me each month X$ but I want to see what this X consists of, like 0.5$ for metric Z, 5$ for group log Y , etc.
Help please =)
AWS Console does give you bill by usage type. You can correlate usage type to logs, metrics, etc. The steps to see the bill for usage type are:
Log in to your AWS console.
Go to Billing by searching or navigating from services.
Click on Bills on the left navigation pane.
Select the month from the drop down.
Expand CloudWatch from the Bill details by service
You should see list of $ by Usage type:
The same can be achieved from AWS Cost Explorer too by grouping by Usage Type/ Usage Type Group.

Weekly Billing reports in AWS

I am looking to configure a weekly billing report in AWS. It should contain the basic information like for last 7 days, $x is charged for the account. If is shows the services also, it will be good, but main focus is on the charged amount. The weekly billed amount should be sent over mail or SMS to inform users about the charges. Eg: $10 has been charged to your AWS acc id xyz in last week.
Is there any inbuilt AWS service which can be used or we need to write a custom script?
For now I have created a daily budget, using which I have set budget report to be sent every week. But that is not sufficient. Let me know if there is more sophisticated way present.
Thanks
You could check out the AWS Cost Explorer and build your own, custom report, that might look like this:
Go to your AWS Account -> Billing -> Cost Explorer -> Launch Cost Explorer.
NOTE: If you're running it for the first time, you need to enable it and wait approx. 24 hours for the initial data.
As of now, there's no out-of-the-box solution from AWS that sends the report as an email, but anyone interested might want to explore this repository - AWS Cost Explorer Report.

How to disable AWS Cloudwatch metrics

I'm new and am trying to work with AWS. I develop small lambda functions and have created some dynamodb tables. I don't expect there to be any costs, because I should be in the free-tier, but since last month I am seeing costs for "Cloud Watch Alarms". Not high costs, but I got billed $0.53. Why I am getting this bill even though I am using AWS free tier.
Billing info:
$0.00 per alarm-month - first 10 alarms 10 Alarms $0.00
$0.10 per alarm-month 4.277 Alarms 0.43$
I don't want these cloudwatch metrics right now. I only want to store log files. How can I to disable these cloudwatch metrics.
Thanks,
You have configured, maybe unintentionally, a Cloud Watch Alarm.
Fortunately it's quite easy to remove it.
Go to your AWS Dashboard and select Cloud Watch:
On the left-hand side, click on Alarms. Select the Alarm which you want to remove and delete it.
This is what I got from AWS Support:
CloudWatch collects and processes raw data from DynamoDB into readable, near real-time metrics. These statistics are recorded for a period of two weeks, so that you can access historical information for a better perspective on how your web application or service is performing. By default, DynamoDB metric data is sent to CloudWatch automatically.
When you interact with DynamoDB, it sends the following metrics and dimensions to CloudWatch. Note that Amazon CloudWatch aggregates the following DynamoDB metrics at one-minute intervals:
> ConditionalCheckFailedRequests
> ConsumedReadCapacityUnits
> ConsumedWriteCapacityUnits
> ReadThrottleEvents
> ReturnedBytes
> ReturnedItemCount
> ReturnedRecordsCount
> SuccessfulRequestLatency
> SystemErrors
> TimeToLiveDeletedItemCount
> ThrottledRequests
> TransactionConflict
> UserErrors
> WriteThrottleEvents
I'm trying to find out if there is a way to turn this off and will update my answer when I get it
Well you can do that via SCP's to sit a generic policy to deny such api

How often does GCP update the billing charges shown on GCP console? Is it real time?

How often does Google cloud platform update (refresh) the billing charges shown on GCP console? Is there a fixed delay or is it real-time?
The billed charges are updated daily and the invoice is generated monthly. One can also check usage on demand programmatically, follow the instrucions -> https://cloudplatform.googleblog.com/2017/11/monitor-and-manage-your-costs-with.html

Amazon EC2 Free Tier - how to check how many free resources I used?

Amazon offers 750 hours of EC2 linux and windows instances per month in "free tier".
Is there any way to see my "free tier" summary?
For example: "you used 153 out of 750 hours" ?
Yes, login to the aws.amazon.com console.
In the top right click on your name -> Billing & Cost Management -> Bill Details and you should see a very detailed list of what you have used so far in the current month.
Not exactly, but you could create an alert when you exceed the free tier like I created an alert when the total AWS charges exceeds the minimum amount say 0.01$, that should be good.
Please follow the instruction on this link to create an alert.
Some work arounds.
Way #1
you need enable programmatic access to aws billing data and save the billing data to nominated S3 bucket. Billing file format is csv. The document is here:
http://aws.amazon.com/blogs/aws/new-programmatic-access-to-aws-billing-data/
then run s3 sdk or awscli command to download these billing csv file to your local disk. You can program another code to read these csv files to get the information and generate report for your own request.
Way #2
using gem amazon-pricing to get the billing