当前位置:网站首页>How to realize IP invariance in the private network of basic network ECs and cloud database resource switching
How to realize IP invariance in the private network of basic network ECs and cloud database resource switching
2022-06-24 01:20:00 【Small and invincible】
Operation scenario :
Recently received Basic network offline notification , Tencent cloud plans to 2022 year 1 month 31 Japan Stop the creation of all basic network products , The basic network products as a whole will also be launched in 2022 year 12 month 31 Japan Official offline problem , You cannot continue to use the basic network in the future , You need to switch to the private network , After the switch, it corresponds to the intranet IP It will change , And the service side is bound to the intranet IP, How to implement intranet after switching IP Do not change the problem , Please refer to the following .
Basic network concept :
The basic network is the public network resource pool of all users on Tencent cloud , Intranet of all cloud servers IP The addresses are uniformly assigned by Tencent cloud , Unable to customize network partition 、IP Address .
matters needing attention :
- Cloud database and other products , Because the migration process supports double IP visit , Ensure uninterrupted business .
- ECS needs to be shut down for migration , There will be a short interruption of business , It is recommended to select business idle switching .
- CLB Direct migration is not supported , Instances of the same configuration can be rebuilt , Gradually migrate the business traffic .
ECS operation steps :
1. Enter the corresponding resource console interface ECS console , Find the instance information to operate , Take ECS as an example .
2. Create a network that contains the underlying network IP Of VPC Network segment , If this function cannot be operated due to business reasons , You can build your own intranet DNS Service and domain name transformation , After moving to the private network , Tencent cloud can be used Private domain resolution Private DNS
2.1 Sign in Private network console Create a network that contains the underlying network IP Of VPC, The intranet of ECs IP yes 10.104.36.71 , The created network segment contains this IP that will do , For the sake of distinguishing , You can create a whole segment ,10.104.0.0/16 perhaps 10.104.36.0/24 .
2.2 Private networks are geographically oriented , ECS or other instances are in the availability zone , Therefore, we also need to create the subnet information that contains the corresponding available zone of the resource ( The ECS of the instance is located in the Fourth District of Guangzhou , Here, you need to create a subnet in zone 4 )
3. By switching private networks , Switch the ECs to the network segment just created ( The ECS switches private network functions )
3.1 Shut down the ECS first , Otherwise, the operation will require forced shutdown , Forced shutdown may cause data loss or file system corruption , At the same time, it is recommended to consider the business data security when restarting , Make snapshot backup in time
3.2 By switching private network functions , Switch the ECS network to the one just created VPC In segment
3.2 After switching, verify on the console , And log in to the server for confirmation after startup
3.3 Start the server to confirm whether the network is normal
Switch the difference interface :
Cloud database operation steps :
1. Enter the corresponding resource console interface Cloud database Mysql Console , Find the instance information to operate
2. Create a private network according to the ECS VPC Step operation , Create a network that contains the underlying network IP Of VPC Internet Information
3. The database is switched to the newly created basic network IP Of VPC Next
Switch the interface successfully
边栏推荐
- Pad User Guide
- PVE enables the hardware graphics card pass through function
- [planting grass by technology] 13 years' record of the prince of wool collecting on the cloud moving to Tencent cloud
- JS stack memory
- The dispute between traditional IT development and low code development is heated, and the technical development rules may be restructured?
- The concept of TP FP TN FN in machine learning
- Solution of self Networking Wireless Communication intercom system in Beifeng oil and gas field
- Echo framework: automatically add requestid
- Thread safety and lock optimization
- [technical grass planting] use webhook to automatically deploy my blogs on multiple sites in Tencent cloud
猜你喜欢

Cvpr2022 𞓜 thin domain adaptation

LSF opens job idle information to view the CPU time/elapse time usage of the job

Handwritten digit recognition using SVM, Bayesian classification, binary tree and CNN

Application configuration management, basic principle analysis

GNN upper edge distributor! Instead of trying to refine pills, you might as well give your GNN some tricks

js输入输出语句,变量

【Flutter】如何使用Flutter包和插件

Installation and use of winscp and putty

Isn't this another go bug?

Skywalking installation and deployment practice
随机推荐
Apple iphone14 is equipped with Beidou navigation system. What are the advantages of Beidou vs GPS?
实时计算框架:Spark集群搭建与入门案例
[solution] how to realize AI automatic recognition of high altitude parabolic behavior?
Pad User Guide
If you want to open an account for stock trading, is it safe to open an account online-
Server performance monitoring: Best Practices for server monitoring
Force buckle deletes duplicates in the sort array
An accident caused by a MySQL misoperation, and the "high availability" cannot withstand it!
Map design
Golang gets the start timestamp and end timestamp of a past or future week or month
Echo framework: automatically add requestid
Graduation project - thesis writing notes [design topic type, thesis writing details, design materials]
Niu Xuechang's anniversary celebration: software promotion, limited time and free registration code!
Skywalking installation and deployment practice
numpy. linalg. Lstsq (a, B, rcond=-1) parsing
Echo framework: implementing distributed log tracing
13 `bs_ duixiang. Tag tag ` get a tag object
Remember the performance optimization with 18 times improvement at one time
A review of Tencent digital ecology conference · wechat low code special session
[OSG] OSG development (04) - create multiple scene views