diff --git a/aoe-infra/infra/environments/dev.json b/aoe-infra/infra/environments/dev.json index 99c613cc7..d4a32cda9 100644 --- a/aoe-infra/infra/environments/dev.json +++ b/aoe-infra/infra/environments/dev.json @@ -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", @@ -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", @@ -250,4 +258,4 @@ "max_ecpu_per_second": 40000 } } -} \ No newline at end of file +} diff --git a/aoe-infra/infra/lib/security-groups.ts b/aoe-infra/infra/lib/security-groups.ts index 30cf1b23e..9d5da6918 100644 --- a/aoe-infra/infra/lib/security-groups.ts +++ b/aoe-infra/infra/lib/security-groups.ts @@ -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,