Skip to main content

Prerequisites

Before provisioning infrastructure, make sure you have the necessary cloud access and that your local workstation has the required software installed.

1 Obtain Cloud Access

If you're working within an existing organization, ensure you have sufficient access to the accounts you'll be managing.

If you're provisioning the infrastructure from scratch, you'll need the AWS root account credentials as part of the bootstrapping process before AWS Single Sign-On is set up.

2 Setup Your Workstation

Prerequisites for your local host computer:

  • Docker installed (to run our tools)
  • Slack installed (to communicate with our team)
  • make installed, preferably GNU Make
  • git installed
  • Leapp for authentication

Homebrew Users

We typically ship a Brewfile with a list of local dependencies. Make sure you have Homebrew and use brew bundle to install dependencies from the Brewfile

  1. First, make sure you’ve cloned the infrastructure repository for your organization.

  2. Just run brew bundle install to install all localhost dependencies. Here's an example Brewfile we typically include in the infrastructure repository.

    brew "atmos"
    brew "coreutils"
    brew "pre-commit"
    brew "terraform-docs"
    brew "opentofu"
    brew "tflint"
  3. Next, you'll need docker set up. There are a variety of ways to do this. Review the Docker for Desktop installation guide for macOS.

3 Clone Infrastructure Repository

The infrastructure is where you'll find all the code to provision the reference architecture. You'll need to clone this repository to your local workstation.

git clone https://github.com/$org/$repo.git

4 Build the Geodesic Toolbox Container

Geodesic is a toolbox container that provides an interactive and consistent environment for executing infrastructure commands, similar to a devcontainer. It includes essential tools like terraform, atmos, and AWS CLI.

Build this container before provisioning infrastructure.

make all

This will build the container and launch a shell inside it. You can now start provisioning infrastructure.

What comes next?

With your repository set up and toolbox container.

Next Step