Skip to content

[deployment] Select a CSP and prepare for production situations #106

Description

@frgfm

Currently the app is hosted freely but with high constraints on up time, this needs to change when users require constant access. A few things need to be taken care of:

  • Benchmark & select CSP
  • Integrate a service module to use it with the API

Activity

  1. added this to the 0.1.2 milestone on Jan 29, 2021
  2. chloeskt commented on Jan 29, 2021

    @chloeskt

    There is Outscale it's a French company (cloud computing + cloud service). However it was created by Dassault System to ensure french sovereignty.

    To know more what their engagements: https://fr.outscale.com/rse-nous-sommes-engages-et-responsables/

    For the prices: https://fr.outscale.com/tarifs/

  3. jean-pasquier commented on Jan 31, 2021

    @jean-pasquier
    Contributor

    I had a look to outscale and it seams to be an IaaS (Infrastructure as a Service) is it what we are looking for ?

    https://www.redhat.com/fr/topics/cloud-computing/iaas-vs-paas-vs-saas
    TLDR:

    • IaaS = we need to manage installation, deployment, etc. on a VM (eg AWS EC2, etc.)
    • PaaS = deployment managed (eg Heroku)

    I found a PaaS using Ouscale infrastructures named Scalingo having a good price/performance ratio based on this French PaaS benchmark - 0,01 € / hour for the smallest config and a free Postres plan, according to its pricing what do you think ?

  4. frgfm commented on Jan 31, 2021

    @frgfm
    MemberAuthor

    Thanks for the investigation!
    I would imagine that IaaS are thus cheaper to PaaS for comparable machines?
    If so, considering our simple setup, it could be manageable. But so we have two aspects to compare: pricing/performance, and business model of the company (checking there is no misalignment with Pyronear values as much as possible). Any idea where those CSP stand regarding that last aspect?

  5. florianriche commented on Feb 2, 2021

    @florianriche
    Contributor

    Quick note: The choice of CSP is quite impacting on other parts of our system (e.g pyro-riks would love a platform that enable jobs to be launched automatically or have a Reddis Cache). The CSP selection should be advertised and/or discussed with other teams.

    As a side note, should there be a place to gather global architecture discussions? I have the feeling that we have general impacting talks scattered among the different repos.

  6. frgfm commented on Feb 3, 2021

    @frgfm
    MemberAuthor

    Not really on Github, so perhaps we should schedule a meeting for this very topic?

  7. chloeskt commented on Feb 3, 2021

    @chloeskt

    Yes I agree with @frgfm we should not discuss this on GitHub, let’s setup a call 🙂

  8. chloeskt commented on Feb 8, 2021

    @chloeskt

    Would it be too complicated to manage VMs on our own ?

    I've had a quick look at some PaaS:

    • OVH (guess that it's well-known)
    • Orange Business Services
    • platform.sh
    • gandi. They support some nice projects (here) such as WWF, fidh, etc. They also have a nice "index de l'égalité salariale Femmes-Hommes" of 87/100.

    It did not benchmark yet the prices of all the solutions mentioned above, but so far gandi seems to be the closest to Pyronear's values.

  9. frgfm commented on Mar 29, 2021

    @frgfm
    MemberAuthor

    My bad, I was supposed to take care of this over the weekend. I'll start the deployment on OVH to try to have something working for Wednesday!

  10. frgfm commented on Mar 31, 2021

    @frgfm
    MemberAuthor

    FYI: we're in the middle of deployment on an OVH sandbox 👌

  11. frgfm commented on Jul 22, 2021

    @frgfm
    MemberAuthor

    I was about to close this issue because we now have a deployed instance on OVH, but I wanted first to suggest another option that is surprisingly free: Deta

    It's suggested by FastAPI and seems quite modern : https://fastapi.tiangolo.com/tr/deployment/deta/

  12. florianriche commented on Jul 23, 2021

    @florianriche
    Contributor

    Hi,
    It seems like a good solution indeed that would have fit our usecase but why would we switch now that we have a solution on OVH?

  13. frgfm commented on Jul 23, 2021

    @frgfm
    MemberAuthor

    Hi,
    It seems like a good solution indeed that would have fit our usecase but why would we switch now that we have a solution on OVH?

    Quite simple: it's free 😅

  14. florianriche commented on Jul 23, 2021

    @florianriche
    Contributor

    Oh my bad I thought we were in a free tier plan on OVH.
    I would agree to do the switch then :)

  15. frgfm commented on Jun 16, 2022

    @frgfm
    MemberAuthor

    Moving this to a question since it will remain an ongoing matter as new providers appear :)

  16. locked and limited conversation to collaborators on Jun 16, 2022
  17. converted this issue into a discussion #194 on Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions