76 lines
2.6 KiB
Markdown
76 lines
2.6 KiB
Markdown
# Infracloud - Infraestrutura Rede5
|
|
|
|
Este repositorio contem a documentacao e os manifestos de Infraestrutura como Codigo (IaC) da Rede5.
|
|
|
|
## Estrutura do Projeto
|
|
|
|
### OCI - Oracle Cloud Infrastructure
|
|
|
|
Infraestrutura OCI para projetos **Invista** (Nexus, MFEs, MSs).
|
|
|
|
#### Documentação
|
|
|
|
| Documento | Descrição |
|
|
|-----------|-----------|
|
|
| [Visao Geral OCI](./OCI.md) | Configuracao, compartimentos, VCN, subnets |
|
|
| [Tarefas OCI - MFEs](./OCI-MFE-TASKS.md) | Checklist e atividades para MFEs |
|
|
| [Passo a Passo mfe-user](./OCI-MFE-STEPBYSTEP.md) | Guia de deploy do mfe-user |
|
|
| [Pipeline mfe-user](./MFE-USER-PIPELINE.md) | Como funciona a pipeline multi-cloud |
|
|
| [Terraform OCI](./OCI-TERRAFORM.md) | Importacao de recursos, melhores praticas |
|
|
| [API Gateway](./OCI-API-GATEWAY.md) | Configuracao para hosting de MFEs |
|
|
|
|
#### Estado Atual da Infraestrutura OCI
|
|
|
|
| Recurso | Status | Detalhes |
|
|
|---------|--------|----------|
|
|
| VCN (Dev) | ✅ Existe | `vcn-oke` - CIDR: 10.120.0.0/16 |
|
|
| Subnets (Dev) | ✅ Existe | 5 subnets (lb + workers) |
|
|
| API Gateways | ❌ Não existe | Pipeline cria automaticamente |
|
|
| Buckets | ❌ Não existe | Pipeline cria automaticamente |
|
|
|
|
#### Próximo Passo (Ação Necessária)
|
|
|
|
Adicionar no Azure DevOps Variable Group `oci-terraform`:
|
|
|
|
```
|
|
OCI_SUBNET_OCID = ocid1.subnet.oc1.sa-saopaulo-1.aaaaaaaa2ezw57uocis6s2eioypdsnt2p4pwm4fwnjz5jdaqigrm6jaqexeq
|
|
```
|
|
|
|
#### Quick Start - Deploy mfe-user para OCI
|
|
|
|
1. Adicionar `OCI_SUBNET_OCID` no Variable Group
|
|
2. Push código para branch `devops`
|
|
3. Executar pipeline com `cloudProvider = oci`
|
|
4. Acessar URL: `https://<gateway-id>.apigateway.sa-saopaulo-1.oci.customer-oci.com/`
|
|
|
|
---
|
|
|
|
### VPS (Virtual Private Servers)
|
|
|
|
Servidores standalone gerenciados individualmente.
|
|
|
|
- [**Redbull**](./vps/redbull/README.md): Servidor DEV (Coolify PaaS). IP: 185.194.141.70
|
|
- [**Echo**](./vps/echo/README.md): Servidor PROD (Dokku PaaS). IP: 152.53.120.181
|
|
- [**Vim**](./vps/vim/README.md): Servidor PROD (Dokku PaaS). IP: 38.19.201.52
|
|
|
|
### Cloud Databases
|
|
|
|
Bancos de dados gerenciados.
|
|
|
|
- [**Saveinmed DB**](./vps/saveinmed-db/README.md): PostgreSQL 17 (Absam.io). vpsID: 60604
|
|
|
|
### Conexoes
|
|
|
|
- [**Guia de Conexoes**](./CONNECTIONS.md): Cloudflare, GitHub, Coolify, SSH Keys, etc.
|
|
- [**Credenciais**](./credentials/): Backup local das credenciais SSH e tokens
|
|
|
|
### Azure DevOps
|
|
|
|
- [**Azure DevOps**](./azure-devops/CONNECTION.md): CN-Squad Organization
|
|
- [**OCI**](./azure-devops/OCI-CONNECTION.md): Oracle Cloud Infrastructure
|
|
|
|
### Containers
|
|
|
|
Definicoes de containers compartilhados entre servidores.
|
|
|
|
- [**Containers**](./containers/): Dockerfiles e configuracoes de containers
|