Nginx技术研究系列7-Azure环境中Nginx高可用性和部署架构设计

前几篇文章介绍了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

转载于:https://www.cnblogs.com/tianqing/p/7745342.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值