Isn't this just duplicating effort that's probably already been done, in many cases by the first-party maintainers, in Dockerfiles? I don't mean to start 'Docker vs. Ansible', I just wonder why if you wanted a quick way to setup a single-server 'own private cloud' you wouldn't just go with what already exists, and list the images you want in a docker-compose.yaml file? (Which would additionally set you up for 'scalin…
This is dated 2015. I hadn't heard of Docker in 2015.
Sovereign: Ansible playbooks to build and maintain your own private cloud
31–40 of 145 posts
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#32There are so many servers and apps being installed by Sovereign that I'm certain few would be able to keep it secure ( https://github.com/sovereign/sovereign/wiki/Software-used-by... ). The big win for the cloud is that you're paying a fraction of the cost for access to a, typically, enormous security and operations team. If you want to build software like this that allows people to self-host, you need to scale down…
You can also comment out the bits you don't want from https://github.com/sovereign/sovereign/blob/master/site.yml before you run the top level playbook.
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#33https://github.com/sumdog/bee2
There are some blog posts in the README that go into how I built a lot of it. A lot of it is specialized for me though. I have a ton of rspec/tests but I don't have a real config schema or entirely useful error messages. I might add some in the future.
Looking at the list in this, I'd advice against nextCloud(ownCloud). I recently setup their official Docker containers and the web piece works alright, but their F-droid app continually crashes and I had to uninstall it and the nextcloud-client in Gentoo's package manager segfaults at home and refused to build at work.
I've read other stories of data loss with nextcloud. It might be better now but my initial experiences made me use syncthing. Syncthing does use relays if you're behind a NAT, but if you have openvpn setup, you can also force it to use a direct IP address as well.
If you're thinking if self hosting and have the time, I'd suggest building it yourself; borrowing (and properly accrediting/licensing) other open source projects, their ansible scripts and containers and such. You learn a whole lot about why this tooling is so complex.
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#34Isn't this just duplicating effort that's probably already been done, in many cases by the first-party maintainers, in Dockerfiles? I don't mean to start 'Docker vs. Ansible', I just wonder why if you wanted a quick way to setup a single-server 'own private cloud' you wouldn't just go with what already exists, and list the images you want in a docker-compose.yaml file? (Which would additionally set you up for 'scalin…
Not everyone wants Docker installed on their servers. It’s not a requirement with this playbook. Furthermore, if you do want to use containers, there are tools like ansible-bender[1] that use Ansible to build container images. [1] https://github.com/ansible-community/ansible-bender (edited the link to point to the ansible-community repo)
It seems to me that the target demographic is people that just want the least effort minimal faff way of getting some services up and running for personal non-production use. And for that it was my suggestion that many of the services probably already provide a Dockerfile upstream, so the easiest thing to do would be to install docker-compose, list the images, and `up`.
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#35Though somewhat offtopic, this line absolutely cracked me up.
>A VPS (or bare-metal server if you wanna ball hard).
I can appreciate a sense of humor.
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#36This is a pretty cool setup! I have been tinkering in the self-hosting world for awhile now and I would say my biggest piece of advice is to learn Docker. (Not trying to shill for Docker here or start a Docker vs. Ansible flame war.) In my personal experience, Docker images (and docker-compose orchestrations) are more pervasive than Ansible playbooks and when it comes to self-hosting for personal use, hosting all my…
The two are not incompatible. You can deploy containers with Ansible.
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#37I see this being for people that just want things to work without much of the effort to make it so. If that’s the case, a simple web UI that treats all the little solutions as “apps” in a way makes sense. Not plugging here, just curious to the practical everyday differences.
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#38Is there a benefit to doing this over something like Cloudron(1)? I see this being for people that just want things to work without much of the effort to make it so. If that’s the case, a simple web UI that treats all the little solutions as “apps” in a way makes sense. Not plugging here, just curious to the practical everyday differences. 1. https://cloudron.io
I've always been impressed by Cloudron's well-maintained app library and constant march of major feature improvements to the platform.
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#39Earlier quoted context omitted.
Not everyone wants Docker installed on their servers. It’s not a requirement with this playbook. Furthermore, if you do want to use containers, there are tools like ansible-bender[1] that use Ansible to build container images. [1] https://github.com/ansible-community/ansible-bender (edited the link to point to the ansible-community repo)
But I'd have thought if you care that Docker isn't installed on your servers, you're probably not running this anyway? It seems to me that the target demographic is people that just want the least effort minimal faff way of getting some services up and running for personal non-production use. And for that it was my suggestion that many of the services probably already provide a Dockerfile upstream, so the easiest thi…
The only requirement for a remote host to be managed by Ansible is python, and even that can be installed by Ansible itself using the `raw` module on an initial run with nothing but ssh access.
No need to gather a bunch of random Dockerfiles from various places, tweak them to be compatible, and create a docker-compose file from scratch... how is that "the easiest thing" when this is a complete set of Ansible playbooks where the work is already done?
Re: Sovereign: Ansible playbooks to build and maintain your own private cloud
#40This is a pretty cool setup! I have been tinkering in the self-hosting world for awhile now and I would say my biggest piece of advice is to learn Docker. (Not trying to shill for Docker here or start a Docker vs. Ansible flame war.) In my personal experience, Docker images (and docker-compose orchestrations) are more pervasive than Ansible playbooks and when it comes to self-hosting for personal use, hosting all my…
Don't worry, they serve very different purposes. You already probably know but Docker is for running applications in isolation, while Ansible is for provisioning and configuring hosts. For instance, you won't use Docker to harden sshd on your hosts but Ansible.