Configuring Scaleway plugins for Waypoint
Waypoint is an open source tool developed by HashiCorp that focuses on simplifying the deployment and release workflows for applications.
The main goal of Waypoint is to abstract away the complexities of different deployment targets and provide a consistent interface for developers and operators. It allows developers to deploy, manage, and observe their applications using a simple and declarative configuration file. The tool works with Nomad, Kubernetes, ECS, and many other platforms.
Waypoint plugins for Scaleway
We provide plugins for Waypoint, that add support for Scaleway.
Currently, the only plugin available is container
.
Plugin installation
From releases
- Download the zip of the latest version for your architecture.
- Unzip the plugin by running the following command:
unzip waypoint-plugin-scaleway-container_*.zip -d ~/.config/.waypoint/plugins/
.
From sources
- Clone the Waypoint plugin repository on your local machine.
- Run the following command to build and install the plugin:
make all install
Plugin usage
Add the following block to your Waypoint configuration to use the Scaleway plugin.
deploy {
use "scaleway-container" {
port = 80
namespace_id = "<YOUR_SCALEWAY_NAMESPACE_ID>"
region = "fr-par"
}
}
A list of all options can be found in container plugin documentation.
Usage example
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Installed Docker
- Installed Terraform or OpenTofu
- Installed Waypoint
- Installed
jq
- Installed the Waypoint plugin for Scaleway
- Clone the Waypoint plugin for Scaleway demo repository and enter the repository folder.
- Log into the Scaleway registry. If you are already logged in, you can skip this step.
docker login rg.fr-par.scw.cloud -u nologin -p ${SCW_SECRET_KEY}
- Initialize a new Terraform/OpenTofu project.
terraform init
- Create a Kubernetes cluster and container namespace.
terraform apply
- Run the setup script to install a Waypoint server and automatically complete the
waypoint.hcl
configuration file with your container namespace information../setup.sh
- Run the following command to connect to the Waypoint user interface.
waypoint ui -authenticate
- Initialize a new Waypoint project.
waypoint init
- Build and deploy your application on Scaleway's Serverless containers.
For more information about Waypoint, refer to the official Hashicorp Waypoint documentation.
waypoint up
Visit our Help Center and find the answers to your most frequent questions.
Visit Help Center