This repository was archived by the owner on Oct 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Infrastructure repository
Greg Harvey edited this page Jan 14, 2025
·
11 revisions
The way we usually manage "infrastructures", which are logically separate sets of servers and services with a cloud or hosting provider, is by keeping playbooks and variables unique to the elements of that infrastructure in its own Git repository, typically on the controller server.
- In a web browser go to your GitLab installation, for example https://gitlab.controller.acme.com/, and login - instructions here, step 3
- Click on Groups on the left menu
- Click the
New groupbutton on the right, thenCreate group- we recommend you name it
Infrasand leave it private - this is where we will store our "infra" repositories
- we recommend you name it
- On the next page click
New project->Create a blank project- we recommend you name it something sensible and recognisable, beginning with
infra, leave it private and do not create a README - for this example we will use
infra-main-website
- we recommend you name it something sensible and recognisable, beginning with
At this point you should have a new repository at https://gitlab.controller.acme.com/infras/infra-main-website (obviously with your controller server URL, not our example one).
We have a template repository for an AWS account.
Before we can orchestrate any builds on our server we need to create a runner.
Your options are pretty limitless, so we will focus on two main areas:
- How to build your first remote server using ce-provision
- How to configure ce-provision to manage your AWS account(s)
TODO
TODO
TODO