Skip to content

Udemy course that covers a lightweight Kubernetes cluster k3s

Notifications You must be signed in to change notification settings

xjantoth/k3s-udemy-course

Repository files navigation

K3S Udemy Course

Course materials can be found at Github

https://github.com/xjantoth/k3s-udemy-course

git clone https://github.com/xjantoth/k3s-udemy-course
cd k3s-udemy-course

restrictive-terraform-user DISCLAIMER

Before we embark on this course, it is crucial to be mindful of your AWS resources. Make sure to DELETE ALL YOUR AWS RESOURCES (EC2, S3, SSM, and others) when they are no longer needed. By doing so, you can prevent unexpected charges resulting from forgotten resources like EC2 instances or EBS volumes.

Prerequisites

To fully participate in this course, please ensure that you have completed the following steps:

  1. Install awscli and Terraform on your machine. These tools will be instrumental throughout the course.
  2. A free coupon is available from my previous courses, which covers the setup of AWS and installation of all required binaries. You can make use of this coupon to access the necessary resources.
  3. In the event that the coupon has expired or the provided link requires an update, please don't hesitate to post a message in this repository, and I will promptly address the issue.
  4. As a best practice, it is recommended to create a new email address specifically for this course. This helps to streamline your learning process and keep your course-related communications organized.
  5. Prior to beginning the course, please ensure that you have set up an AWS Free Tier account. This account provides access to a range of AWS services within specific usage limits.
  6. Safeguarding your AWS passwords is of utmost importance. Consider using password management tools like KeePass to securely store your credentials.
  7. Protect your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY at all times, refraining from sharing them with anyone. When not in use, it is advisable to delete or deactivate these keys to enhance security.
  8. Setting up Multi-Factor Authentication (MFA) is highly recommended to add an extra layer of security to your AWS account.
  9. Lastly, please ensure that the date and time settings on your computer are accurate, as this can impact various aspects of your AWS environment.

Note: It is worth noting that the AWS Free Tier account supports three regions by default: Virginia, Oregon, and Ohio.

Table of Content

  1. Introduction

  2. Setup AWS Free Tier Account

  3. Create Web UI admin IAM user

  4. MFA enforced on CLI level

  5. Create terraform IAM user

  6. Create S3 bucket

  7. Setting up S3 as terraform backend

  8. Demonstrate creation of IAM users via Terraform

  9. Writing terraform infrastructure code for K3S cluster

  10. Deploy AWS infrastructure via Terraform

  11. Testing a first deployment via kubectl and a bit of Helm

  12. Github action CICD pipeline to run Terraform

  13. Clean UP and AWS Billing

About

Udemy course that covers a lightweight Kubernetes cluster k3s

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published