How to Monitor Scaleway Infrastructure with Vigilmon
Scaleway is Europe's leading cloud provider, offering compute instances, object storage, managed databases, container registries, and serverless functions — all at competitive prices. Whether you're running a single VPS or a multi-region Kubernetes cluster, monitoring your Scaleway infrastructure is critical for reliability.
This guide shows you how to monitor Scaleway-hosted applications using Vigilmon.
What to Monitor on Scaleway
| Resource | What to check |
|---|---|
| Instances (DEV1, GP1, etc.) | HTTP availability, response time |
| Managed databases | App-level DB health check |
| Kubernetes (Kapsule) | Ingress endpoint availability |
| Serverless Functions | HTTP endpoints |
| Load Balancers | LB endpoint HTTP check |
| Object Storage (S3-compatible) | API endpoint availability |
Step 1: Monitor Your Scaleway Instance
For any application running on a Scaleway instance, add a health endpoint to your app (see framework-specific guides for Node.js, Python, Go, etc.) and then register it in Vigilmon.
Example for a simple Node.js app on a Scaleway DEV1-S:
// server.js
const http = require('http');
const server = http.createServer((req, res) => {
if (req.url === '/health') {
res.writeHead(200, { 'Content-Type': 'application/json' });
res.end(JSON.stringify({ status: 'ok', timestamp: Date.now() }));
return;
}
// ... your app logic
});
server.listen(3000, '0.0.0.0');
In Scaleway's console, ensure port 3000 (or 80/443) is allowed in your Security Group.
Step 2: Monitor Scaleway Managed Database
Vigilmon can't connect directly to a Scaleway managed PostgreSQL or MySQL — but your application can report database health:
# Flask example on Scaleway
from flask import Flask, jsonify
import psycopg2
import os
app = Flask(__name__)
@app.route('/health')
def health():
try:
conn = psycopg2.connect(os.environ['DATABASE_URL'])
conn.close()
return jsonify({'status': 'ok', 'db': 'ok'})
except Exception as e:
return jsonify({'status': 'error', 'db': str(e)}), 503
Step 3: Monitor Scaleway Kubernetes (Kapsule)
For Kubernetes clusters on Scaleway Kapsule, monitor your ingress endpoint:
# k8s/healthcheck-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
spec:
template:
spec:
containers:
- name: myapp
image: rg.nl-ams.scw.cloud/myorg/myapp:latest
livenessProbe:
httpGet:
path: /health
port: 8080
periodSeconds: 30
readinessProbe:
httpGet:
path: /health
port: 8080
periodSeconds: 10
Then register your Kapsule Load Balancer IP or domain in Vigilmon:
- URL:
https://your-kapsule-lb.k8s.fr-par.scw.cloud/health - Expected status: 200
Step 4: Monitor Scaleway Serverless Functions
Scaleway Serverless Functions get a unique HTTPS URL. Monitor it directly:
https://your-function.functions.fnc.fr-par.scw.cloud
Add a health-check namespace to your function:
# handler.py
def handle(event, context):
if event.get('path') == '/health':
return {
'statusCode': 200,
'body': '{"status": "ok"}'
}
# ... main function logic
Step 5: Add Monitors in Vigilmon
- Sign up at vigilmon.online
- For each Scaleway resource, add an HTTP Monitor:
-
Instance:
http://YOUR_IP:PORT/health -
Load Balancer:
https://your-lb-domain/health -
Serverless Function:
https://your-fn.scw.cloud/health
-
Instance:
- Set check interval: 1 minute
- Configure alerts: email + Slack (or webhook to your incident system)
Monitoring Multiple Scaleway Regions
Scaleway offers regions in Paris (fr-par), Amsterdam (nl-ams), and Warsaw (pl-waw). If you're running multi-region:
- Add a monitor per region endpoint
- Use Vigilmon's multi-location checking to detect region-specific outages
- Compare response times across regions
Conclusion
Scaleway's European cloud infrastructure powers thousands of startups and enterprises. Vigilmon gives you simple, reliable external monitoring for any Scaleway-hosted workload — no agent required, no complex configuration.
Start monitoring your Scaleway infrastructure free at vigilmon.online
Top comments (0)