- Newest
- Most votes
- Most comments
Hello,
DHCP Options set is a VPC construct, it can not be associated with a subnet. Please see below note from the documentation; although you can create multiple custom DHCP options set, each VPC can have MAX 1 DHCP options set associated with it.
Reference: https://docs.aws.amazon.com/vpc/latest/userguide/DHCPOptionSetConcepts.html
A custom DHCP option set enables you to customize your VPC with your own DNS server, domain name, and more. You can create as many additional DHCP option sets as you want. However, you can only associate a VPC with one set of DHCP options at a time
Appreciate the quick response, @Tushar_j! So I guess the only way to work around to using DHCP in multiple subnets in the same VPC is to put the subnets in different VPCs then. Thank you.
Relevant content
- Accepted Answerasked 2 years ago
- Error in CodeBuild: VPC_CLIENT_ERROR: Unexpected EC2 error: error while getting DHCP options for VPCAccepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
So just to be clear 1 DHCP options set in a VPC will serve multiple subnets in multiple AZs within a VPC just fine, you don't need to create multiple DHCP options set.