Deploying Spring Boot on AWS EKS (Elastic Kubernetes Service ) Tutorial | JavaTechie
Vložit
- čas přidán 1. 02. 2024
- #JavaTechie #springboot #AWS #EKS #Kubernetes
📌 In this Video, we will learn How to deploy a spring boot application on AWS EKS (Elastic Kubernetes Service) Step By Step.
AWS CLI & Kubectl installation guide :
docs.aws.amazon.com/eks/lates...
Kubernetes Playlist :
• Kubernetes
AWS (Amazon Web Services) Playlist :
• AWS (Amazon Web Services)
🧨 Hurry-up & Register today itself!🧨
Spring boot microservice Premium course lunched with 70% off 🚀 🚀
COURSE LINK : Spring boot microservice course link :
javatechie.ongraphy.com/cours...
PROMO CODE : JAVATECHIE50
Devops for Developers course link :
javatechie.ongraphy.com/cours...
COUPON CODE : NEW24
View All course : javatechie.ongraphy.com/
GitHub:
github.com/Java-Techie-jt/spr...
Blogs:
/ javatechie4u
Facebook:
/ javatechie
Join this channel to get access to perks:
czcams.com/users/javatechiejoin
🔔 Guys, if you like this video, please do subscribe now and press the bell icon to not miss any update from Java Techie.
Disclaimer/Policy:
📄 Note: All uploaded content in this channel is mine and it's not copied from any community, you are free to use source code from the above-mentioned GitHub account. - Věda a technologie
Bro this video shows your pure knowledge and experience. To the point and clearly shown. Thanks a lot!
I have been waiting for this video for the last 3 years from JavaTechie. Finally !! Thanks for uploading
I really appreciate your support buddy. I always upload the content when I explored or experience it
Why u didn't msgd instead of waiting for so long..
@@Javatechie how much it will cost to use eks cluster?
Good explanation about EKS mechanism. Thanks
Thank you very much sir. Most awaited eks topic from aws. Wonderful explanation and easy to learn from your channel. Really very very helpful for java developer
Very good! Congrat!
Please upload as many AWS topics as possible by you
You have excellent teaching skills
Big Thanks 🤩
Thank you 😊 Please checkout my AWS playlist
Thanks for the informative video
Hello Basant, Please make a video to implement spring boot oauth 2.0 with PKCE
Very useful. Thanks sir
Please share videos on drop wizard, jdbi.
Requesting you to kindly make videos on Qurkus framework
Hey, great tutorial, very clear and helpful. Can you please upload the follow tutorial how to connect dockerized MySQL database to this application? Should we use docker compose then?
You can use k8s instead of docker compose
Hi Sir ,Could you please make a session on Spring boot,docker ,kubernestes , AWS , Jenkins ,git repository so that as a Java developer we can learn everything in a single session please help me
Great video Basant !! Can we have a tutorial on spring boot logging with EKS multiple pods ? How can we lookup to app logs running on multiple pods ?
Good video can you do another video on spring boot - MySQL database with eks
Basant, appreciate your efforts. God bless you. Every week waiting for your videos. Now a days bi-weekly you are uploading videos. If possible, please do it on weekly basis based on your feasibility. "Java Techie " is my guru. 🙏👏🙂
I am so glad that you are following Javatechie. Due to some work pressure i am not getting enough time to prepare content buddy but i will try for every weekend as usual
@@Javatechieyou have helped thousands of devs really appreciate your efforts 🙏🙏
Can we use the jib maven plugin as a substitute for pushing local docker images to our ECR?
keep rocking bro
Hi,
Thank you for your efforts. I am big fan of your all tje work.. Really awesome.
I have one question at 11:30 you have used eksctl to create cluster. Later you are using kubctl to deploy application to cluster. Can we not use eksctl only rather than kubctl? Maybe I didn't understand clearly. Can you explain please
Hi Sir l,
I have questions here does Spring service registry and Service discovery is needed with AWS ?
Great
If possible please try to do videos on Data structures.
I got this error while give the command ' kubectl apply -f k8s.yaml '
error: error validating "k8s.yaml": error validating data: failed to download openapi: the server has asked for the client to provide credentials; if you choose to ignore these errors, turn validation off with --validate=false
Hi Basant, @Javatechie just wanted to ask you please... You have created the EKS cluster by terminal command and it took 14 mins. Doing the same via AWS Console takes less time? Also, I haven't fully understood how you executed in LOCAL the .yaml which contained the Deployment and the Service and it was linked with the AWS account... Can you please clarify this too? Many thanks for this video and your time :)
Hello, creating cluster in UI will also take same amount of time and from the beginning of this video I have mentioned that you need to install aws cli and your last question regarding k8s connection to aws if you observe I have executed kubeconfig update cmd which will update the aws required configuration into k8s
Is it possible to use ap-south-1 for the --region option instead of us-east-2 while executing the eksctl command?
Yes you can use any region but make sure to configure the same while setting up AWS cli
how much it will cost to use eks cluster?
What is the difference between clusterIp , Nodeport and Load balancer
These are different types of service type in kubernetes i will upload a dedicated video on it.
Hi basant thanks for this amazing video..did all things same but external ip is not working anyone can help ..pods are running logs also there
Thank you. Please confirm Have you exposed service as a load balancer?
how to connect the local terminal to execute AWS things like kubectl ?
Please install AWS cli
❤❤
Nice video but where can I find pods, services and deployments in AWS console that you did not show.please explain
You have to integrate with Argo CD to view the pods.
You can check using Kubectl command
Hi thanks for this great work. can you make a video on how to automate all this process by using codepipeline ?Thanks
Yes I will do that soon
EKS vs ECR which one better for fast scaling and price optimised
EKS is better if you need automated scaling of containerized applications based on demand
ECR is better if you need an automated process for deploying new container images from your pipelines
Using them together provides both fast, automated scaling and deployment of containerized applications
Tq bro for ur valuable knowledge ur videos always helping us and I have one question if we have hundred endpoints some we need to authenticate and some we need to permitt all so how to do it bro interview question?
That you need to handle in your security configuration using antMatchers please check my spring security video you will got it
@@Javatechie Tq for ur response bro but my doubt is like suppose we have multiple rest controller and different endpoints without manually giving in security we have any chance giving in application.properties file and configure them in the security like in ant matchers
Yes you can define those patterns in properties and using @value you can fetch in your config class
In my company still we use UAT1, UAT2 servers and prod also same. We sometimes manually copy the jar files 😢 and start the servers. How to convince management to go for cloud solution like this. Thanks.
That's our fate 😉
It seems you are not using the containerize platform. Explain the benefit to team
@@Javatechie they say that we don't have large user base, why to introduce over engineering complexity.
@@praveens2272 move to another company
can i change the region while creating cluster in eksctl?
Yes yes you can play with any cluster but make sure to configure your AWS cli to that cluster
Please do one with database
Okay will do
@@Javatechie thanks sir. Waiting ⏳
What is the difference between AWS ECS and AWS EKS ?
AWS ECS is like a special chef (proprietary service) arranging dishes (containers) on a plate (cluster), managed entirely by the restaurant (AWS). EKS, on the other hand, is like using a popular recipe book (Kubernetes) where you manage both the cooking (worker nodes) and the recipes (control plane). ECS is like having a meal ready from a restaurant, while EKS is like cooking your own dishes following a popular recipe. ECS is simpler with a set menu, while EKS gives more control in your kitchen with a variety of recipes. Choose ECS for easy dining or EKS for a customized culinary experience.
thank you basant bhai for the beautiful explanation 👏🏻👏🏻👍🏻👌🏻
ECS is simpler to use but has fewer features than Kubernetes. EKS provides the full Kubernetes experience.
ECS is fully managed, while EKS requires managing your own worker nodes.
EKS allows use of the entire Kubernetes ecosystem and tools. ECS uses a proprietary API.
EKS is a good fit if you need advanced Kubernetes features or want to standardize on Kubernetes across environments.
ECS is a good choice for simpler container workloads that don't require advanced Kubernetes capabilities.
How much cost for aws eks?
It depends how long your cluster is up
i dont belive in god
if (god really exist)
{ ill thank him for made you exist in my era };
else
{ thanks bro for the fablous contnet };
What is called scaling ? 🥺
Have you Googled it
@@Redalert2023 Scaling we can say interms of horizontal scaling where more nodes are added i.e the worker nodes so that the high user requests are redirected to different nodes and managed. Vertical scaling is about increasing the power of existing node like say from small to large. To sum up scaling is process of allocating more resources according how your developed application is actually growing and what is the demand for your application like if more users are accessing your application if there is slight increase you scale vertically if there is a rapid increase you scale horizontally. If the user interaction is very low then you remove some nodes allocated this saves the cost.
@@vsaihruthikreddy7127bro.....here node is nothing but instances right ? Am i correct or not ??
@@vivekmrudhuvan8254 It depends if you are talking about ec2 being a part of eks cluster then yeah instance I.e a virtual server acts like a node. But instead of calling it an instance we'll call it a server because a node can either be a physical server or a virtual server i.e instance. Physical servers are on premises that operates in company's supervision. So a server is more suitable word for a node rather than an instance
Thank you 😊 bro