Skip to content

Commit e2ce13d

Browse files
pacphiclaude
andcommitted
Update Scaleway infrastructure pricing to current rates
* Update compute instance pricing: - GP1-XS: €66.43/month (4 vCPU, 16GB RAM) - GP1-S: €136.51/month (8 vCPU, 32GB RAM) - GP1-M: €274.48/month (16 vCPU, 64GB RAM) * Update database instance pricing: - DB-DEV-S: €11.23/month (2 vCPU, 2GB RAM) - DB-GP-S: €273.82/month (8 vCPU, 32GB RAM) - DB-GP-M: €547.24/month (16 vCPU, 64GB RAM) * Remove unsupported instance types: - Removed GP1-L and GP1-XL (no current Scaleway documentation) - Removed DB-GP-L (no current Scaleway documentation) * Update environment cost estimates: - Development: €155.09/month - Staging: €694.35/month - Production: €1,992.34/month * Updated files: cost calculators, environment outputs, documentation, scaling scripts, database resize tools, and architecture diagrams 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 97a0ebf commit e2ce13d

File tree

12 files changed

+93
-85
lines changed

12 files changed

+93
-85
lines changed

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ The system uses a **two-phase deployment architecture** that separates infrastru
3434
- Workspace template deployment
3535

3636
### Multi-Environment Strategy
37-
- **`environments/dev/`**: Cost-optimized (€53.70/month) - 2x GP1-XS nodes, DB-DEV-S
38-
- **`environments/staging/`**: Production-like testing (€97.85/month) - 3x GP1-S nodes, DB-GP-S
39-
- **`environments/prod/`**: High-availability enterprise (€374.50/month) - 5x GP1-M nodes, DB-GP-M HA
37+
- **`environments/dev/`**: Cost-optimized (€155.09/month) - 2x GP1-XS nodes, DB-DEV-S
38+
- **`environments/staging/`**: Production-like testing (€694.35/month) - 3x GP1-S nodes, DB-GP-S
39+
- **`environments/prod/`**: High-availability enterprise (€1,992.34/month) - 5x GP1-M nodes, DB-GP-M HA
4040

