In order to build servers in CloudSigma, I think it is a simple and easy way to use the "Wizard" menu in the "Computer" page.
This post will show how to create OpenBSD servers with the menu.
Basically, the wizard asks how the server should be.
#1. Start Page and Entry Button
Open "Computer" page, and click "Wizard" button.
#2. Steps
Step 1/3: Choose Machine Plan
Step 2/3: Choose OS
OpenBSD options are hidden by default:
Click "Others" and all servers which are avairable will be shown:
OpenBSD 6.4, the latest version, is available!
Thankfully, it's been upgraded since last November :)
Step 3/3: Configure Access Control and CloudInit
You can add SSH keys if neccessary.
(CloudInit is also available as needed.)
There are two ways to add SSH keys.
Besides, the keys may be added after installation.
Case 1: Generating Key
You can use the service function CloudSigma supports.
Case 2: Using Existing Key
If you have some keys which ssh-keygen
command or something else generates, it's possible to use them.
#3. Creation Process
When clicking "Create" button, the create process starts.
#4. Completion
Wait a short while, and you will see the results like this:
Notice that the user and the password are shown.
Install Notes
It's like this:
#5. Starting Administration
O.K. The server is ready.
Let's connect to the host.
Connection
Case 1: VPC
Click "Open VPC" in the completion page (or "Computer" detail pages).
Case 2: SSH
You can also connect the host via SSH:
$ ssh %host% -l %username%
In my case, %username% was cloudsigma
.
You will get the welcome message and be asked to enter the password:
Welcome to CloudSigma!
Root account login is restricted, please use default credentials which
can be found in the Install notes. Install notes can be viewed in the
Webapp, choose Storage -> Drives, click on the OS image and then
Install Notes. Under "Initial Credentials" you will find the username
and the password. For root privileges use "sudo" command.
For example:
sudo su - Change to root user until the session is closed
When SSH key is used for authentication, local login (VNC) is disabled.
If you want to use local login, log in through SSH and type:
sudo passwd cloudsigma
You can read this message again by typing:
cat /home/cloudsigma/welcome
cloudsigma@%host%'s password:
When entering the password, you'll get the OpenBSD's greetings:
OpenBSD 6.4 (GENERIC.MP) #999: %datetime%
Welcome to OpenBSD: The proactively secure Unix-like operating system.
Please use the sendbug(1) utility to report bugs in the system.
Before reporting a bug, please try to reproduce it with the latest
version of the code. With bug reports, please try to ensure that
enough information to reproduce the problem is enclosed, and if a
known fix for it exists, include that as well.
Then you'll be asked to change the password for the first time:
You must change your password!
Changing password for cloudsigma.
Old password:
New password:
Retype new password:
Connection to %host% closed.
Happy computing :)