# Object Storage - Rede5

Servicos de armazenamento de objetos para backup e credenciais.

---

## Civo Object Storage (NYC1)

| Propriedade | Valor |
|-------------|-------|
| Endpoint | https://objectstore.nyc1.civo.com |
| Region | NYC1 |
| Bucket | rede5 |
| Access Key | `0UZ69TH03Q292DMTB82B` |
| Secret Key | `JJ5XXZYvoWdnqBCNP5oREjACyrXeH6EgSqeSybT7` |

## Euronodes Object Storage (EU)

| Propriedade | Valor |
|-------------|-------|
| Endpoint | https://eu-west-1.euronodes.com |
| Region | eu-west-1 |
| Buckets | rede5, vault |
| Access Key | `XZNFA56V35MUY605XOUL` |
| Secret Key | `FYATWkgSafaEMRQlFNdSQ6BoCSxG74MY9Cd7D8AF` |

---

## Configuracao AWS CLI

```bash
# Para Civo
aws configure --profile civo
# Access Key: 0UZ69TH03Q292DMTB82B
# Secret Key: JJ5XXZYvoWdnqBCNP5oREjACyrXeH6EgSqeSybT7
# Region: NYC1
# Output: json

# Para Euronodes
aws configure --profile euronodes
# Access Key: XZNFA56V35MUY605XOUL
# Secret Key: FYATWkgSafaEMRQlFNdSQ6BoCSxG74MY9Cd7D8AF
# Region: eu-west-1
# Output: json
```

## Comandos

```bash
# Listar buckets - Civo
aws s3 ls --endpoint-url https://objectstore.nyc1.civo.com --profile civo

# Listar buckets - Euronodes
aws s3 ls --endpoint-url https://eu-west-1.euronodes.com --profile euronodes

# Upload backup SSH - Civo
aws s3 sync ~/.ssh/ s3://rede5/vault/ssh/ --endpoint-url https://objectstore.nyc1.civo.com --profile civo

# Upload backup SSH - Euronodes
aws s3 sync ~/.ssh/ s3://vault/ssh/ --endpoint-url https://eu-west-1.euronodes.com --profile euronodes

# Download backup
aws s3 sync s3://rede5/vault/ssh/ ~/.ssh/ --endpoint-url https://objectstore.nyc1.civo.com --profile civo
```

## Status (Testado em 2026-02-26)

| Servico | Status |
|---------|--------|
| Civo Object Storage | ✅ OK |
| Euronodes Object Storage | ✅ OK |

---

*Atualizado em: 2026-02-26*
