Amazon Web Services Cloud optimization for AWS.Autoscaling applications Automate infrastructure for scale-out applications.Financial Operations (FinOps) Reduce and govern cloud spend without sacrificing flexibility.If you add the field to the SELECT statement of this query, you will be able to see which costs are categorized as 'AWSDataTransfer' and which are 'AmazonEC2'. If you want to see the costs from AWS that show data transfer costs from EC2 to each region or product, those are posted on the EC2 pricing page under Data Transfer. Data transfer 'In' from the internet is free, but there are charges for data transfer 'out' to either the internet or other AWS Services. InterZone-In and InterZone-Out - These are the costs associated with transferring data 'In' or 'Out' of EC2.This traffic is charged at $0.01/GB in each direction. PublicIP-In and PublicIP-Out - These track the costs of transferring data 'in' or 'out' from a public or Elastic IPv4 address.All VPC Peering connections in the same AWS Region are charged at $0.01/GB. VPCPeering-In and VPCPeering-Out - VPC Peering connections between the VPCs allow you to route traffic using private IP Addresses.Some of the sample values from that indicate Utilization costs include: Round(sum(), 4) as utilization_costĪnd NOT LIKE '%BoxUsage%'Īnd NOT LIKE 'RunInstances%' Utilization costs for EC2 by line item operation Utilization focuses on how your EC2 resources are used, while Subresources isolates other resources (NAT Gateways or EBS Volumes, for example) that contribute to your total EC2 cost. I broke down the 'EC2-Other' category from Cost Explorer into Utilization and Subresource costs. An easy example of EC2 is EBS Volumes used for EC2 instance storage. Subresource Cost - the second part of EC2 - Other in cost explorer - This is incurred for resources attached to or directly interacting with your EC2 instance.The most common Utilization cost for EC2 is data transfer. These costs are driven by a usage-based metric such as $ per GB-month. Utilization Cost - part of EC2 - Other in cost explorer - On top of the flat rate for having an instance running, some costs come from how an EC2 instance is utilized.This cost is based on an hourly rate determined by your instance type, region, and whether you're using contractual reservations or spot instances. Existence Cost - EC2-Instances in cost explorer - This identifies the cost of having an EC2 instance running regardless of the resource activity.In this guide, I broke EC2 costs into three logical categories: In the Developer's Guide to AWS Costs, the first service I posted a guide for was EC2. IS NOT equal to 'Elastic Compute Cloud' on the AWS Bill because this field does not include EC2's portion of Data Transfer costs.Third: The sum of EC2-Instances and EC2-Other from cost explorer: - the valued 'AmazonEC2' will show all EC2 costs other than Data Transfer, and 'AWSDataTransfer' is used for data transfer costs by any AWS Service.- the value 'AmazonEC2' captures all costs associated with running EC2 instances (including Data Transfer).In the Developer's Guide to AWS, I go into much more detail about the CUR, provide a data dictionary, and share instructions for setting up the CUR in your AWS Account.įor this discussion about EC2-Other costs, there are two fields that matter: The CUR is the source of truth for all AWS billing. However, since this cost includes EC2's portion of data transfer costs, this will not be the same as the AWS Bill's cost for 'Elastic Compute Cloud' if there is any data transfer cost. With these two categories, EC2-Instances and EC2-Other, customers can get the total cost of running their EC2 instances. EC2-Other is a calculation that combines all other costs driven by EC2 usage: EBS, NAT Gateway, EC2's portion of Data Transfer, and others. One of the benefits of this category is that customers can quickly identify the instance costs that can be covered with reservations. The EC2-Instances category isolates the hourly cost of running your EC2 instances. The second two, EC2-ELB and EC2 Container Registry, can be ignored because they are different services altogether. The first two combined, EC2-Instances and EC2-Other, make up your total EC2 costs (including data transfer for EC2).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |