Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to access VIP through floating IP

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to access VIP through floating IP, aiming at this problem, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

We are testing VIP directly with curl, and in more real-world scenarios we usually use floating IP to access VIP.

Let's associate a floating IP with VIP and test it.

Visit Project-> Compute-> Access & Security, open the Floating IPs tab, and click the "Allocate IP to Project" button.

Select "ext_net" in the drop-down list, and Neutron will assign floating IP from this network.

Click "Allocate IP".

The assigned IP is "10.10.10.7". Click the Associate button.

Select "VIP for web servers: 172.16.100.11" in the "Port to be associated" list and click "Associate".

Successfully associate the public network IP 10.10.10.7 to VIP.

The following is the curl test in instance with IP 10.10.10.4.

Floating IP takes effect and load balaner works normally.

LBaaS section

LBaaS provides tenants with the ability to scale out applications.

Tenants can balancing external requests to multiple instance and achieve high availability of applications through monitor.

The current implementation of LBaaS is based on HAProxy, and its function has been able to meet the needs of ordinary business.

This is the answer to the question about how to access VIP through floating IP. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report