Skip to content

Commit f99110a

Browse files
committed
fix(infra): drop STARDUST1-S, use DEV1-S everywhere
STARDUST1_S project quota is 1, but the immutable lb-overlap cutover is create-before-destroy and needs two VMs of a type at once (old + new generation). The single slot made vm-cdc-246 creation fail and aborted pulumi up mid-cutover, taking both api and www to 503. DEV1-S has ample quota headroom, so use it for every service for an in-quota clean deploy.
1 parent 79cfde5 commit f99110a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

infra/compose.gen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ services:
3535
replacementStrategy: lb-overlap
3636
drainSeconds: 10
3737
instanceType:
38-
production: DEV1-M
38+
production: DEV1-S
3939
staging: DEV1-S
4040
drainPolicy: requests
4141
lbRoute: default

infra/config/services.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default defineServices({
4848
// generation boots warm and contends for the slot the old one releases on
4949
// drain. No lbRoute → internal-only, reached over the private network.
5050
replacementStrategy: 'exclusive',
51-
instanceType: 'STARDUST1-S',
51+
instanceType: 'DEV1-S',
5252
env: {
5353
API_WS_URL: '${API_WS_URL}',
5454
BACKEND_URL: '${BACKEND_URL}',
@@ -77,7 +77,7 @@ export default defineServices({
7777
lbWebsockets: true,
7878
// Only deployed when the app enables collaborative editing (appConfig.features.yjs).
7979
featureFlag: 'yjs',
80-
instanceType: 'STARDUST1-S',
80+
instanceType: 'DEV1-S',
8181
env: {
8282
BACKEND_URL: '${BACKEND_URL}',
8383
YJS_PORT: '4002',
@@ -97,7 +97,7 @@ export default defineServices({
9797
lbRoute: 'host',
9898
// Only deployed when the app enables the AI worker (appConfig.features.ai).
9999
featureFlag: 'ai',
100-
instanceType: 'STARDUST1-S',
100+
instanceType: 'DEV1-S',
101101
env: {
102102
MODE: 'ai-worker',
103103
PORT: '4003',
@@ -125,7 +125,7 @@ export default defineServices({
125125
// The SPA proxy reads no app secret — no standard env, no .env files.
126126
includeStandardEnv: false,
127127
includeEnvFile: false,
128-
instanceType: 'STARDUST1-S',
128+
instanceType: 'DEV1-S',
129129
env: {
130130
FRONTEND_CSP: '${FRONTEND_CSP}',
131131
ORIGIN_HOST: '${ORIGIN_HOST}',

0 commit comments

Comments
 (0)