You can find examples using all the deployment methods shown on this page in our Serverless Examples repository.
Methods to deploy Serverless Jobs
Serverless Jobs can be deployed and managed using several tools. This page aims at helping you find the right tool for your use case.
Scaleway console
The Scaleway console is the easiest way to get started.
The console allows you to easily create a job definition and track your job runs. You can also monitor your jobs using Scaleway Cockpit.
Terraform
You can easily integrate Serverless Jobs to your infrastructure as code, via our Terraform provider and resources.
API
The Scaleway HTTP API lets you manage your Serverless resources via HTTP calls.
The HTTP API can be useful when integrating jobs management into your automated tasks, continuous integration, and more custom use cases.
CLI
The Scaleway CLI is a simple command line interface that allows you to create, update, delete and list your Serverless Jobs.
The dedicated documentation is available in the Scaleway CLI repository.
Below is an example of using the CLI to deploy a job:
scw jobs definition create name=testjob cpu-limit=70 memory-limit=128 image-uri=docker.io/alpine:latest command=ls
Scaleway SDKs
The Scaleway SDKs allow you to manage your resources directly using your favorite languages.
The available SDKs are:
- Go SDK (documentation - repository)
- JS SDK (documentation - repository)
- Python SDK (documentation - repository)