Linux+ Automation: Provision and Manage Containers and Pods with Terraform and Kubernetes
In this lab, you’ll practice using Docker as a container management system. Using Terraform, you will learn to automate the process before looking at Kubernetes to manage availability and scalability. When you’re finished, you’ll have the skills needed to automate infrastructure consistency with Terraform, and deploy new scalable systems using Minikube.
Terms and conditions apply.
Lab info
Lab author
Challenge
Get Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
Challenge
Manage Docker Containers
You will delve into the fundamentals of container management by exploring Docker, a leading containerization platform. Through hands-on activities and guided tutorials, you will gain a comprehensive understanding of Docker's core concepts and functionalities
Challenge
Use Terraform for Infrastructure Consistency
You will learn how to ensure consistent infrastructure deployment, a crucial aspect of fostering a DevOps culture. Utilizing Terraform, a popular infrastructure as code tool (IaC), you will describe and provision the necessary infrastructure for container deployment. Through step-by-step guidance and practical demonstrations, you will gain hands-on experience in defining infrastructure components such as networks, servers, and storage resources using Terraform's declarative language.
Challenge
Implement Infrastructure Scaling Using Kubernetes
You will explore Kubernetes, a powerful container management system renowned for enabling scalability and redundancy in containerized environments. Specifically, you will focus on deploying containers within Kubernetes Pods using MicroK8s, a lightweight Kubernetes distribution ideal for learning and experimentation purposes. You will gain practical experience in setting up a Kubernetes cluster, creating pods, and deploying containers within them.
Challenge
The Last Challenge
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Command line experience in Linux
- Knowledge of networking concepts, like IPs and ports
- Some familiarity with Visual Studio Code on Ubuntu