Instance Creation Fails with the "IP address... has already been allocated for the subnet" Error
When creating an instance, the operation can fail with a "The IP address X.X.X.X has already been allocated for the subnet..." error.
When you search for the IP address in the Console, it shows that the IP address is being used by a File Storage mount target.
Cause: Each mount target requires three internal IP addresses in the subnet to function. In this case, the IP address of the instance to be created was already taken by a mount target, so the instance creation failed.
For more information, see Limitations and Considerations.
Solution: Keep mount targets and compute instances in different subnets to avoid this situation. For more information, see File Storage Security Rule Scenarios.