Tagging resources - Amazon MQ

Tagging resources

Amazon MQ supports resource tagging to help track your cost allocation. You can tag resources when creating them, or by viewing the details of that resource.

Tagging for Cost Allocation

To organize and identify your Amazon MQ resources for cost allocation, you can add metadata tags that identify the purpose of a broker or configuration. This is especially useful when you have many brokers. You can use cost allocation tags to organize your AWS bill to reflect your own cost structure. To do this, sign up to get your AWS account bill to include the tag keys and values. For more information, see Setting Up a Monthly Cost Allocation Report in the AWS Billing User Guide.

For instance, you could add tags that represent the cost center and purpose of your Amazon MQ resources:

Resource Key Value
Broker1 Cost Center 34567
Stack Production
Broker2 Cost Center 34567
Stack Production
Broker3 Cost Center 12345
Stack Development

This tagging scheme allows you to group two brokers performing related tasks in the same cost center, while tagging an unrelated broker with a different cost allocation tag.

Managing Tags in the Amazon MQ Console

Adding Tags to New Resources

Amazon MQ lets you to add tags to resources as they are created. You can quickly add tags to the resources you are creating in the Amazon MQ console.

To add tags as you create a new broker:

  1. From the Create a broker page, select Additional settings.

  2. Under Tags, select Add tag.

  3. Enter a Key and Value pair.

    Add tags when creating resources
  4. (Optional) Select Add tag to add multiple tags to your broker.

  5. Select Create broker.

To add tags as you create a configuration:

  1. From the Create configuration page, select Advanced.

  2. Under Tags on the Create configuration page, select Add tag.

  3. Enter a Key and Value pair.

  4. (Optional) Select Add tag to add multiple tags to your configuration.

  5. Select Create configuration.

Viewing and Managing Tags for Existing Resources

Amazon MQ allows you to view and manage the tags for your resources in the Amazon MQ console. You can manage tags for an individual resource by editing the tags on the details page for that resource. To edit tags on Amazon MQ resources:

  1. Select either Brokers or Configurations in the Amazon MQ console.

    Under the Tags section, review the existing tags for that resource.

  2. To add new or manage existing tags, select Edit (or Create tag if have no existing tags).

  3. Update tags for your resource:

    • To modify existing tags, edit the Key and Value.

    • To remove existing tags, select Remove.

    • To add a new tag, select Add tag and enter a Key and Value.

  4. Select Save.

Managing Using Amazon MQ API Actions

Amazon MQ allows you to view and manage the tags of your resources using the REST API.

For more information, see the Amazon MQ REST API Reference.