Upload and Deploy Your Python Application

With Jelastic 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 Jelastic PaI.

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

  1. Browse to your local file. The Jelastic 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.

  1. 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.
  1. 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.

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

  1. 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.

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

That’s all! Enjoy the reliable and scalable Python hosting with Jelastic PAI.