SRE Platform Documentation
  • SRE Platform Documentation
    • Platform Structure and How it Works
    • Code of Conduct
    • Resources
    • Tips & Tricks
    • Common Issues
  • Setting Up Your Environment
    • Running Your First Mock Test
    • Running Your First Lab
    • Running Labs vs Mock Tests
Powered by GitBook
On this page
  • Run the Docker Container
  • Clone the Git Repository
  • Update S3 Bucket
  • Edit the `terragrunt.hcl` file to update your S3 bucket name
  • Set the AWS Key

Setting Up Your Environment

PreviousCommon IssuesNextRunning Your First Mock Test

Last updated 10 months ago

We have prepared a Docker image with all necessary dependencies and utilities. You can use it to run exams or labs by following the instructions below or follow the .

Run the Docker Container

sudo docker run -it viktoruj/runner

Clone the Git Repository

git clone https://github.com/smadi0x86/SRE-Platform
cd SRE-Platform

Update S3 Bucket

By now, you should have created an S3 bucket for the Terraform backend. If you haven't, please refer to the to create one.

Make sure to enable bucket versioning when creating the S3 bucket.

Edit the `terragrunt.hcl` file to update your S3 bucket name

vim terraform/environments/terragrunt.hcl
locals {
region = "eu-north-1"
backend_region = "eu-north-1"
backend_bucket = "example-bucket" # update with your own bucket name
backend_dynamodb_table = "${local.backend_bucket}-lock"
}

Set the AWS Key

export AWS_ACCESS_KEY_ID=<Your-Access-Key>
export AWS_SECRET_ACCESS_KEY=<Your-Secret-Access-Key>
video guide
AWS documentation
Page cover image