Skip to content

Commit 477cf9b

Browse files
Add Exoscale information
1 parent 49c9ced commit 477cf9b

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

sphinx/server_management/exoscale.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Exoscale Hosted Instances
2+
3+
We host sensitive data for various Swiss institutions on a secure cloud service known as [Exoscale](https://www.exoscale.com/).
4+
5+
The decision to opt for Exoscale was based on a recommendation from Muséum d'histoire naturelle Geneva. Operating from Switzerland, Exoscale makes sure that the data remains securely within the country's borders, meeting the strict data residency requirements in place by the Swiss government.
6+
7+
To learn about the backup process we use on Exoscale, see [this document](/sphinx/server_management/exoscale_backups.md).
8+
9+
At the time of writing this (2024-08-14), we manage two compute instances, both in the Geneva zone, both using the `ubuntu` user as the primary account:
10+
11+
## `assets-swiss-1`
12+
13+
This instance is only running an instance of the [web-asset-server](https://github.com/specify/web-asset-server) locally.
14+
The asset server key and other information about the specific configuration is available at `/home/ubuntu/web-asset-server/settings.py`.
15+
16+
### Service Status
17+
18+
You can check the status of the asset server by running the following command:
19+
20+
```sh
21+
ubuntu@assets-swiss-1:~/web-asset-server$ systemctl list-units --type=service | grep web-asset-server
22+
web-asset-server.service loaded active running Specify Web Asset Server
23+
```
24+
25+
### Check the Logs
26+
27+
To view the logs for the asset server, use the following command:
28+
29+
```sh
30+
ubuntu@assets-swiss-1:~/web-asset-server$ journalctl -u web-asset-server.service
31+
```
32+
33+
This command will display the logs related to the `web-asset-server.service`, allowing you to troubleshoot any issues.
34+
35+
### Restarting the Service
36+
37+
If you need to restart the asset server, you can do so with the following command:
38+
39+
```sh
40+
ubuntu@assets-swiss-1:~/web-asset-server$ sudo systemctl restart web-asset-server.service
41+
```
42+
43+
After restarting, you may want to check the status again to ensure it is running properly.
44+
45+
## `sp7cloud-swiss-1`
46+
47+
This server hosts [docker-compositions](https://github.com/specify/docker-compositions/tree/production/specifycloud) specifycloud-style deployments. They are managed in the same manner as the other AWS instances, so no special configuration here.
48+
49+
The `docker-compose.yml` and `spcloudservers.json` files are available at `/home/ubuntu/docker-compositions/specifycloud`.
50+
51+
When changes are made to the `spcloudservers.json` file, run `make` as `ubuntu` to update the appropriate files.

0 commit comments

Comments
 (0)