When you create an ECM instance, EIP direct access is configured by default. If your ECM instance is not configured with EIP direct access, you can run the EIP direct access script for configuration. This document describes how to configure an EIP direct access script for an ECM instance and how to restore the script if you delete it by mistake.
As EIP direct access will interrupt network connection, you need to select a method to save the EIP direct access script to the ECM instance first.
wget https://eip-direct-1254277469.cos.ap-guangzhou.myqcloud.com/eip_direct.sh
Run the following command to grant the execution permission:
chmod +x eip_direct.sh
Run the following command to run the script:
./eip_direct.sh install XX.XX.XX.XX
Here, XX.XX.XX.XX
is the EIP address, which is optional. You can also directly run ./eip_direct.sh install
without entering the address.
If you delete the EIP direct access script by mistake, you can restore it as follows:
reboot
Was this page helpful?