Comments (8)
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.
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.
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.
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.
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.
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.
@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.
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)
- Introduce a distributed cache
- Add additional instance classes to enum options
- Allow advanced database insights to be enabled through terraform
- Allow email to be sent for RDS alerts
- Update design of "Admin Name" input field for question options HOT 10
- Incorrect "Meets Eligibility" tag for applicants who were never shown Eligibility question HOT 1
- Oncall: 2023-09-18
- Clarify what question enumerator is and does
- Define unifed styles for disabled/readonly inputs
- Set as Information Tile HOT 1
- Remove dependency on cn-terraform for aws autoscaling
- Allow production sites to set the no index meta tag
- Add question name as formatted for the API in the question list view
- Multi-Option Questions incorrectly setting option IDs for new options
- Upgrade to Play Framework 2.9
- Save and Quit Button
- New question options don't doesn't stay in order on first save
- Prevent re-using previously used admin names for new question options
- Create mocks for Universal and Actionable Questions
- Civiform Translations Batch 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from civiform.