Upload and Deploy Your Python Application
With GPUonCLOUD you can easily upload and deploy any Python app via Archive or URL. The given below instruction shows the steps you should perform in order to get your Python application hosted with GPUonCLOUD PaI.

1.Upload your application package by clicking Upload in GPUonCLOUD Deployment Manager.

     
2.Browse to your local file. The GPUonCLOUD Deployment Manager supports .zip, .tar, .tar.gz and .tar.bz2 formats.


Note that the maximum available size of the uploaded local file is 150 MB. If your application size exceeds this limit, please use the URL for uploading.

 

  3.To add new application package via URL (http://, https:// or ftp://) navigate to the appropriate tab and enter there the required link.

  • Upload manager just links to the file. So if you modify your file but do not change the link to it there is no need to enter URL again

  • If the ftp server needs authorization you’ll have to put your URL in the following format:

ftp://{login}:{password}@{server_name}/{path_to_file}/{MyPackage.zip}

  • If you happen to select a file with an unsupported extension or you enter incorrect URL, you will get an error message informing you of it.

 4.Click Upload and track the progress of the package uploading in the Tasks pane. Once the file is uploaded, it gets listed along with all your previous packages and you have access to the Deploy and Delete options for that file.

Select your package in the list and click Deploy to button.

 


 5.Choose the environment you want to deploy your web application to. In the opened window you’ll see the information on your application’s URL. Click Deploy.

You can deploy just one Python app to the environment, so it will be in the ROOT context by default.

 6.Your web application will be deployed to the chosen environment in a minute. Just click Open in browserbutton to start working with your application.