Aller au contenu

S3 FE bucket nomenclature for monitoring/logging#

Zone nomenclature for Caascad

Warning

07/06/2023 : il n'est pas encore décidé si cette doc sera spécifique à Caascad ou si elle sera mutualisée avec NGOT.

Si elle est spécifique, il faudra le mentionner dans le titre et déplacer le document dans le sous-répertoire Caascad/.

FE Bucket naming rules (extracted from FE console)#

  • The name must be globally unique in OBS.
  • The name must contain 3 to 63 characters. Only lowercase letters, digits, hyphens (-), and periods (.) are allowed.
  • The name cannot start or end with a period (.) or hyphen (-), and cannot contain two consecutive periods (.) or contain a period (.) and a hyphen (-) adjacent to each other.
  • The name cannot be an IP address.
  • If the name contains any periods, a security certificate verification message may appear when you access the bucket or its objects by entering a domain name.

Zones that share the same S3 backend#

Zone FE domain name
infra/staging infra/production caascad-production
cloud/caascad cloud/client cloud/app caascad-customer

Note

In client/caascad zone we don't store metrics/logs

Thanos#

Zone Bucket Name
infra/staging thanos-infra-stg
infra/production thanos-infra-prd
cloud/caascad thanos-cloud-caascad-<client-ID>
cloud/client thanos-cloud-client-<client-ID>
cloud/app thanos-cloud-app-<client-ID>

Loki#

Zone Bucket Name
infra/staging loki-infra-stg
infra/production loki-infra-prd
cloud/caascad loki-cloud-caascad-<client-ID>
cloud/client loki-cloud-client-<client-ID>

Note

In cloud/app zone we don't store logs, all the logs comming from client zone are stored in cloud/client zone