Adds starting files
This commit is contained in:
51
infra/ecs_alb/Pulumi.Inovyo.yaml
Normal file
51
infra/ecs_alb/Pulumi.Inovyo.yaml
Normal file
@@ -0,0 +1,51 @@
|
||||
config:
|
||||
aws:region: us-east-1
|
||||
app-ecs:account_id: "305427701314" # dnxbrasil-nonprod
|
||||
app-ecs:project_name: assistente-analitico
|
||||
app-ecs:environment: dev
|
||||
# app-ecs:bedrock_api_key:
|
||||
# secure: you-can-put-your-pulumi-encrypted-secure-string-here
|
||||
app-ecs:tags:
|
||||
project: assistente-analitico-db-dev
|
||||
env: dev # dev, test, stage, prod
|
||||
account: nonprod # prod, nonprod, dataScience
|
||||
costCenter: AI # AWSGeneral, AI, data, productName
|
||||
owner: AI # team or a preson responsible
|
||||
app-ecs:network:
|
||||
vpc_id: vpc-17ceb96c
|
||||
alb_internal: false
|
||||
alb_subnet_ids: # 2+ private subnets if alb_internal else public subnets in the same region and vpc
|
||||
- subnet-0de9f056635629827
|
||||
- subnet-09cda74f27c543521
|
||||
alb_allow_ingress_cidr:
|
||||
- 3.14.44.224/32
|
||||
ecs_subnet_ids:
|
||||
- subnet-0f50f25a2fbb054d4
|
||||
- subnet-0014ea77951bbeb6c
|
||||
app-ecs:ecs:
|
||||
- task_name: assisnte-analitico-db-dev
|
||||
ecr_repo_name: assistente-analitico-db-dev
|
||||
ecr_image_tag: latest
|
||||
ecr_image_digest: sha256:7a2aede33d8dd34822b73291d64e1ccce26980fc531290c54d992bcb7dee26fa
|
||||
cpu: 256
|
||||
memory: 512
|
||||
desired_count: 1
|
||||
sgs_allowing_ingress: {}
|
||||
use_load_balancer: true
|
||||
auto_scaling:
|
||||
min_capacity: 1
|
||||
max_capacity: 3
|
||||
target_value: 60.0
|
||||
lb_config:
|
||||
name: listener
|
||||
listener_port: 8501
|
||||
target_port: 8501
|
||||
container_port: 8501
|
||||
env_variables:
|
||||
LANGFUSE_HOST: http://172.31.252.176:3000
|
||||
# SECRET_NAME: dev/ai-pge-doc-classification
|
||||
# BEDROCK_REGION: us-east-1
|
||||
# LANGCHAIN_TRACING_V2: "true"
|
||||
# LANGCHAIN_PROJECT: pge-doc-classification-dev
|
||||
app-ecs:cloudwatch:
|
||||
log_group_name: assistente-analitico-db-dev
|
||||
Reference in New Issue
Block a user