CPC H04L 41/0806 (2013.01) [H04L 41/0893 (2013.01); H04L 41/5009 (2013.01); H04L 43/0805 (2013.01); H04L 67/1001 (2022.05)] | 20 Claims |
1. A non-transitory computer-readable medium comprising instructions that, when executed by one or more processors, causes the one or more processors to perform operations comprising:
executing a provisioning script in an Infrastructure as Code (IaC) programming language, wherein the script initially executes before a service in a cloud infrastructure is provisioned as a result of the script, and the script executes by:
determining, at a runtime of the script, a number of clusters to be provisioned as part of the service in the cloud infrastructure;
determining, at the runtime of the script, a number of availability domains in each of the clusters to be provisioned in the cloud infrastructure;
determining, at the runtime of the script, a number of compute nodes in each of the availability domains to be provisioned in the cloud infrastructure;
determining, at the runtime of the script, a number of load balancers in each of the clusters to be provisioned in the cloud infrastructure;
calculating, at the runtime of the script, a number of subnet levels based on the number of clusters, the number of availability domains, the number of compute nodes, and the number of load balancers;
generating, at the runtime of the script, a plurality of subnets based on the number of subnet levels; and
assigning, at the runtime of the script, the plurality of subnets to the compute nodes and the load balancers in the cloud infrastructure.
|