4141
### Environment Structure
4242
```

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ gh run watch
233233

234234
| Environment | Monthly Cost | Use Case | Resources |
235235
|-------------|--------------|----------|-----------|
236-
| **Development** |53.70 | Personal dev, learning | 2×GP1-XS nodes, DB-DEV-S |
237-
| **Staging** |97.85 | Team testing, CI/CD | 3×GP1-S nodes, DB-GP-S |
238-
| **Production** |374.50 | Enterprise, high availability | 5×GP1-M nodes, DB-GP-M HA |
236+
| **Development** |155.09 | Personal dev, learning | 2×GP1-XS nodes, DB-DEV-S |
237+
| **Staging** |694.35 | Team testing, CI/CD | 3×GP1-S nodes, DB-GP-S |
238+
| **Production** |1,992.34 | Enterprise, high availability | 5×GP1-M nodes, DB-GP-M HA |
239239

240240
## 🎯 Available Templates
241241

docs/ARCHITECTURE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ graph TB
289289

290290
| Environment | Nodes | CPU/Node | RAM/Node | Database | Monthly Cost |
291291
|-------------|-------|----------|-----------|----------|--------------|
292-
| Development | 2 | 1 vCPU | 2GB | DB-DEV-S |53.70 |
293-
| Staging | 3 | 2 vCPU | 4GB | DB-GP-S |97.85 |
294-
| Production | 5 | 4 vCPU | 8GB | DB-GP-M HA |374.50 |
292+
| Development | 2 | 4 vCPU | 16GB | DB-DEV-S |155.09 |
293+
| Staging | 3 | 8 vCPU | 32GB | DB-GP-S |694.35 |
294+
| Production | 5 | 16 vCPU | 64GB | DB-GP-M HA |1,992.34 |
295295

296296
## Deployment Flow Architecture
297297

@@ -317,7 +317,7 @@ sequenceDiagram
317317
Scaleway-->>Terraform: Return planned resources
318318
Terraform-->>SetupScript: Show deployment plan
319319
320-
SetupScript->>DevOps: Request approval for €374.50/month
320+
SetupScript->>DevOps: Request approval for €1,992.34/month
321321
DevOps->>SetupScript: Approve deployment
322322
323323
SetupScript->>Terraform: terraform apply
@@ -857,13 +857,13 @@ sequenceDiagram
857857
MetricsDB-->>CostCalc: Return CPU, memory, storage usage
858858
859859
CostCalc->>CostCalc: Calculate monthly costs:
860-
Note over CostCalc: Compute: 5 nodes × €28.20 = €141<br/>Database: DB-GP-M HA = €178.50<br/>Load Balancer: GP-L = €35<br/>Storage: 500GB × €0.04 = €20<br/>Total: €374.50/month
860+
Note over CostCalc: Compute: 5 nodes × €274.48 = €1,372.40<br/>Database: DB-GP-M HA = €547.24<br/>Load Balancer: GP-L = €45.60<br/>Storage: 500GB × €0.04 = €20<br/>Total: €1,985.24/month
861861
862862
CostCalc->>CostCalc: Check against budget (€500)
863863
CostCalc->>AlertSystem: Set alert threshold (80% = €400)
864864
865865
CostCalc->>Admin: Display cost breakdown
866-
Note over Admin: Current: €374.50/month (74.9% of budget)<br/>Projected annual: €4,494<br/>Alert threshold: €400/month
866+
Note over Admin: Current: €1,985.24/month (397% of budget)<br/>Projected annual: €23,823<br/>Alert threshold: €400/month
867867
868868
CostCalc->>AlertSystem: Schedule daily cost checks
869869
AlertSystem-->>Admin: Email if costs exceed €400/month

docs/TEMPLATES.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,14 @@ jobs:
9898
Advanced development environments with AI integration and enhanced capabilities.
9999
100100
#### `claude-flow-base`
101+
101102
- **Path**: `templates/ai-enhanced/claude-flow-base/`
102103
- **Description**: Basic Claude Code Flow integration for AI-assisted development
103104
- **Features**: [Auto-detected from template configuration]
104105
- **Resource Requirements**: Low (CPU cores, RAM based on template type)
105106

106107
#### `claude-flow-enterprise`
108+
107109
- **Path**: `templates/ai-enhanced/claude-flow-enterprise/`
108110
- **Description**: Enterprise Claude Code Flow with 87 MCP tools and advanced features
109111
- **Features**: [Auto-detected from template configuration]
@@ -115,42 +117,49 @@ Advanced development environments with AI integration and enhanced capabilities.
115117
Server-side development environments with database integration and API frameworks.
116118

117119
#### `dotnet-core`
120+
118121
- **Path**: `templates/backend/dotnet-core/`
119122
- **Description**: .NET Core development environment with C# tooling
120123
- **Features**: [Auto-detected from template configuration]
121124
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
122125

123126
#### `go-fiber`
127+
124128
- **Path**: `templates/backend/go-fiber/`
125129
- **Description**: Go development with Fiber web framework
126130
- **Features**: [Auto-detected from template configuration]
127131
- **Resource Requirements**: Low (CPU cores, RAM based on template type)
128132

129133
#### `java-spring`
134+
130135
- **Path**: `templates/backend/java-spring/`
131136
- **Description**: Java Spring Boot development environment
132137
- **Features**: [Auto-detected from template configuration]
133138
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
134139

135140
#### `php-symfony-neuron`
141+
136142
- **Path**: `templates/backend/php-symfony-neuron/`
137143
- **Description**: PHP Symfony framework with Neuron integration
138144
- **Features**: [Auto-detected from template configuration]
139145
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
140146

141147
#### `python-django-crewai`
148+
142149
- **Path**: `templates/backend/python-django-crewai/`
143150
- **Description**: Python Django with CrewAI multi-agent workflow capabilities
144151
- **Features**: [Auto-detected from template configuration]
145152
- **Resource Requirements**: High (CPU cores, RAM based on template type)
146153

147154
#### `ruby-rails`
155+
148156
- **Path**: `templates/backend/ruby-rails/`
149157
- **Description**: Ruby on Rails development environment
150158
- **Features**: [Auto-detected from template configuration]
151159
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
152160

153161
#### `rust-actix`
162+
154163
- **Path**: `templates/backend/rust-actix/`
155164
- **Description**: Rust development with Actix web framework
156165
- **Features**: [Auto-detected from template configuration]
@@ -162,12 +171,14 @@ Server-side development environments with database integration and API framework
162171
Data science and machine learning development environments with specialized tools.
163172

164173
#### `jupyter-python`
174+
165175
- **Path**: `templates/data-ml/jupyter-python/`
166176
- **Description**: Jupyter notebooks with comprehensive Python data science stack
167177
- **Features**: [Auto-detected from template configuration]
168178
- **Resource Requirements**: High (CPU cores, RAM based on template type)
169179

170180
#### `r-studio`
181+
171182
- **Path**: `templates/data-ml/r-studio/`
172183
- **Description**: R Studio for statistical computing and data analysis
173184
- **Features**: [Auto-detected from template configuration]
@@ -179,18 +190,21 @@ Data science and machine learning development environments with specialized tool
179190
Infrastructure and deployment tool environments for DevOps workflows.
180191

181192
#### `docker-compose`
193+
182194
- **Path**: `templates/devops/docker-compose/`
183195
- **Description**: Docker Compose development environment
184196
- **Features**: [Auto-detected from template configuration]
185197
- **Resource Requirements**: Low (CPU cores, RAM based on template type)
186198

187199
#### `kubernetes-helm`
200+
188201
- **Path**: `templates/devops/kubernetes-helm/`
189202
- **Description**: Kubernetes development with Helm package management
190203
- **Features**: [Auto-detected from template configuration]
191204
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
192205

193206
#### `terraform-ansible`
207+
194208
- **Path**: `templates/devops/terraform-ansible/`
195209
- **Description**: Infrastructure as Code with Terraform and Ansible
196210
- **Features**: [Auto-detected from template configuration]
@@ -202,24 +216,28 @@ Infrastructure and deployment tool environments for DevOps workflows.
202216
Modern frontend development environments with popular JavaScript frameworks.
203217

204218
#### `angular`
219+
205220
- **Path**: `templates/frontend/angular/`
206221
- **Description**: Angular development environment with TypeScript
207222
- **Features**: [Auto-detected from template configuration]
208223
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
209224

210225
#### `react-typescript`
226+
211227
- **Path**: `templates/frontend/react-typescript/`
212228
- **Description**: React development with TypeScript
213229
- **Features**: [Auto-detected from template configuration]
214230
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
215231

216232
#### `svelte-kit`
233+
217234
- **Path**: `templates/frontend/svelte-kit/`
218235
- **Description**: SvelteKit development environment
219236
- **Features**: [Auto-detected from template configuration]
220237
- **Resource Requirements**: Low (CPU cores, RAM based on template type)
221238

222239
#### `vue-nuxt`
240+
223241
- **Path**: `templates/frontend/vue-nuxt/`
224242
- **Description**: Vue.js development with Nuxt.js framework
225243
- **Features**: [Auto-detected from template configuration]
@@ -231,18 +249,21 @@ Modern frontend development environments with popular JavaScript frameworks.
231249
Cross-platform mobile development environments with modern frameworks.
232250

233251
#### `flutter`
252+
234253
- **Path**: `templates/mobile/flutter/`
235254
- **Description**: Flutter cross-platform mobile development
236255
- **Features**: [Auto-detected from template configuration]
237256
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
238257

239258
#### `ionic`
259+
240260
- **Path**: `templates/mobile/ionic/`
241261
- **Description**: Ionic hybrid mobile development
242262
- **Features**: [Auto-detected from template configuration]
243263
- **Resource Requirements**: Medium (CPU cores, RAM based on template type)
244264

245265
#### `react-native`
266+
246267
- **Path**: `templates/mobile/react-native/`
247268
- **Description**: React Native mobile development
248269
- **Features**: [Auto-detected from template configuration]
@@ -260,25 +281,29 @@ Cross-platform mobile development environments with modern frameworks.
260281
### Environment Scaling
261282

262283
Templates automatically scale resources based on the target environment:
284+
263285
- **Development**: Minimal resources, cost-optimized
264286
- **Staging**: Production-like resources for testing
265287
- **Production**: Full resources with high availability
266288

267289
## Template Selection Guide
268290

269291
### For Individual Developers
292+
270293
- **AI-Enhanced Development**: `claude-flow-base`
271294
- **Web Development**: `react-typescript`, `vue-nuxt`, `go-fiber`
272295
- **Data Science**: `jupyter-python`, `r-studio`
273296
- **Mobile Development**: `flutter`, `react-native`
274297

275298
### For Teams
299+
276300
- **Enterprise AI**: `claude-flow-enterprise`
277301
- **Backend Services**: `java-spring`, `python-django-crewai`, `dotnet-core`
278302
- **DevOps Workflows**: `kubernetes-helm`, `terraform-ansible`
279303
- **Full-Stack Development**: `react-typescript` + `go-fiber`
280304

281305
### For Specific Use Cases
306+
282307
- **High Performance**: `rust-actix`, `go-fiber`
283308
- **Rapid Prototyping**: `svelte-kit`, `ruby-rails`
284309
- **Enterprise Applications**: `java-spring`, `dotnet-core`, `angular`
@@ -296,6 +321,7 @@ Templates automatically scale resources based on the target environment:
296321
### Template Structure Requirements
297322

298323
Each template must include:
324+
299325
- `main.tf`: Coder template definition (Terraform configuration)
300326
- Configurable parameters for CPU, memory, disk size
301327
- Startup scripts for environment setup
@@ -304,6 +330,7 @@ Each template must include:
304330
## Maintenance
305331

306332
This documentation is automatically maintained using:
333+
307334
```bash
308335
# Generate/update docs/TEMPLATES.md from template directory scan
309336
./scripts/utils/generate-template-docs.sh

