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 (External link) 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 (External link) on your local machine.
- Run the following command to build and install the plugin:
Copy
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 (External link).
Usage example
Before you start
To complete the following actions, you must have:
- A Scaleway account logged into the console (External link)
- Installed Docker (External link)
- Installed Terraform (External link) or OpenTofu (External link)
- Installed Waypoint (External link)
- Installed
jq(External link) - Installed the Waypoint plugin for Scaleway
- Clone the Waypoint plugin for Scaleway demo repository (External link) and enter the repository folder.
- Log into the Scaleway registry. If you are already logged in, you can skip this step.
Copy
docker login rg.fr-par.scw.cloud -u nologin -p ${SCW_SECRET_KEY} - Initialize a new Terraform/OpenTofu project.
Copy
terraform init - Create a Kubernetes cluster and container namespace.
Copy
terraform apply - Run the setup script to install a Waypoint server and automatically complete the
waypoint.hclconfiguration file with your container namespace information.Copy./setup.sh - Run the following command to connect to the Waypoint user interface.
Copy
waypoint ui -authenticate - Initialize a new Waypoint project.
Copy
waypoint init - Build and deploy your application on Scaleway's Serverless containers.
For more information about Waypoint, refer to the official Hashicorp Waypoint documentation (External link).Copy
waypoint up
Visit our Help Center and find the answers to your most frequent questions.
Visit Help Center