Тёмный

[ AWS 9 ] Configuring Auto Scaling Group with ELB Elastic Load Balancer 

Just me and Opensource
Подписаться 65 тыс.
Просмотров 38 тыс.
50% 1

In this video, I will show you how to configure auto scaling group in AWS for elasticity and configure Elastic Load Balancer to serve the traffic to backend web servers.
An Auto Scaling group contains a collection of Amazon EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management. An Auto Scaling group also enables you to use Amazon EC2 Auto Scaling features such as health check replacements and scaling policies. Both maintaining the number of instances in an Auto Scaling group and automatic scaling are the core functionality of the Amazon EC2 Auto Scaling service.
AutoScalingGroup Getting Started
docs.aws.amazon.com/autoscali...
aws.amazon.com/autoscaling/
docs.aws.amazon.com/autoscali...
You can use scaling policies to increase or decrease the number of instances in your group dynamically to meet changing conditions. When the scaling policy is in effect, the Auto Scaling group adjusts the desired capacity of the group, between the minimum and maximum capacity values that you specify, and launches or terminates the instances as needed. You can also scale on a schedule. For more information, see Scaling the Size of Your Auto Scaling Group.
Hope you enjoyed this video. Please share it with your friends and don't forget to subscribe to my channel. For any questions/issues/feedback, please leave me a comment and I will get back to you at the earliest I can.
If you wish to support me:
www.paypal.com/cgi-bin/webscr...
Thanks for watching this video.

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

 

