Skip to content

GCP projects

GCP projects are structured in directories under the attracs.net organization. The two main directories are "Infra" and "Projects".

Infra

Infra directory holds all the common infrastructure (vms, databases etc) for services. For the time being, we also have couple of projects outside of attracs.net which hold common infrastructure as well.

Projects

Lorem ipsum

Application projects

Application-specific projects hold API-keys, pubsub topics and other resources directly related to application.

For application projects, we create a directory under "Projects" with the name of the application. There we create three projects, name ending with the environment it is for. For example:

Projects > emission-calculator > emission-calculator-dev
Projects > emission-calculator > emission-calculator-nightly
Projects > emission-calculator > emission-calculator-stable

Access permissions to resources

Developers can have access to dev -environment, but only devops and nightly/stable service accounts should have access to resources in nightly/stable projects.