CPC H04L 61/50 (2022.05) [H04L 61/4511 (2022.05); H04L 2101/668 (2022.05)] | 20 Claims |
1. A method comprising:
receiving, from a remote computing device, a first application programming interface (API) call, wherein the first API call identifies a quantity of required subnet types;
sending, to a domain name service of a virtual private cloud, a second API call, wherein the second API call requests a first list of subnets;
receiving, based on the second API call, the first list of subnets comprising, for each received subnet, a received subnet identification and a received subnet type;
determining, based on the required subnet types, a filtered list of received subnets with received subnet types that match the required subnet types;
sending, to the domain name service, a third API call comprising the filtered list of the received subnets, wherein the third API call requests second information regarding the filtered list of the received subnets;
receiving, based on the third API call, the second information;
determining, based on a quantity of unassigned IP addresses of each subnet in the second information, a second list of subnets satisfying a minimum availability threshold;
selecting, based on a percentage of available IP addresses of each subnet in the second information and the required subnet types, a first selected subnet having a highest percentage of available IP addresses and a first availability zone; and
sending, based on the first API call and to the remote computing device, the first selected subnet and a subnet type of first selected subnet.
|