Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.52 KB

README.md

File metadata and controls

50 lines (30 loc) · 1.52 KB

Gitlab Runner AMI

Packer

Builds and configures an AMI with:

Infra

  • Updates to latest packages and enables auto update of security packages
  • firewall allowing only ssh incoming

Tools

  • docker
  • kubectl
  • aws cli
  • gitlab runner
  • jq
  • docker cleanup jobs

Initialisation

  • Gitlab runner configuration
  • Kubectl configuration setup

See Packer Readme for more details

Terraform

A sample terraform project to show how to deploy the AMI into AWS.

See Terraform Readme for more details

Requirements

Usage

  1. Build the iamge cd packer; packer build -var 'aws_region=us-east-1' template.json. See Packer Readme for more details
  2. Create kube-config file which contains configuration to access your cluster.
  3. Run terrafrom init; terraform apply, set variables, review changes and confirm by typing yes. See Terraform Readme for more details