Git Product home page Git Product logo

Comments (18)

jooola avatar jooola commented on June 12, 2024 1

I don't think we can get lower costs by billing yearly. So we would have € 3.49 / mo x 2 = 83.76 per year

I think 10€ per month is good enough, if we reach a limit we will raise it.

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

I think that is the best price we are going to find. The other plus about Hetzner is that it already has a concept of team ownership

from organization.

jooola avatar jooola commented on June 12, 2024

In addition they have good tooling around there Cloud provider API, and we could for instance setup those devices using ansible.

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

We have about $18 a month coming into the collective, with some decent reserves there to tide us over if those drop. Maybe we cover yearly? This is an expense that makes sense and is desperately needed, so uncontroversial. Yearly funding gives us a chance to review as needed

I have requested a virtual card from OpenCollective so that Hetzner charges can be billed directly to the OpenCollective instead of going via one of us.

from organization.

jooola avatar jooola commented on June 12, 2024

I would also go for locking 1 year of funding, and if the costs are reduced because we move to the docker image stacks then we will have some money from the server we don't need. Which could be reused next year.

What is the VAT rate for LibreTime ? In which country is the organization localised ?

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

We're backed by the US OpenCollective, which is a 501(c) 6 - https://www.oscollective.org/ https://opencollective.com/opensource#category-ABOUT

No no VAT in the EU, we are effectively US based.

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

OpenCollective has approved a credit card for paying Hetzner at most $10 a month. How much would it cost to secure a year of use per server? I can request an increase in the card limit, otherwise we can just go with a monthly cost

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

Sounds good. Shall I create a Hetzner team or do you want to?

from organization.

jooola avatar jooola commented on June 12, 2024

Sounds good. Shall I create a Hetzner team or do you want to?

I think we need to create an organization user for the billing process, and invite us both to a shared project. I you want to do it feel free to do it.

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

Hetzner organisation created and configured

from organization.

jooola avatar jooola commented on June 12, 2024

This is now waiting on #18

from organization.

jooola avatar jooola commented on June 12, 2024

Now that we support docker deployment for LibreTime, I would actually prefer to have a single VPS, instead of 2.

This single VPS can also be used for other services, such as a stats.libretime.org service if that is needed, or host a prometheus/loki/grafana stack to monitor the demo.libretime.org service.

We wanted to test the install script as well, but I think we should rather use the vagrant setup to test it, and maybe we can run a full deployment test using a disposable vps and run cypress tests against it.

So I am re targeting this ticket to "Setup basic infra", and make the demo service only a part of it.

from organization.

jooola avatar jooola commented on June 12, 2024

Here is a quick draft of what I would like to do:

  • Attach our ssh public keys to the LibreTime infrastructure team @ hetzner
  • Create a Debian Bullseye VPS @ hetzner
  • Attach some subdomains to that server ip @ gandi
  • Create an ansible playbook to:
    • Setup extra users (CI deploy keys, ...)
    • Setup base packages (postfix, ...)
    • Setup a docker compatible firewall
    • Setup a reverse proxy for our services
    • Setup docker + docker-compose
    • Setup a LibreTime demo instance using a docker-compose spec

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

Sounds good. I'd like to do the infrastructure management with terraform, just makes recreating things much easier

from organization.

jooola avatar jooola commented on June 12, 2024

Hmm right, I am happy to automate the server creation as well, but I am unsure if we gain much by having both terrafom and ansible.

I see there are also some ansible collections for both gandi and hetzner:

If we still want to use terraform, it will probably be for learning purposes.

I only scratched the surface of terraform, and I am unsure if all what I plan to do can be done via terraform, so we only use a single tool.

EDIT: I actually read on the web that using both doesn't necessarily make things harder, but can help us to use the best tools for the job.

We could call terraform from ansible https://docs.ansible.com/ansible/latest/collections/community/general/terraform_module.html

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

They're 2 different tools for 2 different tasks in my mind. Terraform is for creating the infrastructure and ansible is for configuring it (e.g. Installing LibreTime and configuring users). Terraform isn't appropriate for that and is much better suited for doing things like creating the VPS and configuring DNS entries

I also wouldn't call terraform from Ansible. Just have the CI run terraform and then Ansible

from organization.

jooola avatar jooola commented on June 12, 2024

They're 2 different tools for 2 different tasks in my mind. Terraform is for creating the infrastructure and ansible is for configuring it (e.g. Installing LibreTime and configuring users). Terraform isn't appropriate for that and is much better suited for doing things like creating the VPS and configuring DNS entries

I understand, but ansible seem capable of handling what terraform is doing, so the discussion is whether we still want to use terraform for the server creation.

from organization.

paddatrapper avatar paddatrapper commented on June 12, 2024

I didn't realise that Ansible could manage the actual Hetzner and Gandi infrastructure. In that case, using a single tool may be better

from organization.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.