All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
how to set a 1C 1G ram 1G disk at roughly €0.20/m
someone asked me how to use a cheap vps for setting up monitoring programs.
scaleway stardust is good option.
However, the default instance created has a 10G disk.
Here are some steps how to minimize it. it only costs roughly €0.20 / month.
Let' go.
register account in scaleway
Set up SSH Key
In the top-right corner, click on your profile picture, then select "SSH keys".
Create a new SSH key.
- Create an Instance
In the top-right corner, click on "CLI".
Enter one of the following commands based on the region you want to use.
Note: Stardust instances are only available in the following three zones. Be careful not to make a typo in the command.
France (Paris):
scw instance server create zone=fr-par-1 root-volume=local:10GB name=fr type=STARDUST1-S ipv6=true ip=none
Netherlands (Amsterdam):
scw instance server create zone=nl-ams-1 root-volume=local:10GB name=nl type=STARDUST1-S ipv6=true ip=none
Poland (Warsaw):
scw instance server create zone=pl-waw-2 root-volume=local:10GB name=pl type=STARDUST1-S ipv6=true ip=none
If the command is correct, it will return server information. If it returns various garbled parameters, you have made a mistake and should try again.
Important: After successful creation, check the instance's configuration. If you forget the type=STARDUST1-S parameter, a much larger and more expensive instance will be created, it costs more.
- Initial Configuration
Add IPv6 Address:
On the left menu, click "CPU & GPU Instances".
Click "Create flexible IP" and create a free IPv6 address.
Add Firewall Rules:
On the left menu, click "CPU & GPU Instances" and select your server.
Go to the "Security group" tab.
Enter the security group, go to the "Rules" tab.
On the right, edit the rules to add "Accept" rules for all inbound and outbound protocols.
- Disk Management
Shut Down from the Panel:
Go to "CPU & GPU Instances" on the left menu.
Click on the newly created instance to enter its management panel.
Turn off it, the switch is in the top-right corner, power off the instance.
Detach the 10GB Volume:
In the instance management panel, go to the "Storage" tab.
Click the three dots to the right of the volume and select "Detach".
Delete the 10GB Volume:
On the left menu, go to "Storage" -> "Local Storage".
Click the three dots to the right of the old 10GB volume and select "Delete".
Create a new 1GB Local Volume:
From the top menu, create a new "Local storage" volume in the same availability zone as your instance.
Set the size to 1GB.
Attach it to the instance you created earlier.
- Install Alpine Linux via Rescue Mode
Enter Rescue System:
In the instance management panel, go to the "Advanced settings" tab.
Select "Use rescue image" and save.
Turn the instance on using the switch in the top-right corner.
Be patient and wait about 5 minutes after booting up, sometimes it maybe sooner.
Connect and Write Image:
Connect to the instance via SSH using the key you created.
Execute the following commands:
Create a GPT partition table on the virtual disk
parted /dev/vda mklabel gpt
Download and write the Alpine Linux image to the disk
wget -qO- https://dl-cdn.alpinelinux.org/alpine/v3.22/releases/x86_64/alpine-virt-3.22.0-x86_64.iso | dd of=/dev/vda
Change Boot Settings:
Shut down the instance from the web panel , don't execute the poweroff command, it causes bugs.
In the instance management panel, go to the "Advanced settings" tab.
Select "Use local boot" and save.
For "Boot volume," choose the 1GB volume you created and save.
Power on the instance.
Prepare for Installation (via Console):
In the instance management panel, access the "Console" from the top-right corner.
Log in as root.
Execute the following pre-installation commands:
mkdir /media/setup
cp -a /media/vda/* /media/setup
mkdir /lib/setup
cp -a /.modloop/* /lib/setup
/etc/init.d/modloop stop
umount /dev/vda
mv /media/setup/* /media/vda/
mv /lib/setup/* /.modloop/
- Run the Alpine Installer
Run the installer:
setup-alpine
Follow the prompts:
Select a keyboard layout: [Enter your hostname]
Initialize network interface: eth0. When asked to Initialize the eth0 interface, type done.
Setup networking: When asked Do you want to do it now?, enter y. Then press i to enter edit mode and input the following configuration. Your IPv6 address and gateway can be found in the instance management panel. After editing, press Esc, then type :wq and press Enter to save.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
iface eth0 inet6 static
address YOUR_IPV6_ADDRESS
netmask 64
gateway YOUR_IPV6_GATEWAY
Set root password: Create a new password for the root user.
Select timezone: Enter your timezone (e.g., Europe/Paris, Europe/Amsterdam, Europe/Warsaw).
Proxy: none
NTP client: skip
Mirror: no
SSH server: openssh
Allow root SSH login: yes
SSH key: none
Which disk(s) would you like to use? vda
How would you like to use it? sys
After an error occurs:
Enable the official repositories by running these commands:
echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/main" >> /etc/apk/repositories
echo "http://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories
echo "#http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
echo "#http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
echo "#http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
Install bootloader components:
apk update
apk add dosfstools
apk add grub-efi
- Finalize Installation
Finalize Disk Setup:
Run the disk setup utility to disable swap:
setup-disk -s 0
Answer the prompts:
Available disks are: vda
How would you like to use it? sys
ERASE THE DISK AND CONTINUE? y
Reboot:
reboot
- Now it's time to enjoy your stardust vps.


Comments
bd
@igctt Congrats!
have you tried get one instance of stardust?
yes, but my card not support.
Is there a specific advantage to installing Alpine on a 1 GB Local volume instead of keeping the 10 GB Block Storage?
saving disk cost ig
Don't forget to add nameservers for dns resolutions
Local storage (NVMe) are cheaper and much faster than 5k block storage
how much even is a ipv4 on SW
Dang thats a superb tutorial. I still don't need paid vps since my oracle free tier are still going strong since 2019. I think mine even got port 25 unblocked since its an old account. But I'm bookmarking this in case i want to play with stardust later.
TL;DR
sorry I don't try to get an ipv4 tho.