20. Cost Allocation

Chapter 20 of 24 · 25 min
EXERCISE

Implement a cost allocation system that tracks infrastructure costs per tenant using AWS Cost Explorer tags. Calculate the full cost per tenant including compute, storage, AI tokens, and a proportional share of shared platform costs. Generate a monthly cost report that shows each tenant's contribution to platform costs in NGN with breakdown by service category.