Bro I want to run a python script how to go with that using autoscaling
@SBtt247 ай бұрын
Why in Indian region we have to use Cloudboothook . Why this simple bin/bash dosent work so smoothly ?
@vaibhavdesai70017 ай бұрын
@@SBtt24 wdym? I am following this tutorial rn could you please inform me of the changes to make for people in Indian region
@SBtt247 ай бұрын
@@vaibhavdesai7001#cloud-boothook #!/bin/bash You have to add cloud-boothook at the top make your bash code run. Also when you use cloud boothook the system will run on different folder before initialization. So you have to manage your instance packages accordingly. Things are bit complicated.
@ShamsuddeenAbdulkadir10 ай бұрын
I must say, this is one of the best ASG's set up tutorial out here.
@rajendrawarrier7274 Жыл бұрын
Crisp and clear explanation in layman's term
@albertndege55966 ай бұрын
This has to be the best AWS tutorial ever come across, Thanks @Raul
@RahulWagh6 ай бұрын
Glad it was helpful!
@MishadAhamed-j6kАй бұрын
Flowing like clear water. Each step very clear and straight forward. Thank you
@RahulWaghАй бұрын
you are welcome
@kokopopart51739 ай бұрын
Very well explained Rahul. The graphical representation really helps put things into perspective.
@SaifaldeenSAH7 ай бұрын
Thanks!
@RahulWagh7 ай бұрын
You made my day 😊
@SaifaldeenSAH7 ай бұрын
@@RahulWagh You made me do my task professionally, You're so welcome. 😃
@RahulWagh7 ай бұрын
@SaifaldeenSAH so glad to hear that
@pratasaiprasad11092 ай бұрын
ONE OF THE BEST auto scaling explanation sir thank you very much
@RahulWaghАй бұрын
You are welcome
@johncaipa Жыл бұрын
Hi thanks for the video, I wonder if the instances share the same volume or each one is independent, I also wonder what the estimated monthly price is for this setup
@RamyaPriya-d4f5 ай бұрын
One of the best ASG videos
@RahulWagh5 ай бұрын
You are welcome
@kaycay0146 ай бұрын
your videos are very detailed which help us to get complete knowledge in single video. thanks for your contribution... i have only 1 question in asg that how this instances in asg are also in target group. we have left the target group to be zero since asg will create ec2 instances based on min/max/desired how these instances will be added in target group ? that is my question
@RahulWagh6 ай бұрын
You are most welcome
@rajbas16286 ай бұрын
very good explanation Rahul ...thanks 👌
@BenNoyes-y7zАй бұрын
when creating the target group, shouldn't port 80 be set as something else? As port 80 is restricted.
@RahulWaghАй бұрын
Yes you can set it to something else
@rocktech23598 ай бұрын
Thanks for this wonderful video. I have few doubts, can you help. I built restapis using Node.js and express and deployed them on to the ec2 instance and using nginx as reverse proxy and load balancer. I built these APIs for our startup. I'm using t2.micro and my APIs are using in both android and IOS apps. I also implemented ci using GitHub actions and running cicd pipeline, it's working fine. Now we have app launch we have app launch we are expecting 200 user and they all gonna use at a time. so do i need to implement these autoscaling or my nginx loadbalancer can handle it or not. and also after these detailed information can you explain me what else i can do . if i implement this autoscaling group can i use my running instance and if load increases i will add one more instance. Thank you
@abnerbrillient13 ай бұрын
Yoo I am new to AWS but this tutorial is fire!!! Thank you
@RahulWagh3 ай бұрын
Glad you liked it!!
@shivadheeravath-so3pu6 ай бұрын
Excellent Content Dear Rahul ,Thank You So much ..
@milon27 Жыл бұрын
🎉 would you create a video on deploy a small to medium scale node js api on aws for small startup with minimum cost like 25-30 usd per month. which could increase in future. also maybe not use load balancer to reduce cost. and use docker container. and auto scaling etc
@subhashismohanty54205 ай бұрын
I wish, I could give a medal. Kudos to you brother. But one question, in the ALB security group, are you sure we should allow outgoing requests to all IPs in the outbound rule?
@sanasaryuzbashyan45268 ай бұрын
Rahul thank you for such a wonderful explanation. I just don't understand one thing. When the third instance is launched automatically, how will my project's code be deployed there?. Actually, I'm not sure if there is a smart way to deploy my website's code on all these instances, or is there another way to do this?
@ayonsaha66006 ай бұрын
How lovely you are teaching Rahul Da lovely
@RahulWagh6 ай бұрын
You are welcome
@sivabenguluru1241 Жыл бұрын
Auto scaling support which type of scaling policy it's vertical or horizontal scaling?
@RahulWagh Жыл бұрын
It is an horizontal scaling because we are increasing and decreasing the number of instances
@HarishKumar-mq1ku5 ай бұрын
Good explanation 👏
@RahulWagh5 ай бұрын
Glad you liked it
@giteshghure2126 ай бұрын
Thank you very much Sir for this all AWS Course
@RahulWagh6 ай бұрын
You are welcome
@ahmedsalahel-din13117 ай бұрын
Thank you a lot for the video👍 I was expecting to use the auto-scaling policy for any metrics, e.g. CPU util. or load balancer request count
@kondaiahp48659 ай бұрын
Thankyou very much sir with Simple explanation each and Every point
@RahulWagh9 ай бұрын
You are most welcome
@rosh1372 ай бұрын
Video is very helpful, but please discuss errors also as I was getting “502 Bad Gateway” error and later “503 Service Temporarily Unavailable” error not sure how to resolve this
@etiifiokudofiah76747 ай бұрын
Your content is so on point. Thanks so much
@nitaidas20845 ай бұрын
Very nice demo
@RahulWagh5 ай бұрын
Glad you liked it!
@enjoylife81999 ай бұрын
Have to put existing EC2 instances one in backend and frontend in auto scaling group is it possible ? Do i have to create new instance and do all installation part
@RahulWagh9 ай бұрын
Yes it is possible to do that
@siddharthtiwari53146 ай бұрын
How will my nodejs code be deployed from github to these auto-scaled instances?
@shubhamshukla41318 ай бұрын
why it show 502 bad gateway when i hit load balancer DNS
@darshandarshuu28418 ай бұрын
facing same issue
@vaibhavdesai70017 ай бұрын
@@darshandarshuu2841 Same issue
@anutest8 ай бұрын
how can we connect private subnet instances with ALB, is it possible?
@trendlines709811 ай бұрын
@rahul thank you for sharing knowledge, I tried this same to same setup but my instances are not getting public IPs and hence none of the instances gets healthy in Target Group. please advice If I am missing anything.
@RahulWagh11 ай бұрын
Public IPs has nothing to do with the health of ec2 please check the instance user data script if that has been running properly or not
@SarvadnyaRJawle11 ай бұрын
Where do we requested that what type of instances we want on demand or Spot instance.
@kaustubh1248Ай бұрын
what cab be the reason of having bad gateway error while accessing load balancer dns ?
@RahulWaghАй бұрын
There could be multitude of reasons please check ports and listeners config
@denzilpeiris492 Жыл бұрын
How may you plan the IP Addressing for a VPC and the related Sub-Nets?
@osada9611 ай бұрын
Very detailed video, thanks!
@RahulWagh11 ай бұрын
You're welcome!
@CodeKumar5 ай бұрын
Sir in part 9 You said ALB is inside VPC and here 0:33 you saying LB will call VPC, I am confused.......
@khopithansathiyakeerthy459811 ай бұрын
Hi thank you for the awesome explanation. Is it possible to create autoscaling group instances in private subnet?
@RahulWagh11 ай бұрын
Yes it is possible in the private subnet as well
@khopithansathiyakeerthy459811 ай бұрын
@@RahulWagh ohh ok... so in that case do I need to have NAT gateway for that or I can connect private subnet via load balancer?
@RahulWagh11 ай бұрын
@@khopithansathiyakeerthy4598 you first need a target group and then loadbalancer after that you should be able to connect
@khopithansathiyakeerthy459811 ай бұрын
@@RahulWagh Thank you
@khopithansathiyakeerthy459811 ай бұрын
@@RahulWagh Hi, I created two private subnets(AZ1a, AZ1b) and associated them with a new private route table. There is no IGW or NAT GW connected with that. Then I created a Target group. Then I configured a Load balancer with public subnets in two different Availability zones(AZ1a, AZ1b). After that, I created Auto Scaling group with two private subnets. But the the health check is failed and instances are being destroyed and recreated again and again. So, what would be the reason for this
@bhardwaj_abhi342111 ай бұрын
what was the use of min and max . When will no of instances reach maximum or minimum
@ToldosRanchoDeVilla11 ай бұрын
I had the same question so I investigated, AWS will try to keep the number of instances near of the desired number, if the metric is reached then the number of EC2 instances increases and the same happens if the demand is very low, the number of instances will decrease but always above the min number
@Toralchourasia11 ай бұрын
nice explanation
@RahulWagh11 ай бұрын
Keep watching
@sakshisirsat7493 Жыл бұрын
Hello sir , Ur videos r amazing. But try to show how to delete this all .
@FROYChannel8 ай бұрын
Very good information
@RahulWagh8 ай бұрын
So nice of you
@travisjae17757 ай бұрын
After doing the exact configuration, I'm getting "502 bad Gateway" I do not understand why.
@praveenkumar-lr4lb Жыл бұрын
very nice sir..👌👌
@RahulWagh Жыл бұрын
Keep watching
@sivav746411 ай бұрын
google owner teaching on aws
@RahulWagh11 ай бұрын
Hahaha no I am Rahul
@vinaykommu97616 ай бұрын
Thank you for this u r valuable information..I want to autoscaling group in diffrent region..can you tell me
@RahulWagh6 ай бұрын
@trendymusic8866 please follow the complete series and also you have a time stamp in the description to skip the initial setup
@HemalathaR-v7v11 ай бұрын
Thank you so much sir🙂
@RahulWagh11 ай бұрын
Most welcome
@DeshDeepak-wb3bu Жыл бұрын
excellent explanation!
@RahulWagh Жыл бұрын
Glad it was helpful!
@aniketsalve7689 ай бұрын
If possible can you please explain instance refresh for ASG.
@AmrutaWagh-kb3yv Жыл бұрын
I want to know if suddnly high traffic come how to resolve this issues?
@RahulWagh Жыл бұрын
You have a max count always with you which you can set to high but use scaling based on memory usage as well as cpu to have more control
@moulalucky86089 ай бұрын
What case we use load balancer and Autoscaling?
@RahulWagh9 ай бұрын
Load balancer will not scale up or scale down instances but instead it will just distribute the traffic equally but autoscalling will increase and decrease the instances
@busuyijohnson9602 Жыл бұрын
Great job!
@RahulWagh Жыл бұрын
Thanks for the visit
@mararbinu Жыл бұрын
Nice session. Please let me know how to get the Channel membership
@RahulWagh Жыл бұрын
Check the description section or you can click on this link - kzbin.info/door/7p4oXcPbgk_yTSHK7QlkSgjoin
@kmadanofficial10 ай бұрын
How did you make that architecture diagram please explain
@RahulWagh10 ай бұрын
I keep the things simple and use power point for architectural diagrams
@Selvakumar-jp8he Жыл бұрын
Hi Rahul, Can I know the information about membership, If I join the membership of any (beginner/intermediate), Have you uploaded concept videos there and Do I see that videos? Thanking you.
@RahulWagh Жыл бұрын
Not yet there are sessions which includes terraform and aws but in future i am planning to upload more topics
@Selvakumar-jp8he Жыл бұрын
Thanks for information@@RahulWagh
@manojgandham-lu7tu Жыл бұрын
Can you please start terraform to provision these all activities....
@RahulWagh Жыл бұрын
Hi Manoj i have stated terraform series to provision all the things which i have shown in this tutorial but it only for the youtube members. If you are interested then you can join my membership program. Here is the playlist for that - kzbin.info/aero/UUMO7p4oXcPbgk_yTSHK7QlkSg You can join also with - kzbin.info/door/7p4oXcPbgk_yTSHK7QlkSgjoin
@yaseenbaba3389 Жыл бұрын
Excellent 🎉
@RahulWagh Жыл бұрын
Thank you! Cheers!
@srinivasaraju83995 ай бұрын
Can I deploy spring boot application jar file same way you did
@RahulWagh5 ай бұрын
Yes you can
@vinod-qg5eb10 ай бұрын
your expiation is very good, but when you uploaded a videos in series, why are you showing the repeated process(vpc, ec2, routes, lb) every time?. If we you can save that time you can upload small videos and cover all the buttons. Sorry it's just my feedback.
@RahulWagh10 ай бұрын
I appreciate you feedback and it is valid. But I have thousands of viewers who are only interested in one topic and if i skip the networking part in any of my video then they will not understand why i am working private or public subnet or why i created the VPC in the first place. So that is the reason i try to always prepare the setup from the scratch although it might be repeated for you but to improve that experience i have provided the time stamp in the description so that you can skip the networking part which you feel repeated
@chanekyareddy11947 ай бұрын
Try to make a video on AUTOMATIC SCALING. Please
@Dineshkamas11 ай бұрын
my health status was unhealthy any reason ?
@muhammednazil3336 ай бұрын
When I run the dns that I copied from the load balancer I got 502 error why..can any one please explain it
@blackhunter85714 ай бұрын
Your web server is not working or start the apache or nginx server
@Diffplay10 ай бұрын
Hii I am getting 502 Bad gatewayError whats might be the reason
@RahulWagh10 ай бұрын
There could multiple issues for example security group, target group mapping ec2 instance subnet. Check everything one by one
@darshandarshuu28418 ай бұрын
@@RahulWagh facing 502 bad gateway issue
@vaibhavdesai70017 ай бұрын
@@RahulWagh checked everything. nothing works
@naveensmils15 ай бұрын
Hi Rahul! Could you please explain me when the 3rd instance is created by ASG due to more HTTP load, how will the 3rd instance has the same configured application and DATA which are in 1st and 2nds instances ? Usually USER DATA has only information which needs to be installed but not completely configured for production. The 3rd instance will be created as per the Template we create.
@RahulWagh5 ай бұрын
Yes it will be based on the template for the 3rd instance
@naveensmils15 ай бұрын
@@RahulWagh Thanks for your reply.. So in that case the 3rd instance template should be a mirrored image of running/Live instances?
@Onlycarszone094 ай бұрын
Good but need once more watch to make my own
@RahulWagh4 ай бұрын
Sure go ahead
@Onlycarszone094 ай бұрын
@@RahulWagh u are doing best , whats advantage of members??
@learnnetworkingwithmohan88418 ай бұрын
Not working. Health check grace period = 20. It is impossible to create a new instance and do health check in 20 s. This leads to loop like creating and terminating instances leads to server error 5xx. After changing it to 300 everything is cool. Sometimes legend make mistakes. Expecting reply from Rahul Wagh for this one
@shafiur923 ай бұрын
i want to join your zoom class
@santhoshk2590 Жыл бұрын
Good
@arunaarumugam69702 ай бұрын
If anyone is facing the issue while connecting to the webpage, like "This site can’t be reached. Took too long to respond," ensure that it is connecting through HTTP, not HTTPS.
@RahulWagh2 ай бұрын
You need to enabled the https and also need to setup certificates for this
@KuldeepPawar090811 ай бұрын
can anybody copy paste the user data script which is used by him?