# AWS Kubernetes Tutorial: Deploy Real Apps on EKS Like a DevOps Engineer

## Метаданные

- **Канал:** Cloud Guru
- **YouTube:** https://www.youtube.com/watch?v=oZEu5hlz6IY
- **Дата:** 08.05.2026
- **Длительность:** 15:08
- **Просмотры:** 161

## Описание

🚀 Watch a real Kubernetes application running live on AWS EKS with scalable worker nodes, production-grade networking, and cloud-native deployment workflows. 🔥 By the end of this tutorial, you’ll deploy your own AWS EKS cluster, manage Kubernetes workloads, and understand how real DevOps teams run containers in production.

🔥 DevOps Career Boost
🚀 Linux Foundation Certifications – 30% OFF
💥 Get 30% OFF Linux Foundation Courses & Certifications
COUPON CODE: CLOUDGURU

☸️ Top Kubernetes Certifications (HIGH DEMAND)

👉 Enroll here for CKAD: https://training.linuxfoundation.org/certification/certified-kubernetes-application-developer-ckad/?source=aw&sv1=affiliate&sv_campaign_id=2797056&awc=85919_1773067559_bfa5e6ace1397c69f68bfb64ff35fa1f

👉 Enroll here for CKA: https://training.linuxfoundation.org/certification/certified-kubernetes-administrator-cka/?source=aw&sv1=affiliate&sv_campaign_id=2797056&awc=85919_1773067536_a1f91345cf951dbbbecaad9281bf8434

👉 Enroll here for CKS: https://training.linuxfoundation.org/certification/certified-kubernetes-security-specialist/?source=aw&sv1=affiliate&sv_campaign_id=2797056&awc=85919_1773067517_4a35c19ecd7d600840ae4908a59308e7

👉 Enroll here for Kubestronaut Bundle: https://www.awin1.com/cread.php?awinmid=85919&awinaffid=2797056&ued=https%3A%2F%2Ftraining.linuxfoundation.org%2Fcertification%2Fkubestronaut-bundle%2F

👉 Enroll here for Kubestronaut to Golden Kubestronaut Upgrade Bundle: https://www.awin1.com/cread.php?awinmid=85919&awinaffid=2797056&ued=https%3A%2F%2Ftraining.linuxfoundation.org%2Fcertification%2Fkubestronaut-to-golden-kubestronaut-upgrade-bundle%2F

👉 Enroll here for Golden Kubestronaut Bundle: https://www.awin1.com/cread.php?awinmid=85919&awinaffid=2797056&ued=https%3A%2F%2Ftraining.linuxfoundation.org%2Fcertification%2Fgolden-kubestronaut-bundle%2F

👉 Enroll here for all courses and certifications: https://www.awin1.com/cread.php?awinmid=85919&awinaffid=2797056

🔥 Join our Cloud Guru WhatsApp Community
https://www.whatsapp.com/channel/0029Va8fH154IBhEu3t21y2o

🔥 Join our Cloud Guru Medium Page
https://cloudguru.medium.com/

☁️ Managed Cloud Hosting Deals

👉 Get CloudWays
 https://www.cloudways.com/en/?id=1365224

💥 CloudWays Coupon Code: CLOUDGURU25
Get 25% OFF for 3 months.

🚀 Try xCloud Hosting
https://xcloud.host?fpr=cloudguru

💥 Get $200 FREE credits on signup.

╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

In this complete AWS EKS Tutorial, you’ll learn how to build and manage Kubernetes on AWS step-by-step using real-world DevOps practices.

This video covers:

✅ Amazon EKS cluster setup
✅ Kubernetes architecture on AWS
✅ kubectl + eksctl workflow
✅ Deploying applications to EKS
✅ Scaling pods and worker nodes
✅ Load Balancer & Ingress setup
✅ IAM roles & AWS networking basics
✅ Production-style Kubernetes deployment flow

Whether you're preparing for:

DevOps Engineer interviews
CKA / CKAD
AWS Certifications
Real-world cloud projects

…this tutorial gives you practical experience with AWS Kubernetes deployments.

💡 This is NOT just theory — you’ll see a live deployment workflow used by real cloud teams.

📌 Watch till the end to understand:

Why companies prefer EKS over self-managed Kubernetes
Common beginner mistakes in AWS Kubernetes setups
How Kubernetes scaling works inside AWS infrastructure

Chapters:

0:00 - Introduction to Kubernetes on AWS
0:16 - Prerequisites and Required Binaries
0:36 - Setting Up Environment Variables (AWS Provider)
1:07 - Base System Overview (EC2 t2.micro)
1:21 - Kubernetes Script Structure and Folders
1:57 - Running the Startup Script (kube-up.sh)
2:31 - Bootstrapping the VPC and Infrastructure
2:53 - Master and Minion Node Architecture
3:23 - Verifying the Master Node in AWS Console
4:21 - Preparing Docker Images for Deployment
4:47 - Spring Boot Microservice Overview
6:11 - Verifying Minion Nodes and Master API Server
7:10 - Creating a Dockerfile for the Microservice
10:22 - Building the Docker Image (docker build)
11:21 - Pushing Images to Docker Hub
11:54 - Deploying to Cluster with kubectl
13:22 - Managing Pods and Containers
14:00 - Exposing the Deployment as a Load Balancer Service
14:24 - Verifying External IP and AWS Load Balancer