environments/dev/outputs.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ output "security_info" {
5454
output "cost_estimation" {
5555
description = "Estimated monthly costs in EUR"
5656
value = {
57-
cluster_nodes = "30.40" # 2 × GP1-XS
58-
database = "12.30" # DB-DEV-S
59-
load_balancer = "€8.90" # LB-S
60-
networking = "€2.10" # VPC + Gateway
61-
total = "53.70" # Monthly total
57+
cluster_nodes = "132.86" # 2 × GP1-XS
58+
database = "11.23" # DB-DEV-S
59+
load_balancer = "€8.90" # LB-S
60+
networking = "€2.10" # VPC + Gateway
61+
total = "155.09" # Monthly total
6262
}
6363
}
6464

environments/prod/outputs.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ output "ha_status" {
6868
output "cost_estimation" {
6969
description = "Estimated monthly costs in EUR"
7070
value = {
71-
cluster_nodes = "228.00" # 5 × GP1-M
72-
database = "73.80" # DB-GP-M HA
73-
load_balancer = "€45.60" # LB-GP-M
74-
networking = "€2.10" # VPC + Gateway
75-
storage = "€25.00" # Additional storage
76-
total = "374.50" # Monthly total
71+
cluster_nodes = "1,372.40" # 5 × GP1-M
72+
database = "547.24" # DB-GP-M HA
73+
load_balancer = "€45.60" # LB-GP-M
74+
networking = "€2.10" # VPC + Gateway
75+
storage = "€25.00" # Additional storage
76+
total = "1,992.34" # Monthly total
7777
}
7878
}
7979

environments/staging/outputs.tf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ output "security_info" {
5454
output "cost_estimation" {
5555
description = "Estimated monthly costs in EUR"
5656
value = {
57-
cluster_nodes = "68.40" # 3 × GP1-S
58-
database = "18.45" # DB-GP-S
59-
load_balancer = "€8.90" # LB-S
60-
networking = "€2.10" # VPC + Gateway
61-
total = "97.85" # Monthly total
57+
cluster_nodes = "409.53" # 3 × GP1-S
58+
database = "273.82" # DB-GP-S
59+
load_balancer = "€8.90" # LB-S
60+
networking = "€2.10" # VPC + Gateway
61+
total = "694.35" # Monthly total
6262
}
6363
}
6464

scripts/database-resize.sh

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,15 @@ START_TIME=$(date +%s)
2929

3030
# Database instance types and costs (EUR per hour)
3131
declare -A DB_TYPES=(
32-
["DB-DEV-S"]="1 vCPU, 2GB RAM, €12.30/month"
33-
["DB-GP-S"]="2 vCPU, 4GB RAM, €18.45/month"
34-
["DB-GP-M"]="4 vCPU, 16GB RAM, €36.90/month"
35-
["DB-GP-L"]="8 vCPU, 32GB RAM, €73.80/month"
32+
["DB-DEV-S"]="2 vCPU, 2GB RAM, €11.23/month"
33+
["DB-GP-S"]="8 vCPU, 32GB RAM, €273.82/month"
34+
["DB-GP-M"]="16 vCPU, 64GB RAM, €547.24/month"
3635
)
3736

3837
declare -A DB_COSTS=(
39-
["DB-DEV-S"]="0.0171"
40-
["DB-GP-S"]="0.0256"
41-
["DB-GP-M"]="0.0513"
42-
["DB-GP-L"]="0.1025"
38+
["DB-DEV-S"]="0.0156"
39+
["DB-GP-S"]="0.3803"
40+
["DB-GP-M"]="0.7595"
4341
)
4442

4543
print_banner() {
@@ -71,10 +69,9 @@ Options:
7169
--help Show this help message
7270
7371
Instance Types:
74-
DB-DEV-S 1 vCPU, 2GB RAM €12.30/month (Development)
75-
DB-GP-S 2 vCPU, 4GB RAM €18.45/month (Small workloads)
76-
DB-GP-M 4 vCPU, 16GB RAM €36.90/month (Medium workloads)
77-
DB-GP-L 8 vCPU, 32GB RAM €73.80/month (Large workloads)
72+
DB-DEV-S 2 vCPU, 2GB RAM €11.23/month (Development)
73+
DB-GP-S 8 vCPU, 32GB RAM €273.82/month (Small workloads)
74+
DB-GP-M 16 vCPU, 64GB RAM €547.24/month (Medium workloads)
7875
7976
Examples:
8077
$0 --env=prod --instance-type=DB-GP-S --confirm
@@ -321,12 +318,6 @@ provide_resize_recommendations() {
321318
echo " • Database size < 200GB recommended"
322319
echo " • Good balance of performance and cost"
323320
;;
324-
"DB-GP-L")
325-
echo " • High-performance production workloads"
326-
echo " • Max ~100+ concurrent connections"
327-
echo " • Database size < 500GB recommended"
328-
echo " • Maximum available performance tier"
329-
;;
330321
esac
331322

332323
# Downsizing warnings

scripts/lifecycle/setup.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -341,23 +341,23 @@ estimate_costs() {
341341
# Fallback cost estimation
342342
case "$ENVIRONMENT" in
343343
dev)
344-
log INFO "💰 Estimated monthly cost: €53.70"
345-
log INFO " - Cluster: €30.40 (2x GP1-XS)"
346-
log INFO " - Database: €12.30 (DB-DEV-S)"
344+
log INFO "💰 Estimated monthly cost: €155.09"
345+
log INFO " - Cluster: €132.86 (2x GP1-XS)"
346+
log INFO " - Database: €11.23 (DB-DEV-S)"
347347
log INFO " - Load Balancer: €8.90"
348348
log INFO " - Networking: €2.10"
349349
;;
350350
staging)
351-
log INFO "💰 Estimated monthly cost: €97.85"
352-
log INFO " - Cluster: €68.40 (3x GP1-S)"
353-
log INFO " - Database: €18.45 (DB-GP-S)"
351+
log INFO "💰 Estimated monthly cost: €694.35"
352+
log INFO " - Cluster: €409.53 (3x GP1-S)"
353+
log INFO " - Database: €273.82 (DB-GP-S)"
354354
log INFO " - Load Balancer: €8.90"
355355
log INFO " - Networking: €2.10"
356356
;;
357357
prod)
358-
log INFO "💰 Estimated monthly cost: €374.50"
359-
log INFO " - Cluster: €228.00 (5x GP1-M)"
360-
log INFO " - Database: €73.80 (DB-GP-M HA)"
358+
log INFO "💰 Estimated monthly cost: €1,992.34"
359+
log INFO " - Cluster: €1,372.40 (5x GP1-M)"
360+
log INFO " - Database: €547.24 (DB-GP-M HA)"
361361
log INFO " - Load Balancer: €45.60 (LB-GP-M)"
362362
log INFO " - Networking: €2.10"
363363
log INFO " - Storage: €25.00"

0 commit comments

Comments
 (0)