Network access endpoints
This topic describes the concepts, configuration, and common usage of network access endpoints.
Introduction
IDaaS EIAM instances access networks through network access endpoints, which are divided into Dedicated Network Access Endpoint and Shared Network Access Endpoint. A Dedicated Network Access Endpoint can be used only after it is purchased (Dedicated Endpoint billing), whereas a Shared Network Access Endpoint is free to use.
Dedicated Network Access Endpoint
Dedicated Network Access Endpoint is a network access endpoint that is exclusive to your EIAM instance. In essence, your EIAM instance holds an elastic network interface (ENI) in your VPC. You can configure security group rules or network settings for this ENI to enable dedicated private network access or dedicated public network access for the EIAM instance.
Dedicated private network access
After the EIAM instance connects to your Alibaba Cloud VPC over a private network, you can synchronize data for AD, LDAP, and applications and perform delegated authentication for AD and LDAP without opening public ports. The following table uses AD as an example to show the supported approaches for different network plans.
AD and the ENI belong to the same Alibaba Cloud VPC

If your AD domain server and the ENI held by EIAM belong to the same Alibaba Cloud VPC, use the following network ACL approach:
In the security group to which the AD domain server belongs, allow traffic from the IP address of the ENI.
AD and the ENI belong to different Alibaba Cloud VPCs

If your AD domain server and the ENI held by EIAM belong to different Alibaba Cloud VPCs, use the following network ACL approach:
Connect the different Alibaba Cloud VPCs by using Cloud Enterprise Network (CEN).
In the security group to which the AD domain server belongs, allow traffic from the IP address of the ENI.
AD belongs to an on-premises data center or another cloud service provider

