i have 1 instances and i am using application load balancer

0

so should i need to use network load balancer or not , or its useless because i have only 1 instances right now

2개 답변
0

Hello,

If you are connecting to a single instance from clients it is a SPOF (Single Point of Failure) design, if you use a load balancer you can scale your Web/App fleet and achieve high availability.

As for which one to choose (ALB Vs NLB) see below link for the key differences between the two.

https://aws.amazon.com/elasticloadbalancing/features/

profile pictureAWS
전문가
답변함 2년 전
0

Hello,

  1. is there any specific reason you are using application running on only one instance ?
  2. I would recommend you to have Load balancer (ALB or NLB) based on your use case and have two ec2 instance in different Availability zone.
  3. Also launch the instances using AWS Autoscaling (ASG) .
  4. In the Autoscaling, have the health check as Load balancer, so that when loadbalancer marks any instance as unhealthy, ASG terminates the instance and launch instance new instance , also it attach the new instance back to the load balancer .

Web Application Hosting in the AWS Cloud.

AWS Serverless Multi-Tier Architectures with Amazon API Gateway and AWS Lambda

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