Before beginning this example, ensure that you have satisfied the following prerequisites.
- A valid trainML account with a non-zero credit balance
- A python virtual environment with the trainML CLI/SDK installed and configured.
- At least one GPU system onboarded with CloudBender™
- A Regional Port Reservation configured in the same region as the CloudBender GPU system.
To create the endpoint, run the following command from a python virtual environment with the trainML CLI/SDK installed and configured
python create_endpoint.py RESERVATION_ID PORT
where RESERVATION_ID
is the ID of the regional port reservation that the endpoint will listen on and PORT
is the port number of the port reservation.