AWS Technology
AWS cost

How to Simplify AWS Billing with Cost Categories: Analysing Costs by Environment and More

Introducing AWS Cost Categories 
Example Scenario: Environment-Based Cost Analysis 
Steps to Set Up a Cost Category 
  1. Add Rules for Each Environment: Create rules within your Cost Category to separate costs by environment:
  • Tags: Use tags that are already assigned to your resources, like Name=Prod_EC2_1, Name=QA_EC2_1, or Name=Dev_EC2_1. These tags should be consistently applied across all resources for each environment.
  • Linked Accounts or Usage Types: If you manage multiple accounts, you can link them to your Cost Category for a consolidated view. 
  1. Define Your Cost Category: In the AWS Billing Console, navigate to the Cost Categories section. Here, you can create a new Cost Category and name it appropriately, such as “Environment Cost Breakdown.”
  2. To see billing for resources with Prod tag, click on Add Rule, following screen shows up:
  3. Prepare condition for “Prod” tag as shown below:
     
  4. Repeat step 3 to 6 for all environments.
  5. Review and Apply: Once your rules are configured, review the setup to ensure it accurately reflects your environment. AWS will apply these rules to your billing data, allowing you to view costs by the categories you’ve established. 
     
     
    AWS Cost Categories provide a powerful tool for cost analysis and optimization. With a few tagging rules, you can simplify cost management, making it easier to allocate resources efficiently and optimize your AWS spending. 
      

Nitin Khanchandani

Author

Nitin Khanchandani

Nitin is Solution Architect at TechFrolic where he leads architecting complex business solutions. He has designed & lead the development of cloud native microservices architecture based applications. He ensures best practices are followed by the team while he advocates for process improvements across all projects. He has innate passion for coding and ensures that he is always coding in some or other project. You will always find him surrounded by someone where he helps in resolving some complex issue. He can be reached at [email protected]