- Azure for Architects
- Ritesh Modi
- 273字
- 2021-07-08 09:33:43
Public load balancing
In this configuration, load balancers are assigned a public IP address. Assigning a public IP address ensures that the load balancer can accept requests coming in from the internet. Without a public IP address, it is not possible to access the resource from the internet. The load balancer can be configured with load balancing rules. Load balancing rules work at the port level. It accepts source and destination ports map them together such that whenever a load balancer receives a request for the source port, the request is forwarded to a virtual machine from a group of virtual machines attached to the load balancer on the destination port. This is shown in the following diagram:

But how does this entire thing work? How is a public IP address assigned to a load balancer? What does the load balancer contain? How is it configured with load balancer rules? How does the load balancer send requests to the virtual machines? How does the virtual machine know that it is attached to the load balancer and more? The answer to all these questions is visible in the following diagram.
In this configuration, the load balancer is assigned a public IP address. The load balancer is accessible from the internet and can accept client requests. The load balancer can be configured with load balancing and NAT rules. Both NAT and load balancing rules are part of the frontend configuration. The frontend configuration sends client requests to one of the IP address available in the backend pool. These IP addresses are associated with the network interface card, which in turn is attached to virtual machines.

- 新編Visual Basic程序設(shè)計(jì)上機(jī)實(shí)驗(yàn)教程
- Android應(yīng)用程序開(kāi)發(fā)與典型案例
- LabVIEW入門(mén)與實(shí)戰(zhàn)開(kāi)發(fā)100例
- PaaS程序設(shè)計(jì)
- 技術(shù)領(lǐng)導(dǎo)力:程序員如何才能帶團(tuán)隊(duì)
- Python爬蟲(chóng)開(kāi)發(fā)與項(xiàng)目實(shí)戰(zhàn)
- SEO智慧
- Java程序設(shè)計(jì)與實(shí)踐教程(第2版)
- 差分進(jìn)化算法及其高維多目標(biāo)優(yōu)化應(yīng)用
- Visual C++應(yīng)用開(kāi)發(fā)
- 精通MATLAB(第3版)
- 軟件測(cè)試教程
- PHP與MySQL權(quán)威指南
- 算法圖解
- Arduino電子設(shè)計(jì)實(shí)戰(zhàn)指南:零基礎(chǔ)篇