Skip to content

Commit

Permalink
Add web frontend configuration and add missing initialization for Web…
Browse files Browse the repository at this point in the history
…FrontendServiceStack
  • Loading branch information
hsalokor committed Dec 12, 2024
1 parent 49f0b4d commit ffcfbca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 10 additions & 2 deletions aoe-infra/infra/environments/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@
"AOE_REQUEST_URL": "http://web-backend.dev.aoe.local:8080/api/v1/oaipmh/metadata"
}
},
"web_frontend": {
"cpu_limit": "512",
"memory_limit": "1024",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-142",
"allow_ecs_exec": true
},
"web_backend": {
"cpu_limit": "512",
"memory_limit": "1024",
Expand Down Expand Up @@ -165,7 +173,7 @@
"STREAM_REDIRECT_URI": "https://stream.dev.aoe.fi/api/v1/material/",
"STREAM_STATUS_HOST": "streaming-app.dev.aoe.local:8080",
"STREAM_STATUS_PATH": "/api/v1/material/"
}
}
},
"streaming": {
"cpu_limit": "512",
Expand Down Expand Up @@ -250,4 +258,4 @@
"max_ecpu_per_second": 40000
}
}
}
}
5 changes: 5 additions & 0 deletions aoe-infra/infra/lib/security-groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ export class SecurityGroupStack extends cdk.Stack {
allowAllOutbound: true,
});

this.webFrontendServiceSecurityGroup = new ec2.SecurityGroup(this, 'WebFrontendServiceSecurityGroupSecurityGroup', {
vpc: props.vpc,
allowAllOutbound: true,
});

this.semanticApisServiceSecurityGroup = new ec2.SecurityGroup(this, 'SemanticApisServiceSecurityGroup', {
vpc: props.vpc,
allowAllOutbound: true,
Expand Down

0 comments on commit ffcfbca

Please sign in to comment.