码迷,mamicode.com
首页 > 其他好文 > 详细

Azure环境中Nginx高可用性和部署架构设计

时间:2017-10-27 22:04:32      阅读:257      评论:0      收藏:0      [点我收藏+]

标签:架构   sel   路由   soft   prot   router   alived   span   protocol   

前几篇文章介绍了Nginx的应用、动态路由、配置。在实际生产环境部署时,我们需要同时考虑Nginx的高可用性和部署架构。

Nginx自身不支持集群以保证自身的高可用性,商业版本的Nginx+推荐:

The NGINX Plus high-availability solution is based on keepalived, which itself uses an implementation of the Virtual Router Redundancy Protocol (VRRP).

技术分享

在Azure云端环境中,我们应该怎么部署Nginx?

The HA solution based on keepalived is not supported for NGINX Plus on Microsoft Azure and Google Cloud Platform (GCP) deployments. You can use their native load balancers as a front-end high-availability solution for NGINX Plus.

Azure中使用NLB实现Nginx的高可用性。

Azure中其实提供了两种负载均衡策略:NLB和ILB,前者是外网的负载均衡,ILB是局域网内部的负载均衡。

部署架构:

技术分享

1. 部署多个Nginx节点,作为高可用性集群

2.基于Azure的NLB实现Nginx集群的负载均衡和高可用性

3.通过Nginx反向代理到内部的ILB负载均衡集群,实现请求的转发。

 

上面的架构即在Azure环境下Nginx的高可用性和部署架构设计。分享给大家,同时欢迎大家提出宝贵的建议。

 

周国庆

2017/10/27

Azure环境中Nginx高可用性和部署架构设计

标签:架构   sel   路由   soft   prot   router   alived   span   protocol   

原文地址:http://www.cnblogs.com/tianqing/p/7745342.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!