Because a "cold" pool can take almost a minute to start, many customers would like to start a Gurobi Instant Cloud pool from their code. This way the pool can be starting up while other code is executing.
For example, you might want to execute the code needed to prepare data before creating a Gurobi environment. Starting the pool while preprocessing the data will help assure that pool will be ready once your other code finishes execution.
To start the pool early, you use the REST API for cloud. You can learn about the REST API -- and even try it out interactively against your own cloud account here: https://cloud.gurobi.com/swagger.html
The attached program illustrates waiting for the cloud pool to be ready before submitting the job. This waiting is not really necessary, but it demonstrates how to check the status of a cloud pool.
To use the attached sample, download the file, enter the correct license information for your cloud account into the three fields at the top of the Python file, then run it.