OpenBSD on CloudSigma - Easy Installation with Wizard Menu
Tags: vps, cloudsigma, openbsd, installation
Published: 2019-03-25 09:29:09

---
title: OpenBSD on CloudSigma - Easy Installation with Wizard Menu
published: true
description: 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.
tags: vps, cloudsigma, openbsd, installation
series: CloudSigma OpenBSD
---

In order to build servers in [CloudSigma](https://www.cloudsigma.com/), 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](https://www.openbsd.org/) servers with the menu.
Basically, the wizard asks how the server should be.

<center>✿ ✿ ✿</center>

### \#1. Start Page and Entry Button

Open "Computer" page, and click "Wizard" button.

![start menu](https://thepracticaldev.s3.amazonaws.com/i/15ozc0c4orue5ty5ta6i.png)

### \#2. Steps

#### Step 1/3: Choose Machine Plan

![machine spec](https://thepracticaldev.s3.amazonaws.com/i/7r890n6du5erq50n8774.png)

#### Step 2/3: Choose OS

OpenBSD options are hidden by default:

![default os](https://thepracticaldev.s3.amazonaws.com/i/ourokontjokwed3vdh3z.png)

Click "Others" and all servers which are avairable will be shown:

![all os](https://thepracticaldev.s3.amazonaws.com/i/fr0s0ewo0avbne5k8nwx.png)

[OpenBSD 6.4](https://www.openbsd.org/64.html), 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](https://cloudinit.readthedocs.io/en/latest/) is also available as needed.)

![access control](https://thepracticaldev.s3.amazonaws.com/i/vmsadbea7stfgx5ni67b.png)

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.

![generate ssh key](https://thepracticaldev.s3.amazonaws.com/i/svtdny03445ts316l86f.png)

##### Case 2: Using Existing Key

If you have some keys which `ssh-keygen` command or something else generates, it's possible to use them.

![use existing key](https://thepracticaldev.s3.amazonaws.com/i/7pt4ymd0o5ph9eiiik66.png)

### \#3. Creation Process

When clicking "Create" button, the create process starts.

![creation process](https://thepracticaldev.s3.amazonaws.com/i/s8aa43iry5r5r8g2niee.png)

### \#4. Completion

Wait a short while, and you will see the results like this:

![completion](https://thepracticaldev.s3.amazonaws.com/i/tq3gjwbl63eua3fe9q0x.png)

Notice that the user and the password are shown.

#### Install Notes

It's like this:

![install notes](https://thepracticaldev.s3.amazonaws.com/i/apfzl9eu6dr195qktpir.png)

### \#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).

![vpc connection](https://thepracticaldev.s3.amazonaws.com/i/zp2bem3g9v9powzi519s.png)

##### Case 2: SSH

You can also connect the host via SSH:

```shell-session
$ 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.
```

<center>✿ ✿ ✿</center>

Happy computing :)