Тёмный

AWS EKS CI/CD: Cluster Set-up, App containerization & Deployment, CodePipeline| DevOps With AWS Ep10 

Sandip Das
Подписаться 116 тыс.
Просмотров 30 тыс.
50% 1

►This Video Tutorial Covers:
Introduction to AWS EKS (Small Overview)
Set up EKS Clusters Using eksctl
Deploy Simple NodeJs App using kubectl
Setting Up CI/CD With AWS CodePipeline + AWS CodeCommit + AWS CodeBuild
Configuring AWS EKS Cluster for CI/CD
▬▬▬▬▬▬ Chapters With Timestamps ⏰ ▬▬▬▬▬▬
0:00 AWS EKS Intro
2:43 AWS EKS Features
2:55 AWS EKS Cost
3:38 Companies using AWS EKS
3:45 Demo resources (Code Repo link and instructions)
4:26 Install Essential Tools (AWS CLI, kubectl, aws-iam-authenticator,elsctl)
5:43 Create AWS EKS Cluster
7:38 Build docker image
10:16 Push Docker Image to AWS ECR
12:30 Change repo URL in deployment.yaml
13:06 Verify created AWS EKS Cluster
14:22 Deploy NodeJs Application in newly created AWS EKS Cluster
16:36 Create Service (Attach Loadbalancer )
17:39 Updating application in AWS EKS Cluster
20:00 AWS CodePipeline Setup
29:32 Creating New AWS IAM Role For AWS CodeBuild Project
31:09 Map Newly Created IAM Role With AWS EKS Cluster for CI/CD
34:14 Update AWS CodeBuild Project Role With Newly Created Role and make sure Environment have privileged access
36:00 Deep-dive into Buildspec file
38:00 Delete AWS EKS Cluster
38:07 More Learning Resource Link
► Code Repository:
github.com/sd031/aws_codebuil...
► SUBSCRIBE
ru-vid.com...
► Document link:
drive.google.com/file/d/1kVj-...
Topics Covered in Details:
Introduction to AWS EKS
Benefits
Cost
AWS EKS Architecture
Kubernetes and VPC Networking
Companies Using AWS EKS
Let’s Create An AWS EKS Cluster & Deploy A Simple NodeJs Application
Install Essential Tools
Create AWS EKS Cluster
Build the docker image using Dockerfile
Publishing/Store Image to AWS ECR (Elastic Container Registry )
Finally, Let’s deploy the Application
Let’s set up the pipeline
Add Required IAM Role
Configuring AWS EKS Cluster for CI/CD
Clean up everything
More learning resources
For any feedback, suggestions, or tutorials please feel free to contact me on LinkedIn / sandip-das-developer
► Social Media
/ sandip-das-developer
/ sandip_das_official
/ techie_sandy
► Join slack channel
join.slack.com/t/devops-with-...

Disclaimer:
This video is solely for educational purposes, use them with your own responsibility. This video might contain some minor mistakes so please take decisions based on your own research and findings.
This video does not force anything on anyone, decisions are your own.
Any credentials are shown in the video are temporary and already removed, don't complain if those credentials do not work for you, please generate your own credentials for the test.
#ekscicd #kubernetescicd #devops #learnwithsandip

Наука

Опубликовано:

 

