Giter Site home page Giter Site logo

Comments (8)

nat-henderson avatar nat-henderson commented on May 28, 2024

In the short term, a minimal deployment on GCP, with the strong requirement that we plan to migrate to whatever cloud provider the city chooses.

from civiform.

syntapy avatar syntapy commented on May 28, 2024

Hi. Kinda new to infrastructure here. Is this a correct way to approach the gcp deployment?

  • Github action to push docker image to gcr
  • Github action to push terraform config to terraform cloud
    • google_cloud_run_service to run the containers

Could I give this a shot?

from civiform.

nat-henderson avatar nat-henderson commented on May 28, 2024

That would be a good way to do it - you'd also want a google cloud build to get the docker containers built on submit, and a postgres database.

I notice you're not a collaborator on the repo - are you a city employee or an interested third party? We can chat on one of the internal platforms if you are on the city's domain, or we can discuss here if not.

from civiform.

syntapy avatar syntapy commented on May 28, 2024

Ok, I'll try to make sense of that, thanks!

Yeah I would be classified as an interested 3rd party...not an employee in Seattle

from civiform.

nat-henderson avatar nat-henderson commented on May 28, 2024

Hey there @syntapy!

Taking a look at your branch it looks like things are going exactly right - you may want to rebase on main, since there's a new dockerfile (formatter.Dockerfile) that you might also move into your docker/ folder (which I think is a fine way of organizing it).

I'd also suggest not making adminer available on cloud run - not sure it's needed / useful now that we're managing the db with ebeans and evolutions.

@hmhsu - is adminer still needed?

Also, we heard back from the city - AWS is going to be the target eventually, but GCP will be a useful stopgap while we wait for access to AWS accounts.

Thanks for your help!

from civiform.

hmhsu avatar hmhsu commented on May 28, 2024

Re adminer:

Happy for that to be removed. It was useful when we were verifying connection from the app to the database. I think we are all good now.

from civiform.

nat-henderson avatar nat-henderson commented on May 28, 2024

@syntapy hey there!

We have actually just gotten access to the AWS account we need, actually. We're going to start work on the AWS prod environment. I think that obsoletes your work, unfortunately.

from civiform.

syntapy avatar syntapy commented on May 28, 2024

Ok. Well I definitely had some fun in the process, though haven't gotten the google_cloud_run_service to work though. I'll play with that some more sometimes to see what was wrong with it

Have fun with the AWS prod work!

from civiform.

Related Issues (20)

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.