06. TERRAFORM - Projeto “0-2-HERO” (Postgres e COUNT) #2.

Опубликовано: 29 Июль 2026
на канале: Michel Dellabeneta
113
9

Link do documento:
https://docs.google.com/document/d/1_...

REPOSITÓRIO: https://github.com/Dellabeneta/curso_...
PROJETO DE REFERÊNCIA: https://github.com/Dellabeneta/terraf...

Continuando o Projeto “ZERO TO HERO” (Cluster Postgres e COUNT Index).


Agora iremos incrementar o projeto com nosso Cluster de Banco de Dados e Subir uma aplicação Web que escreve nesta base de dados.

https://user-images.githubusercontent...


O que nós temos na arquitetura de HOJE (incremento ao Vídeo 5):

1 Load balancer.
2 Servidores Linux com NGINX, na porta 80.
1 Cluster Postgres com 1 Node.


/…

resource "digitalocean_database_cluster" "postgres-example" {
name = "example-postgres-cluster"
engine = "pg"
version = "11"
size = "db-s-1vcpu-1gb"
region = "nyc1"
node_count = 1
}

… /