Upload Python script into Azure

Anonymous
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.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Answer accepted by question author
  1. Sina Salam 27,791 Reputation points Volunteer Moderator
    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. Anonymous
    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

  2. Anonymous
    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. Anonymous
    2024-08-21T09:01:21.47+00:00

    Hi Sina,

    The links on Option B; none of them works.

    0 comments No comments

Your answer

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