7 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 188   
@kaykann7880
@kaykann7880 4 года назад
I haven't seen the whole video yet and I can't wait to comment "wow" now.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Kay, Many thanks for watching and taking time to comment/appreciate.
@laliemail7276
@laliemail7276 3 года назад
Wow
@justmeandopensource
@justmeandopensource 3 года назад
Thanks for watching.
@shaswatvashistha4191
@shaswatvashistha4191 2 года назад
Thank you for the simplest explanation
@justmeandopensource
@justmeandopensource 2 года назад
Hi Shaswat, thanks for watching.
@grimygrime
@grimygrime 4 года назад
So glad I chose your series to begin AWS. No fluff straight to the point, thanks!
@justmeandopensource
@justmeandopensource 4 года назад
Thanks for watching. Cheers.
@MarcMcRae
@MarcMcRae 4 года назад
Excellent, no fluff, clear explanation WITH solution diagram so we can visualize the end goal workflow.Thanks for sharing this easy to follow tutorial.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Marc, thanks for watching. Cheers.
@leoneildasco2517
@leoneildasco2517 3 года назад
Everything is clear and explained very well. I'm new to AWS and was able to configure ASG and ELB flawlessly. Thank you for sharing your knowledge.
@justmeandopensource
@justmeandopensource 3 года назад
Hi Leo, thanks for watching. Cheers.
@KumarBiddala
@KumarBiddala 2 года назад
Perfect video with clarity in explaining the concepts. Well done.
@justmeandopensource
@justmeandopensource 2 года назад
Hi Kumar, Thanks for watching.
@pradeepkumarar3728
@pradeepkumarar3728 2 года назад
Awesome explanation, straight to the point
@justmeandopensource
@justmeandopensource 2 года назад
Hi Pradeep, thanks for watching.
@sreehari7514
@sreehari7514 2 года назад
never seen a crystal clear explanation like this!!! . Thank god i found you
@justmeandopensource
@justmeandopensource 2 года назад
Hi Hari, many thanks for watching. Cheers.
@jai4uuuu
@jai4uuuu 4 года назад
OMG! I feel more useful and better than UDEMY and CB NUGGETS. Thank you so much brother for your help and the videos. May God bless you!
@justmeandopensource
@justmeandopensource 4 года назад
Hi Jai, thanks for watching this video and you made my day :)
@successroutines
@successroutines Год назад
I love your channel man. Good explanations of concepts with practical demonstrations and I leave after 20-30 minutes knowing how to do something. Your videos are worth a lot more views than they get.
@justmeandopensource
@justmeandopensource Год назад
Hi Ahgee, many thanks for your comment. Much appreciated. Good to know that you are finding this helpful.
@rfrancoi
@rfrancoi 4 года назад
Man, that was EXCELLENT!!! Thank you.
@justmeandopensource
@justmeandopensource 4 года назад
Hi, thanks for watching. Cheers.
@aashishsahni90
@aashishsahni90 2 года назад
Wonderful explanation, straight to the point. Many thanks for such an informative stuff! Cheers An IT Engineer working in Gemany
@justmeandopensource
@justmeandopensource 2 года назад
Hi Aashish, thanks for watching. Cheers.
@PasanMissaka
@PasanMissaka 4 года назад
Good job, I couldn't find a video detailing the whole flow in a such short time.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Pasan, thanks for watching.
@TechMaster011
@TechMaster011 4 года назад
You are an amazing teacher. Thank you
@justmeandopensource
@justmeandopensource 4 года назад
Hi Lennon, many thanks for watching.
@guoxianwu6797
@guoxianwu6797 2 года назад
I haven't watched the whole video. But topology explanation and steps involved to create an autoscaling group were clearly articulated. That is a big thumb up from me. Believe me, there are a lot of ec2 auto scaling videos out there, but none provides the whole picture from the topology point of view. Well, done.
@justmeandopensource
@justmeandopensource 2 года назад
Hi Guo, many thanks for watching and giving feedback. Cheers.
@dllsethr00
@dllsethr00 3 года назад
Very clear explanation. Straight to the point! Thanks brother
@justmeandopensource
@justmeandopensource 3 года назад
Hi John, thanks for watching. Cheers.
@kskumar7771
@kskumar7771 4 года назад
Hi Venkat, Bro HIghly appreciated your efforts, Many peoples get benefited by watching your tutorials. Without excepted anything you’re making efforts really speechless bro. Once again I would like to say Thanks a lot Bro.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Kumar, Thanks for watching this video and taking time to comment/appreciate. It gives me immense pleasure in sharing my knowledge with others. Cheers.
@geet6864
@geet6864 3 года назад
I just love the explaination
@justmeandopensource
@justmeandopensource 3 года назад
Thanks for watching.
@ujjalm007
@ujjalm007 3 года назад
Very Good. complete practical demonstration. Thank you!
@justmeandopensource
@justmeandopensource 3 года назад
Hi, thanks for watching. Cheers.
@Hackenbaker
@Hackenbaker 4 года назад
So well explained. Thanks a lot.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Mario, thanks for watching. Cheers.
@shubhamkhuteta828
@shubhamkhuteta828 2 года назад
Glad to see such amazing content on this topic, thank you very much :-)
@justmeandopensource
@justmeandopensource 2 года назад
Hi Shubham, thanks for watching.
@asifahmed9228
@asifahmed9228 2 года назад
Thanks for this awesome content... really useful.
@justmeandopensource
@justmeandopensource 2 года назад
Hi Asif, thanks for watching.
@vedv974
@vedv974 2 года назад
Simply awesome bro doo more videos.
@justmeandopensource
@justmeandopensource 2 года назад
HI, thanks for watching.
@shamashahbaz3200
@shamashahbaz3200 4 года назад
THANKS A LOT , VERY WELL EXPLAINED
@justmeandopensource
@justmeandopensource 4 года назад
Hi Shama, thanks for watching. Cheers.
@manashroy3076
@manashroy3076 4 года назад
Nice & clean video. Keep it up.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Manash, thanks for watching. Cheers.
@mahmoudbishr917
@mahmoudbishr917 3 года назад
Thanks for this video
@justmeandopensource
@justmeandopensource 3 года назад
Hi Mahmoud, thanks for watching. Cheers.
@jinenabdelhak
@jinenabdelhak 3 года назад
excellent video
@justmeandopensource
@justmeandopensource 3 года назад
Hi Jinen, thanks for watching. Cheers.
@avs.6avs.613
@avs.6avs.613 4 года назад
want videos on route 53 and more upcoming topics, and you are videos are awesome and very clear. Please keep posting
@justmeandopensource
@justmeandopensource 4 года назад
Hi, thanks for watching. I will definitely be doing more videos in this series. Cheers.
@avs.6avs.613
@avs.6avs.613 4 года назад
@@justmeandopensource Thanks a lot waiting for more AWS series
@justmeandopensource
@justmeandopensource 4 года назад
@@avs.6avs.613 Will do. Cheers.
@taujago
@taujago 2 года назад
you saved my life bro. already subscribe on you channel. thank you very much
@justmeandopensource
@justmeandopensource 2 года назад
No worries. Thanks for watching.
@dimatrofimchuk
@dimatrofimchuk 4 года назад
Thanks so much man !
@justmeandopensource
@justmeandopensource 4 года назад
Hi Dmytro, thanks for watching.
@avs.6avs.613
@avs.6avs.613 4 года назад
Hi Venkat, We are waiting for your AWS videos like Route53, S3, ELB, EBS, EC2[ this is very huge topic we want more depth experience on this EC2] and still more VPC practical things like Transit gateway and examples and, You are videos are amazing with clear explanation. Hope you will release your AWS videos asap, and this is the good time to scale up my skills on AWS. Requesting you to kindly do more and more on AWS asap. May God bless you Venkat.
@justmeandopensource
@justmeandopensource 4 года назад
Hi, thanks for your interest in this channel. I will be doing more videos in this series. Currently my focus has shifted to Google Cloud and keeping on top of my Kubernetes series. But will continue this one as well whenever I get some time. Cheers.
@ravindraravi7435
@ravindraravi7435 2 года назад
Thank you ^^
@justmeandopensource
@justmeandopensource 2 года назад
Thanks for watching.
@muhaimina5873
@muhaimina5873 Год назад
Hi, amazing
@justmeandopensource
@justmeandopensource Год назад
Thanks for watching.
@akhilkrishna5547
@akhilkrishna5547 3 года назад
it helped
@justmeandopensource
@justmeandopensource 3 года назад
Hi Akhil, thanks for watching. Cheers.
@HA04259
@HA04259 4 года назад
Hi Venkat, Very nice topic thank you. I have implemented route53 with single ec2 instance. I haven't tried with route53 with autoscaling. If you have plan to release this topic in your future video id be happy to wait.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Hareesh, thanks for watching this video. There are lots of topics I have got that are yet to be recorded. I will add this when it comes to Route53 concepts. Thanks for suggesting this topic. Cheers.
@nitiz281
@nitiz281 2 года назад
helpful!
@justmeandopensource
@justmeandopensource 2 года назад
Thanks for watching.
@nitiz281
@nitiz281 2 года назад
@@justmeandopensource there are many comments in this section and you have replied to each one of them. That's wonderful.
@justmeandopensource
@justmeandopensource 2 года назад
@@nitiz281 I try my best to respond to everyone but thats is getting increasingly difficult to keep up these days 😀
@nitiz281
@nitiz281 2 года назад
@@justmeandopensource haha, I am sure it's difficult but I can also guess that there must be some mini-celeb like feeling too when many people appreciate ya videos
@justmeandopensource
@justmeandopensource 2 года назад
@@nitiz281 yeah definitely. Thats the motivation behind me keeping up with new videos.
@2627srikanth
@2627srikanth 2 года назад
HI VENKAT, Great videos , Please let us know about Placement groups and cloud formation
@FunWithAJ
@FunWithAJ 3 года назад
Great video! Wondering if you can do an update video since the consoles have all been refreshed with a new user experience.
@justmeandopensource
@justmeandopensource 3 года назад
Hi, thanks for watching. Sure. I will add it to my list. Currently my focus is on the kubernetes series. But will get to this when I get some time. Cheers.
@anilg7915
@anilg7915 4 года назад
Great Stuff Venkat. Can we have a demo on spot instance provisioning in eks workernodes?it is really helpful as part of aws cost optimisation. Looking forward for the same.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Anil, Thanks for watching this video. I have only recently started this "Learn AWS" series. I have planned lots of videos. I will definitely add this to my list and get it done. Cheers.
@JackReacher1
@JackReacher1 3 года назад
Clear Explaination in the video. I understand how we can create ami when using apache 2 server with index.html file but... If I want to create an ami such with a flask server, such that it starts as soon as I launch the instance. How would I do it? Can you help with this?
@9fxhrlif9er
@9fxhrlif9er 3 года назад
Can an ELB Classic (CLB) distribute traffic to two different Auto Scaling Groups, both running the same applications? (i.e. Kubernetes Masters in different AZs)
@rupeshpatil6957
@rupeshpatil6957 Год назад
Thanks Buddy. Is it mandatory to have public IP for the EC2 instances?
@ehro
@ehro 3 года назад
Would I need EFS to connect the information between new instances launched and the original server?
@justmeandopensource
@justmeandopensource 3 года назад
Hi Joseph, thanks for watching. There is a launch configuration which the Auto scaling group uses to launch similar instances. Basically everything is baked inside the image itself. So all instances launched by ASG will be identical.
@maheshnarayan6440
@maheshnarayan6440 4 года назад
Hi, thank you so much for this video. It was super useful !. One QQ: If I need to scale out or scale in my EC2 instances based on some elb metrics, such as latency or requests count (which are emitted by the elb), how should I do that? E.g. I would be having instances attached to the target group and launched or terminated by ASG, but I want the scaling to be determined by the average latency or the request volume. These 2 metrics are only available for elbs and not for nodes. Is it possible to do this? Thanks.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Mahesh, thanks for watching. See if this helps docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html
@anoopneo
@anoopneo 3 года назад
Hi Venkat.How AWS takes care of stateful applications and auto scale them.?? Web applications are stateless and can be easily scaled.
@justmeandopensource
@justmeandopensource 3 года назад
Hi Anoop, AWS doesn't care whether your applications are stateful or stateless. You have a launch configuration that specifies how to launch the instance and you have auto scaling group that uses this launch configuration. ASG maintains the required number of instances based on scaling policies you define. Thats all AWS does. You will have to make sure how the instances manage the data. You either bake the data within the AMI or use EFS or external NFS for storing data persistently. Cheers.
@AKASHRAJ79
@AKASHRAJ79 2 года назад
Wonderful explanation, straight to the point. But i'm having one question.. Can we create a elastic load balancer using windows server as an instance ??
@justmeandopensource
@justmeandopensource 2 года назад
Hi Akash, thanks for watching. You can use load balancer with any backend instances.
@AKASHRAJ79
@AKASHRAJ79 2 года назад
@@justmeandopensource yeah thanks , i have tried using windows instance but i cant connect to remote instance. its saying you cannot connect to remote server as it is not available
@justmeandopensource
@justmeandopensource 2 года назад
@@AKASHRAJ79 In theory, you should be able to and as I don't have the full context of what you are doing, my assistance will be very limited.
@AKASHRAJ79
@AKASHRAJ79 2 года назад
@@justmeandopensource tq sir for help
@justmeandopensource
@justmeandopensource 2 года назад
@@AKASHRAJ79 you are welcome.
@STATHITHIYAN
@STATHITHIYAN 3 года назад
Hi Venkat, Thanks for the amazing video, how do i connect elastic IP to load balancer?
@justmeandopensource
@justmeandopensource 3 года назад
Hi, thanks for watching. I need more details of what you are trying to do so that I can offer advice. Cheers .
@mouhamedfall3792
@mouhamedfall3792 4 года назад
Hi venkat, Thank you very much for this tutorial which is very understandable however i want to know if you will do a tutorial on devops like for example deploy kubernetes on aws and CI / CD Thank you
@justmeandopensource
@justmeandopensource 4 года назад
Hi Mouhamed, thanks for watching this video. Yes I have plans to do that as well. I am not sure if you are aware of my other playlist in my channel dedicated for Kubernetes. kubernetes related videos will be uploaded to that playlist. But once I record those videos, I will also add them to this AWS playlist. I am not there yet but will soon record it after doing the ones I have already got in my todo list. Cheers.
@mouhamedfall3792
@mouhamedfall3792 4 года назад
@@justmeandopensource Great I just discovered your channel and I take a lot of things with you and and i am verry happy so I'm wating for the new videos thank you
@justmeandopensource
@justmeandopensource 4 года назад
@@mouhamedfall3792 Thanks Mouhamed. I have been uploading videos to "Learn Kubernetes" playlist for over 10 months. Its an ongoing series and you will see 1 video every Monday. Please subscribe for notifications. Cheers.
@rayofblue
@rayofblue 4 года назад
Textbook of the AWS
@justmeandopensource
@justmeandopensource 4 года назад
Hi First Last, thanks for watching this video and taking time to comment. Cheers.
@balajiramachandran2594
@balajiramachandran2594 4 года назад
Hi Venkat, I'm running my application on port 3000 instead of 80, while autoscaling the target groups it will automatically register 80 port instead of 3000. I need to register 3000 port in target groups while autoscaling. could you please help me out.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Balaji, thanks for watching. You can specify the right port in Target group configuration. See 9:20 in this video where the protocol is http and port is 80. Change that to 3000.
@CloudMasteryAnshoo
@CloudMasteryAnshoo 2 года назад
This configuration is good for static content but what about dynamic changes which is frequently done in daily basis on instance level. WordPress based content are daily changes in /var/www/html/website/folder. how ASG work with that one ?
@justmeandopensource
@justmeandopensource 2 года назад
The same process applies to dynamic websites as well. You have to do all the setup using user data field in launch configuration during bootstrap.
@ragnarslygaming2772
@ragnarslygaming2772 3 года назад
I have a question. What if you need to update the source code of your application?
@tejakirankumarjami9993
@tejakirankumarjami9993 4 года назад
Thankyou so much for you video... If I have my instanced already added to my ELB and now I want those to be added to ASG.. is it possible
@justmeandopensource
@justmeandopensource 4 года назад
Hi Teja, thanks for watching. Concepts involved in this video are * Application Load Balancer * Target Group * Launch Configuration * Auto Scaling Group * AMI You will configure an Application Load Balancer which is when you will define the target group. You then create a Launch configuration and then Auto scaling group. In the auto scaling group configuration you specify the load balancer and the target group you created earlier. Now coming to your question, you already have an instance behind the load balancer and need to add Auto scaling group. You already have ALB and target group. What you need now is a launch configuration and auto scaling group. You will have to create an AMI from your current instance and then follow the launch configuration and ASG process. Cheers.
@tejakirankumarjami9993
@tejakirankumarjami9993 4 года назад
Just me and Opensource hi there, thank you for your reply, so what I understand is we cannot add the existing ones under ASG right
@justmeandopensource
@justmeandopensource 4 года назад
@@tejakirankumarjami9993 As I explained previously, the way ASG works is by having a launch configuration that tells how to launch an instance. You have to create an AMI and launch configuration and let ASG create desired amount of instances. You can't just add instances yourself to an ASG.
@rustamaliahmed5886
@rustamaliahmed5886 3 года назад
Sir, how to configure ELB with auto scaling for database and file upload server, please help me...
@zulhilmizainudin
@zulhilmizainudin 4 года назад
Thank you for this video. Question - is there a way to "pin" an instance in the ASG? For example, I always want a t2.micro instance with ID say i-xyz123 and IP address 123.456.78.912 (EIP) to always exist in my AWS account and not get deleted when auto-scaling policy tries to add/remove instances in my account. This instance should have same networking configurations with other instances in ASG i.e. deployed in same region, VPC, IGW, AZ, NACL, subnet, SG and attached to the same ALB/ELB used by those instances in the ASG. Appreciate if you can make a video about this. Thank you in advance.
@justmeandopensource
@justmeandopensource 4 года назад
Hi, thanks for watching. You should be able to prevent a particular instance from being terminated during scale down of ASG. I think its called "Scale In" protection. If you go to the autoscaling page, where it lists your current instances in the ASG group, you can select the instance and click "Set Scale In protection" or something like that. Cheers.
@zulhilmizainudin
@zulhilmizainudin 4 года назад
@@justmeandopensource noted. Thanks!
@justmeandopensource
@justmeandopensource 4 года назад
@@zulhilmizainudin You are welcome. Cheers.
@yashaswisharma841
@yashaswisharma841 4 года назад
Hi Venkat, Could you please help me that how to configure path-based routing in application load balancer for the docker apps through elastic beanstalk deployment.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Yashaswi, thanks for watching this video, I think you get the url endpoint for your elastic beanstalk application you have deployed. This will be the top level url endpoint and the application load balancer is taken care by elastic beanstalk itself. All the routing logic will have to be dealt with the application code you deployed in that environment. For example, when I deploy a Python flask based application, I will get the root url endpoint for my application and other paths will be handled in my flask code. Thanks.
@yashaswisharma841
@yashaswisharma841 4 года назад
@@justmeandopensource But if I want to configure high availability and want to use an application load balancer and in that there are rules and we can configure path pattern-based routing in that. I am asking about that. like I have deployed docker app to elastic beanstalk by uploading the zip file which has Dockerfile and application jar but now while configuring the elastic beanstalk environment I want application load balancer by default it will take classic but I want to use an application load balancer with path-based routing.
@justmeandopensource
@justmeandopensource 4 года назад
Alright. I understand it now. There is a general documentation on how to configure path-based routing in Application load balancer. docs.aws.amazon.com/elasticloadbalancing/latest/application/tutorial-load-balancer-routing.html And there is Application load balancer configuration documentation related to Elastic Beanstalk which is what you might want to look at. docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-cfg-alb.html Then under the listeners section, you can configure your paths and health checks. Thanks.
@yashaswisharma841
@yashaswisharma841 4 года назад
@@justmeandopensource thanks Venkat... If possible please prepare video on same.elatsic beanstalk with application load balancing... :)
@justmeandopensource
@justmeandopensource 4 года назад
@@yashaswisharma841 Sure.
@haroonrasheed-ey9bx
@haroonrasheed-ey9bx 3 года назад
Sir, I am facing an issue in security groups. When I allowed default route and try to access EC2 instance using SSH it works, but when I use my IP as a source in security group and try to access the instance using ssh, it doesn't work. Please tell me how to figure it out?
@yashwanth4786
@yashwanth4786 4 года назад
Is user data is mandate at the time of creating instance or I can install webserver once the instance is created. Have faced a issue while doing the lab error '502' .
@justmeandopensource
@justmeandopensource 4 года назад
Hi Yashwanth, thanks for watching. Userdata field is there just for automation. And it gets executed when the instance is launched. You can always run the commands later after instance started if you don't want to use user data.
@yashwanth4786
@yashwanth4786 4 года назад
@@justmeandopensource Thank you for answering my query. I am facing error 502 , showing instance health status as unhealthy and new instance are coming up . But this was going into loop. No actual output observed . Completely lost my weekend to achieve still no luck.
@justmeandopensource
@justmeandopensource 4 года назад
@@yashwanth4786 I think the health check is failing. The load balancer will route traffic only to the ec2 instances that are healthy. For some reason they don't seem to be healthy. So your web application might not be running properly. Just launch a separate ec2 instance from the ami and see if the web server is running.
@yashwanth4786
@yashwanth4786 4 года назад
@@justmeandopensource i have tried to access nginx default page on general instance. Am not able to access same O/P when the instances were under auto scaling. Sorry for putting lot's of queries
@justmeandopensource
@justmeandopensource 4 года назад
No worries. At 7:41 in load balancer configuration, have you chosen internet facing and then put it in the appropriate VPC and subnet where your ec2 instances are running?
@mayankrawat3942
@mayankrawat3942 4 года назад
While accessing the dns name of load balncer i am getting 503 service temporary unavailable error
@justmeandopensource
@justmeandopensource 4 года назад
Hi Mayank, thanks for watching. If you get 503, then your web application is not running on the ec2 instances. First test this setup without load balancer and make it work so that you can access the web application. Then introduce the loadbalancer.
@mayankrawat3942
@mayankrawat3942 4 года назад
@@justmeandopensource Actually it was my fault i attched another target grp to it. Thanks man for such an amazing vdo, i was trying this for whole day yesterdayyy. Stay blessed bro!
@justmeandopensource
@justmeandopensource 4 года назад
@@mayankrawat3942 Ah that explains. Cool.
@kayoutube690
@kayoutube690 4 года назад
Hello, Do you know how to fix this issue shows on my Load Balancer under Target Group. "Health checks failed with these codes: [502]"
@justmeandopensource
@justmeandopensource 4 года назад
Hi James, thanks for watching. Error code 502 is internal error which means the actual web service is not running. Please make sure your web application on your ec2 instances are running. Load balancer target group will do health checks to see if the backend ec2 web servers are healthy. Thanks.
@kayoutube690
@kayoutube690 4 года назад
@@justmeandopensource thank you.
@justmeandopensource
@justmeandopensource 4 года назад
@@kayoutube690 You are welcome. Cheers.
@kayoutube690
@kayoutube690 4 года назад
@@justmeandopensource sir do you have tutorial for the different instance type in aws?
@justmeandopensource
@justmeandopensource 4 года назад
@@kayoutube690 I haven't done any videos on that. But its really easy. You can get more details at aws.amazon.com/ec2/instance-types/. Basically they are classified based on the number of CPUs, amount of memory, network speed/throughput and so on.
@andrewgrove4800
@andrewgrove4800 4 года назад
What is "hotch" ttpd?
@justmeandopensource
@justmeandopensource 4 года назад
Hi Andrew, thanks for watching this video. I have no idea what you are talking about.
@chetanyadav5493
@chetanyadav5493 3 года назад
sir, I have tried at least 10 times but every time ASG checks the health of the instance and deregister it and this I happening again and again. can anyone help me out?
@justmeandopensource
@justmeandopensource 3 года назад
Hi Chetan, thanks for watching. It would be difficult to troubleshoot it remotely. The reason auto scaling group deregisters the target is because it thinks the target is not healthy. You would have defined health check on your target group. And make sure the health check is fine. Example, you might have configured health check on url /health and it should return 200 ok http return code. But if your web application doesn't have /health endpoint, then it is not a proper health check.
@chetanyadav5493
@chetanyadav5493 3 года назад
@@justmeandopensource yes sir now I am able to do it. Actually my security group won't allow to check the heath of instance that's why in spite of being heathy ASG deregister it. Thanku sir for Concerning my comment.
@chetanyadav5493
@chetanyadav5493 3 года назад
@@justmeandopensource sir if there is any possibility that i can frequently ask doubt with u. I am preparing for my solution Architect exam. Can u help me sir..
@justmeandopensource
@justmeandopensource 3 года назад
@@chetanyadav5493 Perfect.
@justmeandopensource
@justmeandopensource 3 года назад
@@chetanyadav5493 I am not concentrating on AWS recently. But if you have questions on any of the videos that I have in this series, I will be happy to help if you ask them in the respective comments section. Cheers.
@duraivelperumal7885
@duraivelperumal7885 4 года назад
why you created the AMI and deleted it in the last
@justmeandopensource
@justmeandopensource 4 года назад
Hi Duraivel, thanks for watching. I deleted the AMI at the end as part of cleaning up.
@ankireddy5483
@ankireddy5483 4 года назад
if i want to change code in server ,how can i send code ,if change code in one server what about another server
@ankireddy5483
@ankireddy5483 4 года назад
i want to change code hello world to hello people then wre i have to change bro ,please reply me
@justmeandopensource
@justmeandopensource 4 года назад
@@ankireddy5483 Thanks for watching this video. In this video, i installed httpd and created HTML file while launching the instance using the userdata field. Then created an image from that instance. Then created a launch configuration based on that image. Auto scaling group is created with this launch configuration. So basically the html file is baked into the ami. I would suggest following this approach create an instance and configure to your liking and then create an image. Cheers.
@ankireddy5483
@ankireddy5483 4 года назад
@@justmeandopensource configure to your liking means ?
@justmeandopensource
@justmeandopensource 4 года назад
@@ankireddy5483 Configure the web server like how you want it.
@ankireddy5483
@ankireddy5483 4 года назад
@@justmeandopensource okay thanks for replying bro ,will try ....
@SyaoCrt
@SyaoCrt 3 года назад
Hi "Just me and Opensource", Could you create a patreon account so that I can support you easier ?
@justmeandopensource
@justmeandopensource 3 года назад
Hi Syao, thanks for watching. I used to have a Patreon account but didn't feel the need for it and closed it. I do have a Paypal link in the video description though. And thanks for your interest in this channel. Cheers.
@balajiramachandran2594
@balajiramachandran2594 4 года назад
Hi Venkat, I'm running my application on port 3000 instead of 80, while autoscaling the target groups it will automatically register 80 port instead of 3000. I need to register 3000 port in target groups while autoscaling. could you please help me out.
@justmeandopensource
@justmeandopensource 4 года назад
Hi Balaji, thanks for watching. You can specify the right port in Target group configuration. See 9:20 in this video where the protocol is http and port is 80. Change that to 3000.
Далее
меня не было еще год
08:33
Просмотров 2,7 млн
AWS Elastic Load Balancer (ELB) Tutorial How-To
21:35
Postgres Internal Architecture Explained
33:16
Просмотров 146 тыс.
меня не было еще год
08:33
Просмотров 2,7 млн