Jump toUpdate content

Quickstart

Reviewed on 26 May 2021Published on 26 May 2021

Scaleway Instances are computing units which provide you resources to run your applications. After you have created your Instance and installed your image of choice (e.g. an operating system), you can connect to it via SSH to use it as you wish. When you have finished with the Instance, you can delete it from your account.

Requirements:

How to Create an Instance

  1. Click Instances in the Compute section of the side menu. The Instance creation page displays.

  2. Click Create an Instance. The Instance creation wizard displays.

  3. Complete the following steps in the wizard:

    • Choose an Availability Zone, which is the geographical region where your Instance will be deployed.
    • Choose an Image to run on your Instance. This can be an operating system, an InstantApp or a custom image.
    • Choose an Instance type. Different Instance types have different prices, processing power, memory, SSD disks and bandwidth.
    • Add Volumes. This is an optional step. Volumes are storage spaces used by your Instances. You can leave the default settings of a minimum local storage, or choose to add more block or local storage to your Instance.
    • Enter a Name for your Instance, or leave the randomly generated name in place. Optionally, you can also add tags (/compute/instances/concepts#tags) to help you organize your Instance.
    • Click Advanced Options if you wish to configure a Flexible IP, a local bootscript or a cloud-init configuration. Otherwise, leave these options at their default values.
    • Verify the SSH Keys that will give you access to your Instance
    • Verify the Estimated Cost of your Instance, based on the specifications you chose.
  4. Click Create a new instance to finish. The creation of your Instance begins, and you are informed when the Instance is ready.

How to Connect to an Instance

How to connect from OSX (Mac) and Linux

  1. Open a terminal program.

  2. Enter the command below into the terminal. Make sure you replace your_private_key with the filename of your private key (often id_rsa) and your_instance_ip with the IP address of your Instance.

    ssh -i ~/.ssh/your_private_key root@your_instance_ip
  3. If / when prompted, allow connection to the host by typing yes, then press Enter.

    The authenticity of host 'myhost.ext (212.47.226.35)' can't be established.RSA key fingerprint is 4f:ba:65:cf:14:64:a7:1e:b6:07:7c:00:71:95:21:fa.Are you sure you want to continue connecting (yes/no)?

You are now connected to your Instance.

How to connect from Windows

To connect to your Instance from Windows, you will need to use a small application called PuTTy, an SSH client.

  1. Download and install PuTTy here

  2. Launch PuTTy on your computer.

  3. Enter your Instance’s IP address in the Hostname field.

  4. In the side menu, under Connection navigate to the Auth sub-category. (Connection —> SSH —> Auth)

  5. Click the Browse button and select the private key file you generated previously.

  6. Click Open at the bottom of the screen to open a connection to the Instance. PuttY asks you to allow the connection to the host.

  7. Click OK to confirm. The terminal window diplays.

  8. Enter the username root and press Enter to authenticate against the server with your SSH key.

You are now connected to your Instance.

How to Delete an Instance

Important:

Deleting an Instance will destroy all the volumes and data stored on that Instance. Note that your Instance must be powered off or stopped to be deleted.

  1. Click Instances in the Compute section of the side menu. The Instances page displays.

  2. Click the «See more Icon» icon next to the Instance you want to delete, and select Delete from the drop-down menu. A pop-up asks you to confirm the action.

  3. Type DELETE and then click Delete this instance.