Quick-Start-Anleitung
Deployen Sie Ihre erste Serverless-Funktion in unter 5 Minuten. Keine Server, keine Konfiguration — nur Code.
Registrieren
Portal-Konto erstellen — Namespace und API-Key erhalten Sie sofort.
# Sign up at the portal — no CLI needed. # You receive: # namespace : your-ns # API key : sent as X-API-Key header # Set up your environment $ export NS="your-ns" $ export KEY="your-api-key" $ export API="https://fnc4.evrtng.cloud/provisioning"
Funktion erstellen
Erstellen Sie sie via API — eine Einzeldatei im code-Feld. Archive per URL + Builder oder OCI-Images: siehe Sprachen-Seite.
# Create a function (python) $ curl -X POST $API/v1/namespaces/$NS/functions \ -H "X-API-Key: $KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "hello", "environment": "python", "code": "def main(): return {'status': 200, 'body': 'Hello!'}" }' 201 Created
Trigger hinzufügen
Ein Trigger gibt der Funktion eine URL. Cron-Trigger führen sie nach Zeitplan aus.
# HTTP trigger — a URL for the function $ curl -X POST $API/v1/namespaces/$NS/triggers \ -H "X-API-Key: $KEY" \ -H "Content-Type: application/json" \ -d '{"name": "hello-http", "function": "hello", "type": "http", "url": "/hello", "method": "GET"}' 201 Created
Aufrufen
Ihre Produktions-URL — jeder Tenant bekommt seine eigene Subdomain mit TLS.
# Call it — your own URL, TLS included $ curl https://$NS.fnc4.evrtng.cloud/hello \ -H "X-API-Key: $KEY" {"body": "Hello, World!", "status": 200} # Cron trigger? Runs on a schedule: # {"type": "cron", "cron": "@every 1m"}
Überwachen
Aufruf-Historie und Event-Trail Ihres Kontos — Skalierung ist automatisch, Leerlauf kostet nichts.
# Invocation history $ curl "$API/v1/namespaces/$NS/activations?limit=5" \ -H "X-API-Key: $KEY" # Account events (audit trail) $ curl "$API/v1/namespaces/$NS/events" \ -H "X-API-Key: $KEY"
Cheat Sheet
# Functions $ curl $API/v1/namespaces/$NS/functions \ -H "X-API-Key: $KEY" # list $ curl -X PUT $API/v1/namespaces/$NS/functions/hello \ -d '{"code": "..."}' # update $ curl -X DELETE $API/v1/namespaces/$NS/functions/hello \ -H "X-API-Key: $KEY" # Triggers (http + cron) $ curl $API/v1/namespaces/$NS/triggers \ -d '{"type": "cron", "cron": "@every 1m"}' # Invoke (via management API) $ curl -X POST $API/v1/namespaces/$NS/functions/hello \ -H "X-API-Key: $KEY" # History + events $ curl $API/v1/namespaces/$NS/activations?limit=5 \ -H "X-API-Key: $KEY" $ curl $API/v1/namespaces/$NS/events \ -H "X-API-Key: $KEY"
FAQ
What is Managed Redis and what can I do with the free 12 MB?
Managed Redis ist ein Key-Value-Store in deinem Namespace — präfix-isoliert mit hartem Memory-Limit. Der Free-Plan enthält 12 MB kostenlos (im Dashboard aktivieren). Typische Nutzung: Response-/Fragment-Caching, Session-Storage, Rate-Limit-Counter, Feature-Flags und kurze Queues/Listen — grob 8–12k kleine Keys. Nicht für Bulk-Daten oder große Blobs. Bezahlte Größen bis 2 GB als Add-on.
How do I connect to Redis?
Im Dashboard aktivieren und die Verbindungs-URL kopieren (redis://user:pass@host:6379/0). Deine Keys müssen dein Namespace-Präfix tragen (your-ns:*) — serverseitig erzwungen. Jede Redis-Client-Bibliothek funktioniert.
