You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/power-on-off-instances-jobs/index.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
meta:
3
-
title: Power on and off your Instance with Serverless Jobs and the Scaleway CLI
3
+
title: Power your Instance on and off with Serverless Jobs and the Scaleway CLI
4
4
description: This step-by-step tutorial will help you automate the startup and shutdown of your Instance using Serverless Jobs and the Scaleway CLI
5
5
content:
6
-
h1: Power on and off your Instance with Serverless Jobs and the Scaleway CLI
6
+
h1: Power your Instance on and off with Serverless Jobs and the Scaleway CLI
7
7
paragraph: This step-by-step tutorial will help you automate the startup and shutdown of your Instance using Serverless Jobs and the Scaleway CLI
8
8
tags: serverless jobs instance cli turn on off power start stop reboot
9
9
categories:
@@ -13,7 +13,7 @@ dates:
13
13
validation: 2025-06-09
14
14
posted: 2025-06-09
15
15
---
16
-
[Scaleway Serverless Jobs](/serverless-jobs/quickstart/) allows you to create and automate recurring tasks. This tutorial will guide you through the process of powering on and off a [Scaleway Instance](/instances/quickstart/) on a recurring schedule using a Serverless Job.
16
+
[Scaleway Serverless Jobs](/serverless-jobs/quickstart/) allows you to create and automate recurring tasks. This tutorial will guide you through the process of powering a [Scaleway Instance](/instances/quickstart/) on and off, on a recurring schedule using a Serverless Job.
17
17
18
18
Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not need autoscaling or exposure via a web server. Refer to the [documentation on differences between jobs, containers, and functions](/serverless-jobs/reference-content/difference-jobs-functions-containers/) for more information.
19
19
@@ -46,7 +46,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
46
46
-`SCW_SECRET_KEY`: your API secret key.
47
47
-`SCW_DEFAULT_PROJECT_ID`: your Project ID.
48
48
-`SCW_DEFAULT_ORGANIZATION_ID`: your Organization ID.
49
-
-`SCW_DEFAULT_REGION`: concerned region.
49
+
-`SCW_DEFAULT_REGION`: the preferred region.
50
50
51
51
<Messagetype="note">
52
52
We recommend using Secret Manager to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`.
@@ -83,7 +83,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
83
83
-`SCW_SECRET_KEY`: your API secret key.
84
84
-`SCW_DEFAULT_PROJECT_ID`: your Project ID.
85
85
-`SCW_DEFAULT_ORGANIZATION_ID`: your Organization ID.
86
-
-`SCW_DEFAULT_REGION`: concerned region.
86
+
-`SCW_DEFAULT_REGION`: the preferred region.
87
87
88
88
<Messagetype="note">
89
89
We recommend using Secret Manager to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`.
@@ -101,7 +101,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
101
101
102
102
## Testing the jobs
103
103
104
-
According to the current state of your Instance, Run either the **Power on** or **Power off** job first.
104
+
According to the current state of your Instance, run either the **Power on** or **Power off** job first.
105
105
106
106
From the **Overview** tab of each Serverless job you just created, click **Actions**, then select **Run job** from the contextual menu.
107
107
@@ -113,7 +113,7 @@ This tutorial is a lightweight example of how to manage the power cycle of an In
113
113
- Using it to manage all your Instances' power cycles
114
114
- Using Jobs to create [snapshots of your Instances](/tutorials/snapshot-instances-jobs/)
115
115
- Setting up an alerting system in case of unexpected behavior
116
-
-Explore[scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for advanced automation examples
116
+
-Exploring[scaleway/serverless-examples repository](https://github.com/scaleway/serverless-examples) for advanced automation examples
0 commit comments