Using zip from storage in to the local machine/azureVM

Varma 1,380 Reputation points
2024-02-29T15:02:25.85+00:00

I have software (.ZIP) file in the blob storage as below in the azure,

I want to download and install it in my local machine and also in another test VM. Please suggest how we can achieve this, thank you

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,104 questions
{count} votes

Accepted answer
  1. TP 90,306 Reputation points
    2024-02-29T15:11:17.9733333+00:00

    Hi,

    UPDATE: Based on conversations in comments, Managed Identity is good option for your use case.

    One method, click Generate SAS tab in your screenshot, set the expire date/time to meet your needs, then Generate the SAS and URL.

    Now, the URL will allow you to download the file from both locations, assuming there are no networking restrictions on the storage account. If you are okay with manually installing then you can just open a browser in each, download, then extract files and install as required.

    If you need to be automated then you would need to write/test a PowerShell or other script to essentially do the above steps. If you need some pointers for creating the script let me know.

    Thanks.

    -TP


1 additional answer

Sort by: Most helpful
  1. Nehruji R 7,306 Reputation points Microsoft Vendor
    2024-03-01T06:32:36.44+00:00

    Hello Varma,

    Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Adding more information to above answer: You could use AzCopy, a command-line utility, to copy files from Azure Blob storage to your local machine or an Azure VM.

    The easiest way to consider moving data from blob to VM SSD, you should use Azure Storage Explorer, this link provides the full documentation on how to use the tool.

    If you'd like an easy command line/code free solution allowing data transfer, i'd recommend ADF's copy wizard. You could specify the cloud source as the blob's location, and a destination as your VM. You can find a step-by-step tutorial in this link: https://www.red-gate.com/simple-talk/cloud/cloud-data/using-copy-wizard-azure-data-factory/ More can be found in this blog: https://azure.microsoft.com/en-us/blog/simple-and-reliable-data-movement-with-azure-data-factory-copy-wizard/

    A suggestion i'd like to provide since I don't know the details and the architecture of your current setup, If you'd like something easier to manage in transferring data to VMs, I'd recommend using Azure file storage. It would be an easy solution for customers to add data by attaching the file share on their computer, and data would be directly stored in it. It can also be easily manipulated using Storage Explorer: https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows.

    Hope this helps! Please let us know if you have any further queries. I’m happy to assist you further.

    Please 191316-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    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.