Launch your first machine
A complete quick start, from an empty account to a machine you are signed in to over SSH or Remote Desktop.
In this quick start you create a machine, open it to your own computer only, and sign in to it with a key. Plan on about 15 minutes, most of it waiting for the machine to start.
You need a Superclouds account you can sign in to. If you don't have one yet, see Create your account.
1. Set up your account
Click Setup in the top bar. If it says Your account is Active., a prefix is already attached to you: go to step 3. Otherwise, add your billing email and a payment method as described in Set up your account, then carry on with step 2.
2. Create a prefix and attach it to yourself
Your machine lives in a prefix, and you can only work in prefixes attached to you. Skip this step if you already have one.
- Open Organization SettingsSuper PrefixesPrefixes and click Add Prefix.
- Type a name, for example
My first project, and click Add. - Open Organization SettingsSuper PrefixesPrefix Users and click Modify Prefix and Users Link.
- Pick your new prefix in Select Prefix and a role with full control (MANAGE or SUPER) in Select Role.
- Pick yourself in Users, click Add, then click Modify.
3. Allow SSH or Remote Desktop from your computer
A traffic profile is a set of firewall rules. You'll create one that lets only your computer reach the machine.
- Find your public IP address, for example by searching "what is my IP" in your browser.
- Open Traffic ProfilesTraffic Profiles and click Add Traffic Profile.
- Enter a Name, for example
ssh-from-home, and a Description. - Fill in the rule row as shown below.
- Click Submit.
| Field | Linux (SSH) | Windows (Remote Desktop) |
|---|---|---|
| Protocol | TCP | TCP |
| IP | Your IP with /32, e.g. 203.0.113.25/32 | Your IP with /32 |
| Port Range | 22:22 | 3389:3389 |
| Redirect Port Range | 22:22 | 3389:3389 |
| Direction | Inbound | Inbound |
0.0.0.0/0 lets anyone on the internet try to sign in. Use your own address with /32, and update the profile if your IP changes.
More in Traffic profiles.
4. Generate a key pair
- Open KeysKey Pairs and click Generate.
- Enter a Name, for example
my-laptop. Add a Passphrase if you want the private key protected by one. - Click Submit.
Your browser downloads a ZIP archive named keys-<Super Id>. If the file has no .zip extension, add it, then unzip it. Inside are private.pem (your private key) and public.pub. Keep private.pem safe: anyone with it can sign in to your machine.
More in Key pairs.
5. Create the machine
- Open Super MachinesMachines and pick your prefix in Prefix.
- Click Add Machine.
- Enter a name in Machine, for example
web-01. - Pick a Select Region close to you, and leave Tier on Standard.
- Pick an Image, for example an Ubuntu image (or a Windows image for Remote Desktop).
- Click Add.
You'll see Added and the machine appears as Creating. Wait until it shows Running: this takes a few minutes and the list updates by itself.
For every field and option, see Create a machine.
6. Attach the traffic profile and key pair
- Click the machine's card (or its Super Id in the list) to open its details.
- Open the Security/Access tab.
- Next to Traffic Profile, click Attach, pick
ssh-from-home, click Add, then click Save. - Next to Key Pairs, click Attach. Leave Username as
super, pickmy-laptopin Key Pairs, and click Attach.
Both now appear on the Security/Access tab.
7. Find the public IP
Open the General tab. The Public Ip card shows the machine's public address. Copy it.
8. Connect
Linux: SSH
On macOS or Linux, open a terminal in the folder with private.pem. On Windows 10 or later, use PowerShell. Make the key readable only by you, then connect:
chmod 600 private.pem
ssh -i private.pem super@<public-ip>
Replace <public-ip> with the address from step 7. The first time, type yes to trust the machine. If you set a passphrase, enter it when asked.
Windows: Remote Desktop
Open Remote Desktop Connection on your computer, enter the public IP, and sign in with the password shown on the General tab of the machine (use the copy icon). Change the password once you're in.
While the machine is running, you can reach it from your browser, without SSH or Remote Desktop: ActionGo to Console. See Open the browser console.
Troubleshooting
- The Machines screen shows a checklist. Your account setup isn't complete. See Set up your account.
- Your prefix isn't in the Prefix list. Check that it's attached to you (step 2), then open Super MachinesMachines again from the sidebar to reload the list.
- The connection times out. Check that the traffic profile is attached, that its IP matches your current public IP, and that the port is right (22 for SSH, 3389 for Remote Desktop).
- "Permission denied (publickey)". Check that you used
super@, the rightprivate.pem, and that the key pair is attached on Security/Access. - "UNPROTECTED PRIVATE KEY FILE!" Run
chmod 600 private.pemand try again.
What happens next
- Resize, stop, start or terminate your machine: Manage machines.
- Save its disk: Snapshots and monitoring.
- Invite your team: Users and roles.