Tagging AWS resources

Suggest edits

Tags are key-value pairs you can apply to cloud provider resources created on your own AWS cloud account. Resource tagging allows you to have fine-grained audit policy and cost control over your resources. When you add a tag, the following resources are labeled:

  • EC2 instances
  • S3 buckets
  • Load balancers
  • Volumes

You can create and manage tags on a per-project basis in the EDB Postgres® AI Console. The Console then applies the tag to the resources of all regions configured in your account.

Prerequisite

You have the Owner role for the Project for which you want to create and manage tags.

Create Tags

To create a tag:

  1. Log in to the Console.

  2. Go to the project's page.

  3. In the project's list, select your Project.

  4. On your project's home page left navigation, select Cloud Providers.

  5. On the cloud provider's page, select Your Cloud Account.

  6. On your cloud account tab, under AWS, select Manage Tags.

  7. Select Add a Key Value pair.

  8. Provide Key and Value and select Save.

  9. A Confirm changes to AWS tags message pops up.

  10. Select Confirm to add the tag.

  11. This Key:Value pair is added at your project level. It is populated on the EC2 instances, S3 buckets, load balancers and volumes managed in that project, for all regions and clusters.

This new tag appears in the list under AWS on Cloud Service Providers.

This tag is also propagated on your AWS resources. For instance, you can view this tag in the Tags tab of your EC2 instance resources on the AWS console.

Considerations

Consider following while adding a Key:Value pair:

  • A number of case-sensitive keywords are reserved by AWS and EDB Cloud Service, and therefore cannot be entered as Keys.

    Reserved keywords

    Reserved tag key prefixes:

    aws:, AWS:, user:, k8s.io/, eks:, kubernetes.io/, elbv2.k8s.aws/, service.k8s.aws/, ebs.csi.aws.com/

    Reserved tag keys:

    Resource_type, Project, Environment, Topology, BAID, ManagedBy, biganimal-cluster, biganimal-project, CSIVolumeName, Name.


  • Review the tagging limitations of AWS.

  • In AWS, a resource can have a maximum number of 50 tags. The EDB Cloud Service and AWS Management Console apply some tags by default, so we recommend not adding more than 20 of your own tags. Take into account that the number of tags per resource is defined by the tags created in the EDB Console, in your cloud service provider's dashboard, with terraform, and other synced systems.

Update Tags

To update a tag:

  1. Log in to the Console.

  2. Go to the project's page.

  3. In the project's list, select your Project.

  4. On your project's home page left navigation, select Cloud Providers.

  5. On the cloud provider's page, select Your Cloud Account.

  6. On your cloud account tab, under AWS, select Manage Tags.

  7. Update the Value field of any of the existing tags.

  8. Select Save.

  9. A Confirm changes to AWS tags message pops up.

  10. Select Confirm to update the tag.

  11. This Key:Value pair is updated at your project level. It is populated on the EC2 instances, S3 buckets, load balancers and volumes managed in that project, for all regions and clusters.

Delete tags

  1. Log in to the Console.

  2. Go to the project's page.

  3. In the project's list, select your Project.

  4. On your project's home page left navigation, select Cloud Providers.

  5. On the cloud provider's page, select Your Cloud Account.

  6. On your cloud account tab, under AWS, select Manage Tags.

  7. Select the minus symbol () next to the Key value pair to delete the tag.

  8. Select Save.

  9. A Confirm changes to AWS tags message pops up.

  10. Select Confirm to delete the tag and update the tags list.

This tag is also deleted on the AWS Console. You can confirm the tag's deletion by selecting the Tags tab of your EC2 instance resources on AWS console.


Could this page be better? Report a problem or suggest an addition!