This topic describes how to associate a Virtual Private Cloud (VPC) network with a Dynamic Host Configuration Protocol (DHCP) options set. After a VPC network is associated with a DHCP options set, existing and new Elastic Compute Service (ECS) instances in the VPC network all use the configurations of the DHCP options set.
- A DHCP options set can be associated with only VPC networks in the same region as the DHCP options set.
- You can associate a DHCP options set with multiple VPC networks. However, a VPC network
can be associated with only one DHCP options set.
By default, a DHCP options set can be associated with up to 10 VPC networks. You can also increase the quota on the Quota Management page. For more information, see Manage service quotas.
- VPC advanced features, including DHCP options sets, have the following limits on ECS
To resolve this problem, you must upgrade or release the ECS instances that do not support VPC advanced features.
- If a VPC network contains an ECS instance that belongs to one of the following instance
families, you cannot configure the advanced features for the VPC network.
ecs.c1, ecs.c2, ecs.c4, ecs.ce4, ecs.cm4, ecs.d1, ecs.e3, ecs.e4, ecs.ga1, ecs.gn4, ecs.gn5, ecs.i1, ecs.m1, ecs.m2, ecs.mn4, ecs.n1, ecs.n2, ecs.n4, ecs.s1, ecs.s2, ecs.s3, ecs.se1, ecs.sn1, ecs.sn2, ecs.t1, and ecs.xn4.
- After you configure the advanced features for a VPC network, you cannot create ECS instances of the preceding instance families in this VPC network, or migrate such ECS instances to the VPC network.
- For more information about how to upgrade an ECS instance, see Upgrade the instance types of subscription instances and Change the instance type of a pay-as-you-go instance.
- For more information about how to release an ECS instance, see Release an instance.
- If a VPC network contains an ECS instance that belongs to one of the following instance families, you cannot configure the advanced features for the VPC network.
- Log on to the VPC console.
- In the left-side navigation pane, click DHCP Options Sets.
- On the DHCP Options Sets page, find the target DHCP options set, and click Associate in the Actions column.
- In the Associate dialog box, select the VPC networks to be associated, and click OK.