Skip to content

Commit

Permalink
Cloudron
Browse files Browse the repository at this point in the history
  • Loading branch information
bmann committed Jan 2, 2024
1 parent 9bbd46b commit 40e58fb
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 2 deletions.
76 changes: 76 additions & 0 deletions _notes/Cloudron.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
---
[Cloudron](https://www.cloudron.io/?refcode=b90d0ee382ac47ba) is a complete solution for running apps on your own server.

It fits into a category of [[selfhosting]] -- you provide the server either at home or in the cloud, and Cloudron helps you manage the entire server including installing and updating apps, managing DNS, running email, backups, operating system updates, user accounts, and so on.

The [about page](https://www.cloudron.io/about.html) also uses the term [[private cloud]].

It's designed to run on Ubuntu LTS versions.

I run [[Commons Computer]] as my personal Cloudron instance.
## License
The Cloudron code itself is source-available, with a [subscription license](https://www.cloudron.io/legal/license.html) required if you want to self host more than 2 apps and have full access to all features like email.

The team creates, contributes to, and directly supports a [number of open source packages](https://www.cloudron.io/opensource.html). All of the app packages that are deployed on Cloudron are open source.

A number of app packages they support installing (e.g. Atlassian Confluence, Outline, Cal.com) have various non-commercial / subscription required licenses as well.
## Cost

* Cloudron license: $15/month, paid annually
* Backup: $5USD/month
* Hosting: $11USD/month

Total: $31USD per month, $372USD per year.

For many services like email ($5-$10/user/month), file sharing ($5-$10/user/month), calendaring ($5-$10/user/month), you can quickly see that ~5 users.

That does assume someone willing to do basic Cloudron admin. You don't need to use the command line, but you do need to be familiar with DNS, email, and other services with API keys and relatively technical settings.
### Backup

[[Digital Ocean]] has [Spaces storage starting at $5](https://www.digitalocean.com/products/spaces) for up to 250GB. [Cloudron lists all of the storage providers they support](https://docs.cloudron.io/backups/).
### Hosting
#### OVH Bare Metal Servers
For [[CoSocial]], I wanted to keep hosting in Canada. OVH has a data center in Quebec and low cost bare metal servers.

Example OVH for $29.99CAD/month
* Intel Xeon E3-1245v2 - 4 c / 8 t - 3.4 GHz / 3.8 GHz
* Memory: 32 GB DDR3
* Storage: 2 x 480 GB SSD SATA Soft RAID

A bare metal server will be able to host many more apps than a VPS, but it's also a single point of failure: if something goes wrong with the hardware of that server, that's your problem.

#### Hostinger VPS

![[hostinger-vps-plans-screenshot.png]]

For the difference in price, I'd recommend at least the KVM 4 with 16GB RAM. Those are USD prices. You can use my referral code for one-click Cloudron installs on a [Hostinger VPS](https://hostinger.com?REFERRALCODE=1BORIS58)
#### Home Hosting
I'd love to try running a Cloudron install at home, but it all seems quite a bit trickier. You're still looking at a ~$500 mini server purchase, which is like 2 - 3 years of VPS hosting costs!

### DNS and Domains

You'll need at least one domain name and more likely will have at least 2, so add another $10 - $30 per year in domain registration fees.

Cloudron will automatically [manage all your DNS settings for you](https://docs.cloudron.io/domains/) if you add them using a registrar that supports API access.
### Email

For production services of things like mailing lists, you may have trouble with deliverability of self-hosted email. You can [setup SMTP relay](https://docs.cloudron.io/email/#relay-outbound-mails) from a number of different providers. Any provider that provides SMTP services will work.

There are some apps (like Ghost) that [require Mailgun](https://docs.cloudron.io/apps/ghost/#bulk-emails) for their subscription services.

Example starter pricing: Postmark $15USD/month, Mailgun is free for up to 10,000 emails and the first paid plan is $35USD/month for up to 50K emails.

## Apps
The [Cloudron store lists all the apps they support](https://www.cloudron.io/store/index.html). It uses [[Docker]] images to package apps, but then runs centrally managed services like database, redis, files, email, etc.

## Things to use Cloudron for

Discourse

Mastodon

Nextcloud

Email

1 change: 1 addition & 0 deletions _notes/Commons Computer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
My personal shared [[Cloudron]] install. The [Discourse forum at commonscomputer.com](https://commonscomputer.com) has more info and updates.
4 changes: 2 additions & 2 deletions _notes/journal/2024-01-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ I _want_ the type of graph structure that [[LogSeq]] and other advanced systems
But! Pages of Markdown on disk does accurately describe what I do when I'm working on this site, especially on desktop.

We're also using Obsidian at [[Fission]] as of December 2023, for our product planning process. We bought licenses for the whole team and are using git for [[multiplayer]].

## IndieKit

I've gone back and forth on using [[IndieKit]]. The main thing it brings is a [[Micropub]] interface for mobile posting to this site. And with LogSeq not really working for me for that, and Noosphere not being quite ready, maybe I bring back journals here.
Expand All @@ -32,8 +31,9 @@ What about my [notes site](https://notes.bmannconsulting.com) powered by [[LogSe

The other other thing I meant to do over the holidays was install the commandline [[Noosphere]] tooling. I'm in the beta, so have the [[Subconscious]] iOS app, and being able to perhaps use Noosphere for syncing between desktop and mobile would be good, without doing the [[Working Copy]] git client on my phone.

And finally, I have a [shared bookmarking service Linkding installed on Commons Computer](https://commonscomputer.com/t/linkding-installed/25). You can browse [shared bookmarks here](https://links.commonscomputer.com/bookmarks/shared). Do I need another place to stash bookmarks? Part of the thinking of IndieKit and Journals on this site, is that notes-as-bookmarks / journals-with-links are a good place for them, and yet another service is just another spot for them to never get looked at again.
And finally, I have a [shared bookmarking service Linkding installed on Commons Computer](https://commonscomputer.com/t/linkding-installed/25). You can browse [shared bookmarks here](https://links.commonscomputer.com/bookmarks/shared).

Do I need another place to stash bookmarks? Part of the thinking of IndieKit and Journals on this site, is that notes-as-bookmarks / journals-with-links are a good place for them, and yet another service is just another spot for them to never get looked at again.
## Eleventy
One of the other solutions for how long it takes to build this site, and perhaps for more advanced "stuff", is perhaps to move it to [[Eleventy]]. But that's going to take a lot more coding and learning time, although I did [capture some Eleventy bookmarks](https://links.commonscomputer.com/bookmarks/shared?q=%23eleventy).

Expand Down
Binary file added assets/hostinger-vps-plans-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 40e58fb

Please sign in to comment.