If your AD domain server is in your own on-premises data center or is hosted by another cloud service provider, use the following network ACL approach:
Use a leased line, such as a VPN, to connect the Alibaba Cloud VPC to the data center or other cloud service provider to which the AD domain server belongs.
In the firewall where the AD domain server resides, allow traffic from the IP address of the ENI.
Dedicated public network access
After the EIAM instance connects to your Alibaba Cloud VPC over a private network, you can associate an elastic IP address (EIP) with the ENI held by EIAM, or associate an Internet NAT gateway with your VPC. The EIAM instance can then access the Internet by using your public IP address. You can use this public IP address as a trusted IP address in WeCom to meet the relevant WeCom requirements.
Shared Network Access Endpoint
The shared endpoint is the default network access endpoint for EIAM instances. All EIAM instances share it. Only public network access is supported.
Comparison of the two endpoint types
Capability
Dedicated Network Access Endpoint
Shared Network Access Endpoint
Access a private network by using a dedicated IP address
Supported
Not supported
Access the Internet by using a dedicated IP address
Supported
Not supported
Access the Internet by using a shared IP address
Not supported
Supported
Ownership of network access endpoint resources (ENI, security group, and so on)
Your Alibaba Cloud account
The IDaaS team
Available by default
No
Yes
Free of charge
No
Yes
Network access endpoint support
The following table describes the current network access endpoint support of each module. All modules use the shared endpoint by default. To change this, you must switch manually.
Module
Dedicated Network Access Endpoint - private network access
Dedicated Network Access Endpoint - public network access
Shared Network Access Endpoint - public network access
DingTalk inbound identity provider
Not supported
Not supported
Supported
DingTalk outbound identity provider
Not supported
Not supported
Supported
AD inbound identity provider
Supported
Supported
Supported
LDAP inbound identity provider
Supported
Supported
Supported
WeCom inbound identity provider
Not supported
Supported
Not supported
Marketplace application
Not yet supported
Not yet supported
Supported
SAML application
Single sign-on (SSO): does not depend on a dedicated endpoint;
Data synchronization: supports access by using a dedicated endpoint.
Supported
OIDC application
Supported
Custom application
Not yet supported
Not yet supported
Supported
Add a dedicated endpoint
On the Network Access Endpoint tab, complete the following steps:
Create a service-linked role (SLR)
When you access the Network Access Endpoint page or click Add Dedicated Endpoint, if no service-linked role exists, you must first create the IDaaS EIAM service-linked role. Only an Alibaba Cloud account or an Alibaba Cloud user that has the
AliyunIDaaSEiamFullAccesspermission can perform this operation.In the dialog box, confirm that the role name is
AliyunServiceRoleForEiamand that the role authorization policy isAliyunServiceRolePolicyForEiam, and then click Confirm Create.Upgrade or scale up the instance
The existing Dedicated Network Access Endpoint count of your instance must be less than the Dedicated Network Access Endpoint quota before you can create a Dedicated Network Access Endpoint. The Dedicated Network Access Endpoint quota must be purchased separately.
For a Free Edition or trial instance, upgrade the instance and purchase the Dedicated Network Access Endpoint quantity on the buy page.
For an Enterprise Edition instance, Upgrade instance configuration and purchase the Dedicated Network Access Endpoint quantity on the buy page.
NoteCurrently, each EIAM instance supports a maximum of one Dedicated Network Access Endpoint.
Select resources
Click Add Dedicated Endpoint and configure the required information.
Display Name: the display name of the Dedicated Network Access Endpoint, which is displayed only in the console.
Select Region: the region of the VPC that you want to connect to.
Select VPC: the VPC in the current region. If you require private network access to services such as AD, LDAP, or applications, select the VPC where these services reside or a VPC that can access these services.
Select vSwitch: the vSwitches in the current VPC. The available IP address count of a vSwitch must be greater than 2, and the vSwitch cannot use the 33.x.x.x CIDR block. You can select a maximum of two vSwitches.
ImportantAfter you add a Dedicated Network Access Endpoint, you cannot modify information such as the region, VPC, or vSwitch. Verify the settings before you submit them.
(Strongly recommended) Select two vSwitches in different zones to enhance disaster recovery.
After you confirm that the settings are correct, click Confirm to start adding the Dedicated Network Access Endpoint.
After the endpoint is added, you must also complete the following configurations before you can use the Dedicated Network Access Endpoint:
To enable dedicated private network access, see Authorize private network access.
To enable dedicated public network access, see Configure a dedicated public egress IP address.
Authorize private network access
On the Network Access Endpoint tab, find the target Dedicated Network Access Endpoint and click Authorize Private Network Access.
Get the access rule. In the Authorize Private Network Access dialog box, copy Authorization Object. Authorization Object aggregates all dedicated private egress IP addresses of the current Dedicated Network Access Endpoint.
Configure a security group access rule. Click Add to go to , and then select the security group where the service that requires private network access resides.
NoteTake AD as an example. You must select your own security group where the AD domain server resides (for the supported approaches for different network plans, see Dedicated private network access), rather than the security group created by EIAM.
Click Security Group ID/Name to go to Add. On the tab, click Manually Add.
In the newly added access rule, configure the following settings and save the rule:
Action: Allow.
Priority: 1.
Protocol Type: Custom TCP.
Port Range: Enter the port range of your service. If you connect to AD or LDAP, port 389 or 636 is generally used.
Authorization Object: the dedicated private egress IP addresses that you copied in the previous step.
Configure a dedicated public egress IP address
By configuring an Internet NAT gateway, you enable the EIAM instance to access the Internet through an IP address that you specify. You can use this public IP address as a trusted IP address in WeCom to meet the relevant WeCom verification requirements.
View the dedicated network region
On the Network Access Endpoint tab, find the target Dedicated Network Access Endpoint and view its VPC Region.
Associate an EIP
In VPC - Internet NAT Gateway, select an Internet NAT gateway in the same region as the VPC, and click Associate Now for the EIP to start the association process.
If no resource is available, create an Internet NAT gateway in advance. For more information, see Create an Internet NAT gateway.
You can select an existing EIP, or purchase a new EIP and associate it.
After the EIP is associated, go to the Internet NAT Gateway page and click Instance ID/Name.
If your current instance has no SNAT entry, see Create and manage SNAT entries. After that, the dedicated endpoint supports public network access.
WarningIf no SNAT entry is configured, the dedicated endpoint cannot access the Internet.
On the Network Access Endpoint tab, in the Dedicated Outbound Public IP Address column, click View to view the public IP address that is used by the current Dedicated Network Access Endpoint.
Switch to dedicated endpoint access
Go to the IdPs page, find the target IdPs and click Modify to modify the basic configuration (AD is used as an example).
Configure the Dedicated Network Access Endpoint. In the section.
Select the Dedicated Network Access Endpoint type.
From the drop-down list, select an endpoint that is associated with a Dedicated Outbound Public IP Address (both ENI and Internet NAT gateway IP addresses are supported).
Submit for verification. After you click Confirm, the system immediately verifies the following:
Verification requirement: all associated ENIs (up to two) must be able to access the AD service.
If the verification passes: the system automatically switches to the Dedicated Network Access Endpoint.
If the verification fails: an error message is displayed, and you must check the network connectivity.
You can click View for the dedicated public egress IP address to view the gateway IP address that is in use.
After the verification passes, the system immediately switches to the Dedicated Network Access Endpoint for access. (Recommended) Verify the switch in a test environment in advance. In addition, when a paid instance expires and is released, or is unsubscribed, the dedicated endpoint immediately becomes unavailable and is automatically deleted one day later. To use the shared endpoint or another dedicated endpoint, you must switch manually. (Recommended) Update the network access allowlist configuration of your service before deletion.
Modify a Dedicated Network Access Endpoint
Dedicated Network Access Endpoint supports modifying only the Display Name. To modify other information, you must delete it and configure it again.
Delete a Dedicated Network Access Endpoint
There are two ways to delete a Dedicated Network Access Endpoint:
When no module (identity provider or application) in the instance uses the Dedicated Network Access Endpoint feature, an administrator can delete it manually.
When a paid instance expires and is released, or is unsubscribed, IDaaS forcibly and automatically deletes it.
When you delete a Dedicated Network Access Endpoint, IDaaS releases the resources that it created in your account, including:
The elastic network interface (ENI).
The cloud service-managed security group.
After you delete a Dedicated Network Access Endpoint, its resources and data cannot be recovered, and the Dedicated Network Access Endpoint becomes immediately unavailable. To delete the
AliyunServiceRoleForEiamservice-linked role, you must delete all EIAM instances.ImportantAfter you delete a dedicated endpoint, to use the shared endpoint or another dedicated endpoint, you must switch manually in the identity provider or application. (Recommended) Update the network access allowlist configuration of your service before deletion.