3 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@learnTechWithSandip
@learnTechWithSandip 3 года назад
► Document link: drive.google.com/file/d/1kVj-tpz2qmRwcsXmkn3Soe5LsMhwBfyl/view?usp=sharing ► Code Repository: github.com/sd031/aws_codebuild_codedeploy_nodeJs_demo ▬▬▬▬▬▬ Chapters With Timestamps ⏰ ▬▬▬▬▬▬ 0:00 AWS EKS Intro 2:43 AWS EKS Features 2:55 AWS EKS Cost 3:38 Companies using AWS EKS 3:45 Demo resources (Code Repo link and instructions) 4:26 Install Essential Tools (AWS CLI, kubectl, aws-iam-authenticator,elsctl) 5:43 Create AWS EKS Cluster 7:38 Build docker image 10:16 Push Docker Image to AWS ECR 12:30 Change repo URL in deployment.yaml 13:06 Verify created AWS EKS Cluster 14:22 Deploy NodeJs Application in newly created AWS EKS Cluster 16:36 Create Service (Attach Loadbalancer ) 17:39 Updating application in AWS EKS Cluster 20:00 AWS CodePipeline Setup 29:32 Creating New AWS IAM Role For AWS CodeBuild Project 31:09 Map Newly Created IAM Role With AWS EKS Cluster for CI/CD 34:14 Update AWS CodeBuild Project Role With Newly Created Role and make sure Environment have privileged access 36:00 Deep-dive into Buildspec file 38:00 Delete AWS EKS Cluster 38:07 More Learning Resource Link
@purple-star4366
@purple-star4366 3 года назад
Thanks Sandip. This was really helpful.
@tluppi
@tluppi 2 года назад
You are good. Thank you very much for walking through this. Quite helpful in understanding the process.
@RadhikaSharma-co8lg
@RadhikaSharma-co8lg 2 года назад
Hey sandeep,thanks..you saved my day😂 actually I got stucked in authentication in ekscluster from codebuid & already tried multiple approaches from blogs, finally thought to try from video & came here & it worked... Thanks :)
@spantheslayer
@spantheslayer 3 года назад
watched the full video , its a brilliant explanation .
@sellodiphoko9560
@sellodiphoko9560 Год назад
@sandip you are so good and keep it up, your videos are so very easy to follow. Much appreciated sir! Keep them coming....
@SachithSoorage
@SachithSoorage 3 года назад
Thank you SD!!! keep it up bro..
@discover_kabir
@discover_kabir 2 года назад
Thanks a lot, Sandip. ❤️
@christianibiri
@christianibiri 3 года назад
Great video, it helps a lot
@zongzaili9701
@zongzaili9701 2 года назад
Thank you for sharing this excellent tutorial
@CrossFire10100
@CrossFire10100 11 месяцев назад
You are so helpful! Thank you.
@hkmehandiratta
@hkmehandiratta Год назад
Thanks a ton Sandip.
@piyushmahapatra5402
@piyushmahapatra5402 3 года назад
Going to watch this ! Thanks for the timestamps!
@learnTechWithSandip
@learnTechWithSandip 3 года назад
😊👍 Make sure to experiment as well, let me know if need AWS Credits!
@piyushmahapatra5402
@piyushmahapatra5402 3 года назад
@@learnTechWithSandip Sure! Thanks for everything :)
@zhang20244
@zhang20244 9 месяцев назад
Great video, That is what I am doing
@GenerativeAI-Guru
@GenerativeAI-Guru 2 года назад
Thanks for updated video :D
@learnTechWithSandip
@learnTechWithSandip 2 года назад
Welcome 😇
@fitwelindustriesllp4025
@fitwelindustriesllp4025 5 месяцев назад
superb
@YTFun92
@YTFun92 Год назад
Thanks a lot sir for the viewo, i have been looking aws CI CD concept with eks for longer time, now found your video..thanks its very clear..Can you please upload another one video for java projcet using maven, docker,ecr,eks,amd cloud watch
@hinduism2033
@hinduism2033 2 года назад
It's informative video, It would be great if you explain all points clearly like spec yaml and other advance points while doing setup the ci-cd pipeline
@learnTechWithSandip
@learnTechWithSandip 2 года назад
There will be a series on Kubernetes from February, will cover in that series :)
@kumarshreyansh9746
@kumarshreyansh9746 3 года назад
Hi Sandip, Thanks a lot for this video. Would you please make a video on explaining the science behind setting up authentication in between codebuild and eks cluster using aws iam authenticator, sts assume role, identity mapping etc etc
@learnTechWithSandip
@learnTechWithSandip 3 года назад
Sure I will cover 👍
@moeal5110
@moeal5110 Год назад
Great vidoe and thanks for your work but would you please spend more time explaining each yaml file
@SoumyaDassrd
@SoumyaDassrd 2 года назад
Great job Sandip, It help me learn more in advance, could you please create small tutorial on same by using aws and terraform.
@learnTechWithSandip
@learnTechWithSandip 2 года назад
Yes, soon 👍
@emiribrahimbegovic813
@emiribrahimbegovic813 2 года назад
Hey Sandip, good tutorial. Question: Why do you need to use code pipeline? Can't you do all this from the code build? Since you deploy (using kubectl apply and rolling restart command)
@learnTechWithSandip
@learnTechWithSandip 2 года назад
We can do but , we can achieve workflow with CodePipeline , with build it's just "build" , suppose if I would like to add any other workflow and pass on the artifact, CodePipeline will be only choice as code only output artifact or other execution, but CodePipeline you can pass on artifact to next stages and of course another great feature of CodePipeline Concurrent stage processing.
@bn8595
@bn8595 3 года назад
This is what I was looking for. Thanks, very nice explanation. Can you please add the youtube video links which you are asking to refer to, like in this video codepipeline link?
@learnTechWithSandip
@learnTechWithSandip 3 года назад
Here's the complete playlist link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0649R_Fk9_E.html&ab_channel=SandipDas
@hackedemotion
@hackedemotion 2 года назад
Can you make one video similar to this where you can show how we can use code deploy for kubernetes ? Like here you used the code build and deploy was not need But want to see how we can use deploy as well
@rohitbhardwaj8643
@rohitbhardwaj8643 2 года назад
first time am watching k8 and have 20% understand but you have explain very nice. could you please help me for learning kubernetes , On monday will have an interview . request to guide for the same with strong knowledge. thank you very much.
@vikasmanro192
@vikasmanro192 2 года назад
Hi Sandip, can u pls let me the IAM role and user used for this video, My service is not creating ALB can u pls suggest
@hackedemotion
@hackedemotion 2 года назад
Hi Sandip, it really was useful . The one I was looking for . But only one thing instead of having static image name is there a way we can increment the version name as well with the tags example image:v1, image:v2. So that every time we push image to ecr it is saved with new version. And why didn’t we added deploy stage in this and rather did everything in build stage ?
Год назад
i would implement that using git tags. they can be read during deploy and used to tag the built image and then used for deploy
@Aswinvishnu2
@Aswinvishnu2 2 года назад
Bro What abt the eks anywhere, I'm trying to migrate my dev EKS cluster to eks anywhere as I have a dedicated mac in cloud machine which is way less cheaper to run than using my current EKS setup, But I want my pipeline and rest of the AWS resources like load balancer to work in the same way like I was using the EKS.I'm using amazon CI/CD tools for the entire build.Pls, help.
@rusifeyvazli3244
@rusifeyvazli3244 2 года назад
Hello Sandip, Could you please show how to connect it to GitHub instead of CodeCommit?
@rajashekark3106
@rajashekark3106 2 года назад
Can you please update slack group here
@yogithakakarla1716
@yogithakakarla1716 2 года назад
How about authentication between ecr and deployment yaml file where we pulled image from ecr
@learnTechWithSandip
@learnTechWithSandip 2 года назад
Add the permission to CodeBuild project role
@relax9513
@relax9513 Год назад
Hi @Sandip Das I have a issues "The policy was not attached to role CodeBuildKubectlRole" When I change the service role in the CodeBuild environment.
@relax9513
@relax9513 Год назад
I tried 2 options in the guide "Configuring AWS EKS Cluster for CI/CD"
@DeepakKumar-ul1qp
@DeepakKumar-ul1qp 2 года назад
Hi sandip
@DeepakKumar-ul1qp
@DeepakKumar-ul1qp 2 года назад
Hi Sandip GA I need one help in creating instance in Aws...can you please help me with this
@learnTechWithSandip
@learnTechWithSandip 2 года назад
Hi Deepak, dedicated help only available via BuyMecoffee: www.buymeacoffee.com/LearnWSandip/extras
@sujanghosh11
@sujanghosh11 Год назад
1 question. Manually you executed : 1. Cluster.yml 2. Deployment.yml 3. Service.yml But while automating, the service.yml execution is skipped. So if I need to automate from very beginning where do I need to execute the service.yml? If i execute kubectl apply -f eks_cicd/service.yaml in post_build section, will it crete new Load Balancer or it will remain unchanged?
@cheelasaikiran6348
@cheelasaikiran6348 8 месяцев назад
you got the answer?
@nilavasen8631
@nilavasen8631 Год назад
Hello Sandip, sorry to bother you , but I am getting the below error in pre-Build phase. can you please suggest ? I am not getting suitable solution in Google. Thanks in advance !! "[Container] 2022/12/17 15:42:51 Phase complete: PRE_BUILD State: FAILED [Container] 2022/12/17 15:42:51 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: aws eks --region $AWS_DEFAULT_REGION update-kubeconfig --name $AWS_CLUSTER_NAME. Reason: exit status 255"
@relax9513
@relax9513 Год назад
I have the same problem, did you solve it? @Nilava Sen
@nilavasen8631
@nilavasen8631 Год назад
@@relax9513 Hi Sorry , still did not get any suitable solution.
@loverebel6632
@loverebel6632 Год назад
your knowledge is good , but your english is very bad , looks like you are speaking bengali , you should seriously take english speaking training then it will help you in life to progress . ravindranath tagore was also bengali but got nobel prize for english poems, so it is not something you can't learn .
Далее
Викторина от ПАПЫ 🆘 | WICSUR #shorts
00:56
CI CD Pipeline with Spring Boot and AWS
1:09:05
Просмотров 8 тыс.
How to design a Deployment Pipeline (GitOps)
11:01
Просмотров 30 тыс.
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн