---

Alias: ["Nextcloud server", "Cloud Server"]
Tag: ["💻", "🌐", "🖥️", "🕵🏼", "🛡️", "☁️"]
Date: 2021-09-03
DocType: "Server"
Hierarchy: "NonRoot"
location: [48.8570517, 2.3677354]
Performance:
 CPU: 1Core
 RAM: 512MB
 Bandwidth: 500GB
 Speed: 1Gbps
Characteristics:
 OS: Ubuntu 20.04
 Domiciliation: BG
 IPv4: 82.118.235.70
 Hostname: sofstorage14
 Host: AlphaVPS
 SubDomain: cloud
Disk:
 Capa: 128GB
 Type: HDD
 UsedSpace: 25%
 TimeStamp: 2021-11-13
CollapseMetaTable: true

---

Parent:: [[mfxm Website Scope|mfxm.fr]], [[Storage and Syncing]]

---

 ^Top

 

```button
name Edit Server parameters
type command
action MetaEdit: Run MetaEdit
id EditMetaData
```
^button-CloudServerEdit

```button
name Save
type command
action Save current file
id Save
```
^button-CloudServerSave

 

# Cloud Server

 

```ad-abstract
title: Summary
collapse: open
Server for Cloud storage and device syncing.
```

 

```toc
style: number
```

 

---

 

### Server parameters
[[#^Top|TOP]]
 

```ad-quote
title: Dashboard access
[https://alphavps.com/clients/](https://alphavps.com/clients/)
```

 

```ad-quote
title: Address
The service is located under **[cloud.mfxm.fr](https://cloud.mfxm.fr)** .
```

 

---

 

### Service
[[#^Top|TOP]]
 

> [!abstract] Jellyfin
[[Jellyfin]] is a media management service offering a variety of Apps to manage media (video, music, photos) online.

 

#### Installation guide

```ad-info
title: Installation
[Tutorial](https://www.techrepublic.com/article/how-to-install-nextcloud-22-on-ubuntu-server-20-04/)
[Tutorial2](https://nextcloud.com/athome/)
[Tutorial3](https://blog.ssdnodes.com/blog/installing-nextcloud-docker/)
```

 

#### Installed dependencies
[[#^Top|TOP]]
 

##### Docker

Currently running Docker containers

```ad-bug
title:  docker containers
| **Name** | **ID** | **IP** | **Port**
|------|:---:|:--:|:---:
Jellyfin | e595821d7999 | 127.0.0.1 | 8096
```

 

##### Caddy
[[#^Top|TOP]]
[[Configuring Caddy|caddy]] is the webserver of choice. Refer to the dedicated note for config and parametrisation.

 

##### fail2ban
[[#^Top|TOP]]
Classic [[Configuring Fail2ban|fail2ban]] installation with a dedicated configuration:

```ad-code
~~~bash
[sshd]
enabled = true
port=7237
maxretry = 10
bantime = 1m
~~~
```

under the dedicated jail conf file:

```ad-command
~~~bash
sudo nano /etc/fail2ban/jail.d/sshd.local
~~~
```

 

Please refer to the [[Configuring Fail2ban|conf guide]] for a detailed description.

 

##### Postfix

Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Configuring Postfix|system]] is required for every server to work correctly.

&emsp

##### UFW

Firewall management, see [[Configuring UFW|here]] for more details.

 

---

 

#### Server-side monitoring
[[#^Top|TOP]]
[Monit](https://mmonit.com/monit/documentation/monit.html) is a process and daemon monitoring tool. More information on operating the software can be found [[Configuring Monit|here]].

List of monitored services:
- System
- SSH
- [[Configuring Fail2ban|Fail2ban]]
- cron
- Postfix

 

[[Configuring Telegram bots|Telegram bots]] are also being implemented to receive logs from logwatch & [[Configuring Monit|monit]].

 

---

 

#### Service management

Service management is simple and happens theough the dashboard accessible with the `admin` user.

 

---

 

#### Data transfer

 

##### Cloud2Cloud
[[#^Top|TOP]]
```ad-bug
title: Data transfer tool
[rclone](https://autoize.com/moving-data-from-cloud-to-cloud-with-rclone/)
```

rClone uses a simple config interface to configure remote hosts:

```ad-command
~~~bash
rclone config
~~~
```

The config data can be password-protected for security.

1. **Copy data**

```ad-command
~~~bash
rclone copy source:'datapath' dest:'datapath'
~~~
```

2. **Sync data**

```ad-command
~~~bash
rclone sync source:'datapath' dest:'datapath'
~~~
```

 

---

 

### Pricing
[[#^Top|TOP]]
 

<mark class="green">Cloud Server</mark> | One-off cost | Recurring subscription p.a.
--------|---------------|:----------------------:
<p style="color:cyan">**Server hosting**</p> | &emsp; | *€15*
^CloudServerCost

&emsp;

---

&emsp;

### Tasks & Further steps

&emsp;

- [ ] :cloud: [[Server Cloud]]: Backup server %%done_del%% 🔁 every 6 months on the 1st Tuesday 📅 2023-09-05
- [x] :cloud: [[Server Cloud]]: Backup server %%done_del%% 🔁 every 6 months on the 1st Tuesday 📅 2023-03-07 ✅ 2023-03-07
- [x] :cloud: [[Server Cloud]]: Backup server %%done_del%% 🔁 every 6 months on the 1st Tuesday 📅 2022-09-06 ✅ 2022-09-06
- [ ] :cloud: [[Selfhosting]], [[Server Cloud|Cloud]]: Upgrader & Health checks %%done_del%% 🔁 every 4 months 📅 2023-05-01
- [x] :cloud: [[Selfhosting]], [[Server Cloud|Cloud]]: Upgrader & Health checks %%done_del%% 🔁 every 4 months 📅 2023-01-01 ✅ 2022-12-31

[[#^Top|TOP]]

&emsp;
&emsp;