taking Control of Your AWS Bill?

We learn from the RightScale (now Flexera) 2019 State of the Cloud Report that cloud adoption has become pretty much universal, and public cloud adoption is growing significantly. Some of the key report takeaways are: Organizations of all sizes are running nearly 80% of their workloads in the cloud, with SMBs running 43% of their workloads in the public cloud (versus private cloud). Companies will spend 24% more on the public cloud in 2019 than in 2018, with public cloud spend growing three times faster than private cloud spend. One out of every two enterprises spends more than $1.2 million annually on public cloud, with 13% spending $12+ million each year. The same report also highlights that the top cloud challenge for the third year in a row is managing cloud spend, while optimizing cloud costs is the #1 priority of central IT. The respondents themselves estimate that 27% of their cloud spend is wasted, while Flexera has measured actual waste among their customers at 35%. But managing cloud budgets effectively requires near real-time visibility into actual costs—often across multiple accounts, numerous projects, and a multitude of self-provisioning users. This is a two-part blog post series. In this first post, we explore the Amazon Web Services (AWS) suite of cost. Later next week, we’ll explore the usage of management tools that can help you take control of your AWS bill.


The Monthly Bill 101

As of early 2018, the AWS Cost and Usage report has become the default AWS tool for tracking and billing cloud usage. Downloaded from the Amazon Simple Storage Service (Amazon S3) console, this CSV report contains a line item for each usage of an AWS resource or service. Three times a day, a cumulative update is delivered to a user-specified Amazon S3 bucket. At the end of the month, the report is finalized into an invoice. The AWS Cost and Usage report is free of charge (up to five reports per AWS account). With line items aggregated on either an hourly or daily basis (as specified by the account owner), a report can contain literally millions of lines. In this section, we review how the report is structured and the key cost elements that it tracks.


Line Items: Defining Billing and Usage Parameters

The line item fields provide detailed information on the type of operation, its relevant costs, and various high-level billing parameters, such as the legal billing entity, the billing currency, the taxes to be applied, and the type of charge (which could also be a refund or a credit). For example, the three line item fields that are used to generate the product SKU (see Identifying the Product above) are: ProductCode, such as aws ec2 for Amazon Elastic Compute Cloud (Amazon EC2). UsageType: Region + type of usage + instance. For example, USW2-BoxUsage:m2.2xlarge refers to the total machine resource-hours consumed by a request (QUERY, GET, PUT, etc.) in the US West (Oregon) Region on a high-memory, double extra large instance. Operation, such as RunInstances for an EC2 instance. For on-demand resources (versus Reserved Instances, see Tracking Reserved Instances below), usage duration metrics are provided by three fields: UsageStartDate and UsageEndDate: The date and time in UTC format when the operation was initiated and terminated. UsageAmount: Calculated using the first two fields, but this also takes into account AWS minimum usage thresholds. For example, for an Amazon EC2 instance charged on an hourly basis, the UsageAmount will be a minimum of 60 minutes, even if there was only 10 minutes of actual usage per the start and end times. The cost of on-demand usage for a single account is shown in the UnblendedCost field, which is calculated by multiplying the UnblendedRate (the current AWS pricing rate for the resource or service) by the UsageAmount. See Consolidated Billing below for an explanation of blended costs across multiple accounts when using the AWS Organizations service.

An organization can consolidate billing across all its AWS accounts into a single invoice and thus better leverage volume pricing tiers and RI discounts. The master account pays for all the charges aggregated by the linked member accounts, but each member account also gets its own bill for showback or chargeback purposes. for more go  there:

Comments