🔥 If you want:

More DevOps tutorials
Advanced Kubernetes projects
Terraform + EKS
GitHub Actions CI/CD
Production cloud architecture breakdowns

…subscribe and turn notifications on.

#AWS #Kubernetes #EKS #DevOps #CloudComputing #Docker #PlatformEngineering #CloudEngineer

## Содержание

### [0:00](https://www.youtube.com/watch?v=oZEu5hlz6IY) Introduction to Kubernetes on AWS

Okay, let's start with deploying your Kubernetes cluster on AWS infrastructure.

### [0:16](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=16s) Prerequisites and Required Binaries

infrastructure. Prerequisites. First thing you need would be a working instance on AWS or any system you have which is well was connected with internet and you would need to get some binaries which the Kubernetes is providing. They have a wonderful documentation on kubernetes. io and they're explaining you how to do it.

### [0:36](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=36s) Setting Up Environment Variables (AWS Provider)

Okay. So you need two things two major things that is first an environment variable which tells you what's the source of the kubernetes. So kubernetes is nothing but a tool which tries to orchestrate your containers. So it needs a source. So the infrastructure service is AWS as of now and you do a wget to get all your binaries into your system. So now I have one system that is T2. micro running on AWS. I'll be using this as a base system to deploy my Kubernetes.

### [1:07](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=67s) Base System Overview (EC2 t2.micro)

So nothing I go back. So this is my system. I'll go to my home folder. So after doing the wgate what I get is Kubernetes. So this is the Kubernetes folder and

### [1:21](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=81s) Kubernetes Script Structure and Folders

inside this if you see there is um there is a set of uh scripts available which helps you in bootstrapping the humanities cluster. If I check the environment variable I have an environment variable available that is humanit provider is equal to AWS. And if you're using GCP you give your GCP you're using OpenStack you use it as per your requirements. I mean whatever AAS is available with you. The infrastructure is from AWS. So I'm going with AWS.

### [1:57](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=117s) Running the Startup Script (kube-up.sh)

Now to start your cluster, you go inside the cluster and there's a script. The startup script is there that is cube app. sh. So you just run that. So when you start running this, you'll see a set of scripts being executed at the back end. So it's nothing but AWS scripts getting executed. It's using Amazon S3 service to store some of the application Kubernetes data. So as you

### [2:31](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=151s) Bootstrapping the VPC and Infrastructure

can see it started bootstrapping. It's creating a VPC on its own and then the VPC is nothing but to host all the instances under that VPC. It's creating the connection to the internet to those instances created. It's adding tag certain level of uh prerequisites it does before creating the ma master and the minion systems. So in kubernetes if

### [2:53](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=173s) Master and Minion Node Architecture

you have a master you will have corresponding nodes available with them. So if you are forming a cluster of let's say three nodes uh one will be master and two will be minions. So as you can see it has added tags. It created a VPC created a master. It's waiting for the master to come up actually. So yeah the master is running. Okay. You want to see the master? Reload it.

### [3:23](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=203s) Verifying the Master Node in AWS Console

So this is the Kubernetes master. So Kubernetes takes care of all the tagging per uh tagging requirements. tags it in a proper manner so that we know what system is it is and what it actually is doing. So the Kubernetes master is up. Anytime the minions will be up, the nodes will be up and running which will be supporting the master. Okay, so it's creating the minion configuration and creating the autoscaling group. Okay, the minions are going to start any time. It's waiting. So as you can see here the process will be easy to grab it. Okay. So uh can you see? So this is the pending state. It will be running in any time. So once your Kubernetes cluster is up

### [4:21](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=261s) Preparing Docker Images for Deployment

and running with all the nodes having docker installed in it, you are good to go and deploy any of your docker images available on the docker hub or any of your private registries. So I have a public image available on hub. docker. com. We can try to deploy that.

### [4:47](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=287s) Spring Boot Microservice Overview

So I have two services here. Multiply service add service nothing but these are the two spring bootut apps which I created. So add service is one service acting as a rest controller which will take input as two or three or four any number it will add to 10 and give you the result. So pom. xml is nothing but the maven script to build the project. So if you just go and run as n build it will build it. So my build has started and it's deployed on my local. So I'll just show you what exactly it is. It's nothing but a micros service. Local host 8080 / add 12. So if I pass 12, it gives you 22. If I pass one, gives you 11. So it's just a micros service. Just for an example, I've uh used it. I'll be deploying this micros service as well as another multiply micros service using docker on kubernetes. So I go back and let's see where our cluster is. So four minions have started

### [6:11](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=371s) Verifying Minion Nodes and Master API Server

