docs/2.developers/4.user-guide/60.deployment/30.render-deploy.md
With its full compatibility with Python, deploying with Pathway is as easy as deploying any Python project. New tools have made deploying on the cloud effortless. For instance, Render allows you to deploy your Python-based web services in one click.
In this article, you will learn how to deploy your Pathway web service using Render. You will see, step by step, how to deploy a Pathway web service hosted on a public GitHub repository. As an example, this tutorial will show you how to deploy Pathway chatbot answering questions about documents.
:article-toc-without-title
This guide will show you how to deploy a Pathway web service using Render. It relies on the free offer of Render. Here are the requirements for the project:
Dockerfile at the root.0.0.0.0 to receive HTTP requests from external connections on port 10000.18012, 18013, and 19099 are reserved by Render and cannot be used.You can learn more about the free offer on the official documentation.
Note that we are going to use to deploy from a public repository, but you can easily deploy from a private one by connecting to your GitHub/GitLab by connecting to your account from Render.
The first step is to create an account at Render.
::
::
You now have a Render's account.
Now that you have an account, you need to deploy your app. Render allows you to deploy service types for hosting your app. In our case, we want to deploy a web service as it is available in the free offer.
::
::
::
::note Note: you can deploy a private repository if you are logged in with your GitHub account. ::
::
::
You can start most projects with the free instance of Render. However, this free offer comes with limitations. You can learn more on the free offer on Render documentation.
OPENAI_API_KEY:::
You can directly load a .env file.
::
That's it! Your app is being deployed by Render and will be soon available. The process takes around 5 minutes.
You should have the message "Your service is live" once it is ready:
::
Once your app has been deployed, you can access the web service by clicking on the URL:
::
::
::
You can learn more about this example on GitHub.
To stop and delete the service, you have to go to the settings.
::
::
::
::
By being fully Python-compatible, Pathway allows you to use all the available tools to deploy your app. Using tools like Render, deploying your Pathway web service app is doable in a few clicks! Don't hesitate to check out the other ways to deploy Pathway in our dedicated article.