ControlRoom lists your Scaleway instances, starts and stops them, and shows what your organization costs this month. It talks only to Scaleway's API, with an API key you create.
Use a key that belongs to an IAM application made for ControlRoom, not your personal key. That way the app can do only what you allow, and you can revoke it at any time without touching anything else.
With the Scaleway CLI set up, these commands create the application, give it the permission sets below for all current and future projects (billing in a rule of its own, as Scaleway requires), and print the secret key and organization ID to paste into the app. The app shows the same commands with a Copy button under Add API key; with the same Apple account, copying on the iPhone and pasting in Terminal on a Mac just works. Leave out any permission set you do not want the app to have.
ORG=$(scw config get default-organization-id)
APP=$(scw iam application create name=controlroom description="ControlRoom iPhone app" -o template="{{ .ID }}")
scw iam policy create name=controlroom application-id=$APP \
rules.0.organization-id=$ORG \
rules.0.permission-set-names.0=InstancesFullAccess \
rules.0.permission-set-names.1=AllProductsReadOnly \
rules.1.organization-id=$ORG \
rules.1.permission-set-names.0=BillingReadOnly &&
scw iam api-key create application-id=$APP description=controlroom &&
echo "Organization ID: $ORG"
controlroom.InstancesFullAccess for the projects whose instances you want to start and stop. Use InstancesReadOnly to only look.BillingReadOnly at organization level, to see costs.AllProductsReadOnly, to list serverless apps and every other resource (databases, volumes, IPs, domains, secrets and the rest) and read their logs and metrics from Cockpit. Narrower sets work too: for example ContainersReadOnly, FunctionsReadOnly, ServerlessJobsReadOnly and ObservabilityReadOnly for serverless with its logs and metrics only. Listing secrets shows their names, never their values.Repeat for each organization. When two keys can see the same instance, the app shows it once and uses whichever key is allowed to start or stop it.
Serverless containers and functions send their logs and metrics to Cockpit by themselves, jobs their logs. Open the app in the Serverless tab and tap Logs or Metrics. The app lists every metric Cockpit has for the app and charts the one you tap; counters are shown as a rate per second.
Instances do not. An agent on the instance has to push them to Cockpit; once it does, they show up in the app. The quickest way: open the instance in the app and tap Logs or Metrics. It shows three blocks of commands, filled in for that instance, each with a Copy button:
Or by hand in the console:
ObservabilityFullAccess). Do not reuse the key in the app./etc/alloy/config.alloy, lets only Alloy read it, and enables and restarts Alloy, so it also starts after a reboot.The configuration labels every line with the instance's ID (resource_id), which is how the app finds them. Logs you push yourself are billed by Scaleway as Cockpit custom data.
The Android app is on its way to Google Play. Until it is there, you can test it now: join the tester group and install it from Google Play, as the test page explains. It takes two minutes. Android 9 or later is needed.
Does stopping an instance stop all of its costs?
It stops the compute billing. Volumes and flexible IPs stay and are still billed.
Why do my costs differ from my invoice?
The figures come from Scaleway billing and exclude VAT. Scaleway updates them a few times a day, so the last hours may be missing. The invoice is the final word.
A key shows an error.
Scaleway rejected it: it may have expired, been deleted, or lack a permission. Check the policy of its application in the console. The other keys keep working.
How do I remove a key?
Tap it in Settings. That deletes it from your phone; to make it useless everywhere, also delete it in the Scaleway console.
Can I try the app without a Scaleway account?
Yes: tap Try the demo. It shows made-up instances and costs, and you can start and stop them.
Is this an official Scaleway app?
No. ControlRoom is an independent app. It is not made, endorsed or supported by Scaleway, so please send questions about the app to the address below, not to Scaleway.
Anything else? Email pim@vandijkcloud.nl — please mention your app version (shown in Settings).