ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Concept · Builds on SAA-C03

Cost tools, tags and spending limits

Tag everything, activate the tags, then watch spend with Cost Explorer and Budgets. Use inference profiles to split Bedrock costs.

You know from Solutions Architect Associate

  • AWS Budgets alerts on cost or usage, on actual or forecast spend, and can run actions.
  • Budgets alert and act. They do not cap spend on their own.
  • Cost Explorer shows spend by service, account or tag.
Read the Solutions Architect Associate lesson
  • Which team spent it?

    Cost allocation tags and Cost Explorer
  • Warn me before we overspend

    AWS Budgets alerts
  • Act when the limit is passed

    Budget actions
  • Bedrock cost per application

    Application inference profile
  • Idle resources

    Trusted Advisor
Pick the tool by the question.
  • IAM principal attribution

    Gives
    Billed dollars per user or role
    Grain
    Per usage type per day
  • Application inference profile

    Gives
    Billed dollars per tagged profile
    Grain
    Per usage type per day
  • Request metadata plus logs

    Gives
    Token counts per call
    Grain
    Per request
Three ways to split Bedrock cost.

What it is

Cost allocation tags are how you answer who spent this. Tag the SageMaker AI resources you create: domains, training and processing jobs, endpoints and models. Then activate the tag keys in the Billing and Cost Management console. Tags are not retroactive, and they can take up to 24 hours to appear in Cost Explorer and Cost and Usage Reports. Cost Explorer then groups cost by tag, service or usage type and forecasts the trend. A cost budget filtered by tag gives each team its own alert, and a budget action can apply an IAM policy or stop instances when a limit is passed.

What it is

Bedrock has its own ways to attribute cost. An application inference profile wraps one model, carries your tags, and you call it by ARN in place of the model ID. Its tags reach Cost Explorer as billed dollars per day, which suits per-application cost. IAM principal attribution gives billed dollars per user or role with no extra setup. For per-request detail, send request metadata on each call and read token counts from model invocation logs.

What it is

AWS Trusted Advisor checks the account for cost savings, such as idle or underused resources, and for service quotas. Most of its checks need a Business or higher AWS Support plan. The Billing and Cost Management console holds invoices, payment settings and the tag activation page.

Remember

  • Tag domains, jobs and endpoints, then activate the tags in Billing.
  • Tags are not retroactive and can take up to 24 hours to show.
  • Budgets filtered by tag give per-team alerts. Budget actions can respond.
  • Application inference profile: tagged Bedrock cost per application.

Remember

  • Per-prompt detail needs request metadata plus invocation logs.
  • Trusted Advisor flags idle resources and quota use.

On the exam

  • “Show Bedrock cost per application” points to application inference profiles with cost allocation tags.
  • “Alert a team at 80 percent of its ML budget” points to an AWS Budgets cost budget filtered by tag.
  • “Tags are applied but do not appear in Cost Explorer” points to activating them as cost allocation tags.
  • “Find underused resources and quota use” points to Trusted Advisor.