ready to be used in the kubernetes cluster. Let's go back and check on the management console. So all are in the running state. So these 1 2 3 4 these are the Kubernetes minions. They act as supporting soldiers for the Kubernetes master. Kubernetes master is nothing but where your actual API server of the Kubernetes is deployed. So all the requests going to Kubernetes will be taken by the master and it will be served to all these four minions and these minions will deploy your containers. Okay. So now we have this image multiply service and add service. I'll just give you a brief on

### [7:10](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=430s) Creating a Dockerfile for the Microservice

just show you um how we can create docker image. So I have a system here where I have installed Docker as well as Jenkins to show you how we can do a continuous integration uh with building the Java application starting from to dockerizing them and then deploying it into the Kubernetes cluster. Okay. So let me just get into the box. This is my docker box which I have created to play around with docker. Oh, this is an Ubuntu machine. So my Jenkins is up anytime. So let's go back to what we're doing. Okay. So I just showed you I have two services with me. One is the add service. Second is the multiply service. I'm going to write a docker file for each of these services. I get into my docker images folder. Get into this. Let's say we write it for add service first. So I have a docker file here. Okay. So as my micros service is a Java microser, I need a base docker image. So I'll make sure I copy another docker image that is the Java latest version that is 1. 8 or whichever is the latest. Okay. The second thing I write in a docker file is maintainer. Who is actually the maintainer for the script or for the image. Okay. Third thing which port is uh which port I'm going to expose for my container to start accepting the request that is 8080. Okay. Now after that is done I need my artifact. Okay. So where is my artifact? I need that artifact from somewhere right. So it is from my artifactory. Okay. So I have uploaded my artifact jar onto the Jenkins artifactory. So I'm duplicating that jar file. So once I duplicate the jar file and it's available with me in my container, I do a java minus jar add service. jar chart and that starts my spring boot application. As simple as that. So this is what I need my docker file to be doing. So now I go back. So this is writing a docker file. Second step after writing a docker file is building a docker file. And then comes running the docker file.

### [10:22](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=622s) Building the Docker Image (docker build)

So let me see I have a history this command so I can just get you. Okay, so this is the command sudo docker build minus t is nothing but the tag name, my repository name slash the service image name and the version name which with which the image is going to be uploaded into the docker hub and dot is the current directory where the docker file is available. So when I run this so my docker build has started also completed. So from Java latest it keeps creating intermediate containers keeps checking whether there is any error in the script file or not. If there is it won't build. So now that there are no errors in the docker file it build your docker image. So if you want to check how many images you have in your local you have a

### [11:21](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=681s) Pushing Images to Docker Hub

command pseudo docker images. So these are the images which I created is this one with a tag 1. 0. Now I can push this using docker push to my repository and that's how I pushed it to docker hub. So these are my two repositories available to be pulled by the kubernetes cluster. Now that I have my Docker images on here, anytime my Kubernetes cluster can go and deploy these services. Okay. So now is the time

### [11:54](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=714s) Deploying to Cluster with kubectl

when I go back to my Kubernetes cluster. Okay. So Kubernetes cluster is up and running with four nodes, one master. Kubernetes master is running. It comes with a set of tool chains like Kubernetes dashboard wherein you can just go in and deploy your apps directly using the GUI. It comes with a cabana monitoring and logging tool. Comes with graphana which again a monitoring tool. So we'll cover this later and they're not like uh the topic for this discussion. So we'll just go ahead and use the cube cdl. So this is my cubernetus instance which I had it in the start which I'm using to deploy the cubernetes cluster. So this is the folder. So this was a cluster folder and we used to come up with the humanities cluster. Now cubectdl is a command which serves as a tool which interfaces between the master and the nodes. So now I want to deploy my image repository/ the image name with replicas 2 and port 8080. So I click it. So it's done. Deployment at service created. How do you check your deployments? cubectdl get deployments. Okay. So again how do I check my pods?

### [13:22](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=802s) Managing Pods and Containers

cubectdl get pods. Pods are nothing but these are containers. Actually the containers run inside the pod. quadrant inside a node. A node is nothing but they are the soldiers of your master and master takes care of all the request and the master serves these requests to the ports according to the ports. So now that I have created my deployment, I need to run my deployment. I need to expose it as a service.

### [14:00](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=840s) Exposing the Deployment as a Load Balancer Service

So I'll expose this deployment as a service with a type load balancer. Okay. Looks like I gave a wrong name. Okay. Yes. So we are doing it for add service. So the service is exposed on the load balancer.

### [14:24](https://www.youtube.com/watch?v=oZEu5hlz6IY&t=864s) Verifying External IP and AWS Load Balancer

Get services gives you the list of services exposed. So this is the external IP which I will be showing in you uh to you in AWS. So this is nothing but a load balancer available in AWS which exposes to your microservices. So you have two replicas. So each will be load balanced using the load balancer provided by the AWS. So after the service is exposed so you get a load balancer which is serving all these three four minions and your container is deployed. If you go in

---
*Источник: https://ekstraktznaniy.ru/video/50024*