To keep Lindorm secure and stable, access to instances is denied by default. Before you use a Lindorm instance, you must configure a whitelist to allow external devices to access it. For a higher level of security, you should regularly maintain your whitelist.
Preparations
Before you configure a whitelist for a Lindorm instance, you must obtain the IP address of the client that you want to add. The required IP address varies based on the client's location.
Client location | Network type for connection | Method to obtain the client IP address |
(Recommended) ECS instance | virtual private cloud (VPC) | Find the IP address of an ECS instance Note Ensure that the ECS instance and the Lindorm instance are in the same VPC. |
Local | Public network | Choose a method based on the operating system of the on-premises device:
|
Procedure
Setting the IP address range to 0.0.0.0/0 allows all IP addresses to access the Lindorm instance. This action creates a high security risk for your Lindorm instance. Do not add 0.0.0.0/0 to the whitelist.
Log on to the Lindorm console.
In the upper-left corner of the page, select the region where the instance is deployed.
On the Instances page, click the ID of the target instance or click View Instance Details in the Actions column for the instance.
In the navigation pane on the left, choose Access Control.
Click Create Whitelist.
In the Create Whitelist dialog box, set the Whitelist Name and Whitelist.
ImportantThe group name can contain only letters, digits, and underscores (_).
The following formats are supported for IP addresses and IP address ranges.
A single IP address, such as 192.0.XX.XX.
IP address ranges in CIDR format (Classless Inter-Domain Routing). For example, 192.0.XX.XX/24. The number after the slash (/) indicates the prefix length, which can be an integer from 1 to 32.
Separate multiple IP addresses or IP address ranges with a comma (,).
To deny access from all IP addresses, set the IP address to 127.0.0.1.
Click OK.
After the group is created, you can click Modify Group in the Actions column for the target Whitelist Name to modify its whitelisted IP addresses. You can also create new whitelist groups to manage different IP addresses.