Upload Python script into Azure

Renan 20 Reputation points
2024-08-20T08:31:53.59+00:00

I have a Python script that runs locally on my machine. This Python script extract data from API and generates a CSV.

Now, we are moving to Azure cloud server. Therefore, I need to upload this Python script into Azure and point the output to Blog Storage, so the code can be run in command by everyone of the team.

How do I upload Python script into Azure?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,889 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,565 questions
{count} votes

Accepted answer
  1. Sina Salam 10,036 Reputation points
    2024-08-20T21:12:36.67+00:00

    Hello Renan,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you would like to upload four Python scripts and point the output to a Blob Storage within the Azure environment.

    The process involves using Azure services like Azure Virtual Machines (VMs) or Azure Batch for running the scripts and Azure Blob Storage for storing the output. Depending on your capacity and resources, the below will guide you on more details for each of the processes. After you must have set up your Azure account and storage accounts.

    Option A: If you are using Azure Virtual Machine (VM) to upload.

    Option B: If you are using Azure Batch to upload.

    Accept Answer

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.

    Best Regards,

    Sina Salam


3 additional answers

Sort by: Most helpful
  1. Renan 20 Reputation points
    2024-08-21T09:01:21.47+00:00

    Hi Sina,

    The links on Option B; none of them works.

    0 comments No comments

  2. Renan 20 Reputation points
    2024-08-21T09:12:17.38+00:00

    I done a lot of Googling yesterday and I saw it is possible to deploy Python code into Azure via Visual Studio with Azure functions.

    Can you confirm it ? I like this option more.


  3. Renan 20 Reputation points
    2024-08-21T09:14:03.64+00:00

    I done a lot of Googling yesterday and I saw this option that you can deploy Python code into Azure via Visual Studio using Azure function.

    Can you confirm it ? I like this option.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.