Skip to content

Enhancing IAM Role-Based Cost Breakdown Feature in XC3 #143

@muhammad-irfan-xgrid

Description

@muhammad-irfan-xgrid

User story

As a cloud Engineer, I want to enhance the existing IAM role based cost breakdown feature in XC3.

What we want?
In the existing IAM Role Dashboard, we display IAM roles and the costs of services attached to each role. Currently, this feature is available only for EC2 services. Now, the task is to enhance this feature to include the costs of other services like Lambda, ECS, etc., attached to IAM roles. You can review the existing feature through this demo video: Link.

Acceptance Criteria:

  • Enhance cost breakdown feature:
    Implement functionality to break down costs based on IAM roles within the XC3 platform. This may involve updating existing code, creating new code, or integrating with AWS APIs to retrieve relevant cost data associated with IAM roles.

  • Ensure accuracy of IAM role-based cost calculations:
    Verify that the cost breakdown accurately reflects the expenses incurred by resources associated with each IAM role. Conduct rigorous testing and validation to ensure the calculations are precise and reliable, considering factors such as resource usage and billing data.

  • Integrate IAM role-based cost breakdown into Grafana dashboard:
    Integrate the IAM role-based cost breakdown seamlessly into the Grafana dashboard within XC3, allowing users to visualize and analyze resource costs associated with specific IAM roles. Ensure the integration maintains design consistency and usability standards.

  • Enhance IAM Role Dashboard:
    Update the IAM Role Dashboard in XC3 to display the cost breakdown of resources associated with each IAM role, including details such as resource usage trends and cost trends over time. Provide users with the ability to drill down into specific IAM roles for more detailed views.

  • Implement resource identification and visualization:
    Implement functionality to identify the top resources associated with each IAM role based on cost, displaying this information in the Grafana dashboard. Users should be able to view the top 5 most expensive resources associated with each IAM role, aiding in cost optimization efforts.

  • Test and debug:
    Conduct comprehensive testing to identify and resolve any issues or bugs that may arise during the implementation of IAM role-based cost breakdown. Ensure the feature functions correctly across different environments and scenarios.

  • Documentation and knowledge sharing:
    Create clear and comprehensive documentation that explains the functionality and usage of the enhanced IAM role-based cost breakdown feature in XC3. This documentation should serve as a valuable resource for users and team members, facilitating adoption and understanding.

  • Review and acceptance:
    Collaborate with other team members, to review the implemented feature. Seek feedback, make any necessary adjustments, and obtain acceptance before considering the story complete.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions