-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5909 from EnterpriseDB/release/2024-08-05a
Release: 2024-08-05a
- Loading branch information
Showing
4 changed files
with
242 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
125 changes: 125 additions & 0 deletions
125
...ocs/docs/biganimal/release/using_cluster/managing_cloud_account/csp_tagging.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
--- | ||
title: "Tagging AWS resources" | ||
deepToC: true | ||
redirects: | ||
- /purl/cloudservice/csp_tagging | ||
--- | ||
|
||
Tags are key-value pairs you can apply to cloud provider resources created on your own cloud account, also known as [Your Cloud Account](/edb-postgres-ai/cloud-service/managed/). 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. | ||
|
||
1. Go to the project's page. | ||
|
||
1. In the project's list, select your **Project**. | ||
|
||
1. On your project's home page left navigation, select **Cloud Providers**. | ||
|
||
1. On the cloud provider's page, select **Your Cloud Account**. | ||
|
||
1. On your cloud account tab, under **AWS**, select **Manage Tags**. | ||
|
||
1. Select **Add a Key Value pair**. | ||
|
||
1. Provide **Key** and **Value** and select **Save**. | ||
|
||
1. A **Confirm changes to AWS tags** message pops up. | ||
|
||
1. Select **Confirm** to add the tag. | ||
|
||
1. 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 **Key**s. | ||
|
||
<details><summary>Reserved keywords</summary> | ||
|
||
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`. | ||
|
||
</details> | ||
|
||
<br/> | ||
|
||
- Review the [tagging limitations of AWS](https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html#tag-conventions). | ||
|
||
- 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. | ||
|
||
1. Go to the project's page. | ||
|
||
1. In the project's list, select your **Project**. | ||
|
||
1. On your project's home page left navigation, select **Cloud Providers**. | ||
|
||
1. On the cloud provider's page, select **Your Cloud Account**. | ||
|
||
1. On your cloud account tab, under **AWS**, select **Manage Tags**. | ||
|
||
1. Update the **Value** field of any of the existing tags. | ||
|
||
1. Select **Save**. | ||
|
||
1. A **Confirm changes to AWS tags** message pops up. | ||
|
||
1. Select **Confirm** to update the tag. | ||
|
||
1. 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. | ||
|
||
1. Go to the project's page. | ||
|
||
1. In the project's list, select your **Project**. | ||
|
||
1. On your project's home page left navigation, select **Cloud Providers**. | ||
|
||
1. On the cloud provider's page, select **Your Cloud Account**. | ||
|
||
1. On your cloud account tab, under **AWS**, select **Manage Tags**. | ||
|
||
1. Select the minus symbol (**—**) next to the Key value pair to delete the tag. | ||
|
||
1. Select **Save**. | ||
|
||
1. A **Confirm changes to AWS tags** message pops up. | ||
|
||
1. 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 is deleted by selecting the **Tags** tab of your EC2 instance resources on AWS console. | ||
|
8 changes: 8 additions & 0 deletions
8
product_docs/docs/biganimal/release/using_cluster/managing_cloud_account/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: "Managing resources on Your Cloud Account" | ||
--- | ||
|
||
Some configuration options are available to projects and clusters created on Your Cloud Account. | ||
|
||
- [Tagging resources in a Project](csp_tagging) | ||
|
Oops, something went wrong.
a108b99
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://edb-docs-staging.netlify.app as production
🚀 Deployed on https://66b09c3e64f3fcb833377622--edb-docs-staging.netlify.app
a108b99
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://edb-docs.netlify.app as production
🚀 Deployed on https://66b09d7965041db1efdcccdf--edb-docs.netlify.app