Hi @King Java , thanks for the question.
If you already have Python code that connects to a data source using REST and brings in data to Azure SQL tables, there are several Azure services that you can use to host and run your code.
- A great option is Azure App Service, which is a fully managed platform for building, deploying, and scaling web apps. Azure App Service supports Python, and you can use it to host your Python code as a web app that can be accessed via HTTP endpoints.
- You can also look into Azure API Management. Azure API Management provides a comprehensive solution for managing, securing, and publishing APIs. You can expose your Python code as an API and leverage the features of API Management, such as rate limiting, authentication, and analytics.
- Lastly, you can try Azure Logic Apps. Azure Logic Apps is a cloud-based service that allows you to create workflows and integrate different systems and services. You can create a Logic App that triggers your Python code execution and performs data transfer between your data source and Azure SQL tables.
To answer your last question, it depends on if you're looking for a Paas or Iaas solution.
If you prefer to use a virtual machine (VM) to run your Python code, you can use Azure Virtual Machines (VMs) to create and manage VMs in the cloud. Azure VMs support a wide range of operating systems and programming languages, including Python.
Ultimately, the choice of which Azure service to use depends on your specific requirements scalability requirements, integration needs, and complexity of your Python code.
If you need more control over the underlying infrastructure and want to run your code on a dedicated VM, then Azure VMs might be the best option. If you want a fully managed platform that can automatically scale and handle the infrastructure for you, then Azure Logic Apps or Azure App Service might be a better fit.
Hope that helps. let me know if you have further questions
-Grace