Who is This Page for?

Thie page is primarily for self-paced learners and instructors for custom instructor led sessions. If you are attending a workshop co-hosted by AWS and GitLab, to understand what course sections will be covered, please see In-Person AWS Workshops Syllabus and Audience

Target Audience

Please read Who Will Enjoy This Workshop?

Instructor-Led Notes

If you are the instructor for an instructor-led version of this workshop, please read Instructor-Led Notes

What You Must Bring

If infrastructure experience of deploying clusters is desired for participants, then participants can do all instructor led steps as well even if an instructor is present. If participants will have their own cluster, then also ensuring they each have their own AWS account will allow the exercises to be performed without modifications or AWS Account resource conflicts and therefore go faster as well.

Item Self-Paced Instructor Led
A Computer
Note: no changes will need to be done to the laptop and the operating system does not matter as the Web IDE is how all code editing occurs in these workshops.
Participant Provides Participant Provides
An AWS Account Participant Provides Instructor Provides - 1 Per Class
A GitLab Classroom Group Participant Creates Instructor Provides - 1 Per Class
An EKS Cluster Participant Creates Instructor Provides - 1 Per Class
A GitLab User ID Participant Creates Instructor Provides
If Not Running from
GitLab.com SaaS
Access to Public Projects in https://gitlab.com/guided-explorations/gl-k8s-agent (or exports of these projects if air gapped) Participant Accesses Instructor Exports/Imports for Offline Training
A GitLab Self-Managed Runner (Easy Button Setup Provided)
Note: Only needed when using free accounts and/or an ultimate trial on GitLab.com SaaS. Can use existing runners if using licensed users or self-managed GitLab instances.
Participant Creates Instructor Provides - 1 Per Class

Time Estimates

Time estimates live with learning outcomes in Learning Outcomes and Time Estimates

Cost Estimates

Based on us-east-1

Item Estimated Cost Fixed or
Varaible
Reduce or Eliminate
K8s Node Instances (2 x t3.medium spot) $0.03/hr (0.014/hr x 2) Variable Cost = $0 by Scaling EKS Nodes to Zero
Bastion Host (1 x t2.micro spot) $0.0035/hr Variable Cost = $0 by Scaling EKS Nodes to Zero
EKS Control Plane $0.10/hr ($73/Mo) Fixed Cannot be turned off, only destroying elimintates cost
ELB for Ingress Controller (Auto DevOps Requirement) 0.025/hr ($18/Mo) Fixed Cannot be turned off, only destroying elimintates cost
  • Total Fixed Costs Whether Scaled to 0 or not: 0.35/hr ($25/wk, $101/mo)
  • Variable Costs While Turned on (for two t3.medium spot instances + t2.micro spot bastion): $0.0835/hr
  • The EKS Quick Start and Ingress controller make teardown and setup relatively easy if avoiding the fixed costs between periods of usage is necessary.

Values to Substitute Throughout Exercises

Note: The following values are used in the example and will usually be different in your project - be careful to keep track of what your values are to substitute them consistently throughout. If you are an instructor, provide the list of what the values should be to the class from the prep steps you have completed.

Description Substitution Value Actual Value In Your Case
Within AWS
AWS EKS Quick Start Config set name spot-t2-medium-v120-paramset
AWS EKS Quick Start cluster name spot2azuseast2
AWS region us-east-2
Within GitLab
Top Level Group (Can be a GitLab.com Namespace) Classgroup
Cluster management group and project path classgroup/cluster-management
Personal group yourpersonalgroup (subgroup of classgroup)
agent path segment (which is also the agent name) spot2az-agent1
Note: does not have to match EKS name like it does here
Cluster Auto DevOps domain with SSL <the Load Balancer IP>.nip.io

A Production Pattern That is Training Ready

Please read Reusable Patterns for Production and Training