Pulumi — def-exsport-pulumi
Infrastruktur AWS sebagai kode. Tiap stack adalah project Pulumi tersendiri di bawah stacks/.
Cara halaman ini diverifikasi
Dibaca pada 2026-09-15 dari stacks/*/Pulumi.yaml, stacks/*/index.ts dan stacks/*/src/*.ts. Checkout lokal: /Volumes/xpro/erisristemena/pulumi/def-exsport-pulumi. Single-branch: main only.
Stack
Pulumi, TypeScript, @pulumi/aws + @pulumi/awsx, runtime nodejs (npm; stack webhook pakai yarn). Tidak ada Pulumi.yaml root — tiap stack adalah project terpisah.
Tujuh stack
| Direktori stack | Project Pulumi | Resource AWS |
|---|---|---|
webapp | exsport-webapp | Tier utama: VPC; ECS cluster + 4 service + 4 task definition; ALB dengan listener, rule, 4 target group; instance RDS; ElastiCache (Redis); autoscaling; log group CloudWatch; IAM; satu bastion EC2 |
webhook | exsport (yarn) | SNS — 3 topic + 3 subscription (WMS / delivery / payment), cocok dengan repo webhook |
repo | exsport-repo | ECR — 4 repository + lifecycle policy |
storage | exsport-storage | S3 — bucket + ACL, ownership, policy, public-access block, versioning |
params | exsport-params | Parameter SSM (config SMTP dan sejenisnya) |
cert | exsport-cert | Sertifikat ACM |
webapp-ec2 | exsport-webapp-ec2 | Varian deployment berbasis EC2: VPC, 6 instance + security group, EIP, key pair |
Config per-env ada di file Pulumi.<env>.yaml (dev / stg / prod, berbeda per stack). README hanya mendokumentasikan empat stack (repo, storage, webapp, webhook); cert, params dan webapp-ec2 juga ada di disk.
Catatan
Setup AWS ini (ECS/ALB/RDS) bukan hal yang sama dengan serving host tempat app berjalan sekarang — lihat Environments. Baca stack-nya sebelum menganggap ini jalur yang live.