Lab Scenario

I will first create:

A Senior Admins group containing the user account of Claire Reed as its member

A Junior Admins group

Using Terraform and GitLab CI to create a simple infrastructure-as-code (IaC) pipeline.

In this lab I’ll be using GitLab to create a Terraform Pipeline. GitLab is a web-based DevOps lifecycle tool that provides a Git-repository manager providing wiki, issue-tracking and continuous integration/continuous deployment pipeline features, using an open-source license

Azure Subscription Prep

Install Terraform

I ran this command in Powershell as administrator to install Chocolatey

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1'))

Once Chocolatey is installed, run the next command to…

Create a basic container action by using GitHub Actions

In this lab I’ll be using the GitHub learning Lab to create a GitHub repository, a container action that will print a greeting in the action’s log file, and a workflow that triggers on a push to this repository

The following are the steps I’ll need to create this container…

In this lab I’m using Ubuntu Linux 20.04 LTS

What is MicroK8s?

Install MicroK8s on Linux

sudo snap install microk8s — classic

Output…

C.J. Shields

Systems/Network Administrator | DevOps Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store