I am trying to create VPC endpoints to AWS service. There are eleven of them including ec2, ssm, secretsmanager etc. I am getting the below error during deployment for the VPC endpoints.
InsufficientFreeAddressesInSubnet: Insufficient free addresses to allocate an addresses in subnet
Does each endpoint assigned a separate IP address?
Yes, the creation of a VPC endpoint implies the creation of a network interface, thus free IP addresses are required. From the documentation:
This however is not the case for gateway endpoints, although only few services such as S3 are supported by those.