Introducing Taipy Cloud

Introduction to Taipy Cloud

Taipy Cloud : The effortless deployment for your applications!

Welcome to Taipy Cloud, the platform that simplifies application deployment, ensuring it remains accessible and stable. In this comprehensive guide, we walk through the steps to deploy a Taipy application on Taipy Cloud, covering everything from configuration to testing.

Step 1: Configure Your Application

To deploy your app, you must provide a requirements.txt file containing a list of all the dependencies required by your Taipy app. Follow these steps to create the file:

    1. In your project directory, create a new file named “requirements.txt.”
    2. List all the dependencies, one per line, as shown in the example below
    3. Create a zip archive containing your project folder, including your application’s requirements.txt and main.py files.
taipy
scikit-learn
statsmodels
pandas

Step 2: Create an Account on Taipy Cloud

Visit taipy.io/taipy-cloud/ and sign up for an account or sign in with your account if it already exists. This will enable you to deploy applications with ease.

Step 3: Create a Machine

 Before deploying your first application, you must create a machine. 

 Machines can be customized with different behaviors based on your needs. When you click ‘Add machine’ on the Taipy Cloud dashboard, you have several parameters to configure.

    • Machine name: Give your machine a unique name.
    • Python version: Choose between Python 3.8, 3.9 /, 3.10, / or 3.11.
    • Machine size: Select from Small, Medium, or Large, depending on your application requirements. Bigger machines can handle more complex applications simultaneously. By default, we give a small-size machine.

 If you are a first-time user of Taipy Cloud, you will also be asked to create a username and password to access your machine’s logs in this dialog.

Create a machine on Taipy Cloud

Step 4: Create an Application

After creating your app, you can select it and see the applications on it. For now, there is none; let’s make one.

Click ‘Add App’ and upload your Taipy Application’s zip file. Specify the names of your main script and requirements.txt file.

add an application on a Taipy Cloud machine

Additionally, you can choose a custom name for your application and URL, which will be displayed as <Deployment name>.taipy.cloud.

Step 5: Test Your App

Once your Taipy application is deployed, you can test it to ensure everything is functioning correctly. To do this, access it using the provided URL and run through its features, verifying its stability and accessibility.

Additionally, you can access the Console Logs link, which displays application events such as warnings, errors, and print statements, offering insights into your application’s performance.

More information is shown on the Taipy Cloud dashboard, like CPU, RAM, and Disk usage for each machine and application.

In conclusion, Taipy Cloud is an exceptional platform for deploying your applications easily. Following these simple steps ensures your application remains accessible and stable, improving the overall user experience.

Florian Jacta
Florian Jacta

Taipy Community Success Engineer