I recently started reading and playing with AWS. I am particularly interested in the various high-availability architectures that can be implemented using the platform. In particular, I am looking for a reliable solution for poor people, which can be implemented using the least number of servers .
So far, I am satisfied with the solutions for the main HA tasks: load balancing, redundancy, automatic recovery, scalability ...
The only thing I have is fault tolerance solutions .
Using the ELB may seem like great, but the ELB actually uses DNS balancing under the hood. See Is AWAS Elastic Load Balancer the Only Failure Point? . Also from a Netflix Blog Post: Netflix Lessons Learned from AWS Outage
This is due to the fact that ELB is a load balancing scheme between two levels. The first tier consists of basic DNS-based load balancing. This gives the customer an ELB endpoint in the cloud that is located in one of the zones that your ELB is configured to use.
Now I learned that switching DNS is not an ideal solution, as others have pointed out, mainly because of the unpredictable DNS caching. See For example: Why DNS failover is not recommended? .
ELB, , AWS HA DNS 53.
, IP/Elastic IP (EIP) , IP- IP- Fail-over, , . , , , . , , .
, ?
, , , DNS 2 :
2 EC2 AZ. -, , , .
1 ELB 2 EC2 A, 1 ELB 2 EC2 B. , . 1 ELB ?
ELB, , , .
"1" ELB, 2 , 1, 2. 2 IP-, 2 A , , TTL.
AZ, AZ ( , 1 AZ).
IP- , , , ELB , , 30 , , -, , ELB DNS .
, DNS . 53 ( 53), , DNS, .
, / Elastic IP HAProxy . HTTP , ELB, . , . EIP . HAProxy ELB , , - . ( , AWS, - .)
Source: https://habr.com/ru/post/1610522/More articles:Rubin Mechanize Link Pop-up / New Window - ruby | fooobar.comFusion Tables layer URL request limit (2048 characters) - javascriptHow to scroll and animate SVG (draw)? - javascriptAuthentication: how to configure git bash to use SAML authentication? - command-lineKubernetes sent an api client for a specific container log - kubernetesld: cannot open the output file for writing: bin / s, errno = 2 for x86_64 architecture - c3D jump point search algorithm - algorithmКаков наиболее эффективный способ проверки последовательности чисел в массиве JavaScript? - javascriptjava game stutters faster on the processor - javaDirectShow Video Advertising - c ++All Articles