Skip to content

A simple Azure Function to Unzip files from a blob storage to another one

License

Notifications You must be signed in to change notification settings

sirmyron/AzUnzipEverything

 
 

Repository files navigation

Build Status Serverless Library

Deploy to Azure

AzUnzipEverything

A simple Azure Function to Unzip files from a blob storage to another one

This current version only supports ".zip"

How to deploy

To deploy all the resources in your Azure subscription, just click on the Deploy to Azure button

Fill-up the form and voila! It will be automatically deployed in your Azure subscription. If you don't own an Azure subscription already, you can create your free account today. It comes with 200$ credit, so you can experience almost everything without spending a dime. Create your free Azure account today

Learn more on how to deploy you Azure Function automatically or using the Azure Resource Manager (ARM) template

CreationForm

How to use it.

You can upload files to an Azure Blob storage using many different tool and code, but for this quick introduction let's use the Azure Portal.

Once deployed, open the Azure portal portal.azure.com

  1. navigate the resource Group you just deployed (ex: demoAzUnzipEverything).

    resourceGroup

  2. Select the Storage Account that starts by "analytics_storage".

  3. Click on Blobs, in the middle of the screen.

  4. Click on the analytics-zipped.

  5. Click on the Upload button, and you can now upload a zip file.

    uploadFile

  6. After a few second the files will be Unzipped into the blob storage analytics-unzipped.

Continuous Integration (CI)

As you can see by the status badge Build Status at the top of the page this project is automatically build at every push.

Have a look, the Azure DevOps project is public!

Create a Continuous Integration, Continuous Deployment (CI-CD) for your Azure Function

In this video, I show you how to write an Azure Resource Manager (#ARM) template to deploy automatically your serverless Azure Function to Azure. It can be then used with a "Deploy to Azure" button from GitHub or any website, or in an Azure Pipeline to complete a Continuous Integration, Continuous Deployment (CI-CD) solution.

FunctionCICD

There is also a written version if you prefer reading: http://www.frankysnotes.com/2019/07/four-ways-to-deploy-your-azure-function.html

TODOs

A GitKraken Glo board is also available.

  • Add Support for .rar
  • Add ARM template
  • Add a Deploy to Azure button

More details

I have a blob post about this Azure Function.

I also have a video where I build and test the function.

Auto-UnzipFunction_YT

I also have an extended version where I introduce more the Visual Studio Extension to work with Azure Function. And explain more details about the Azure Function V2.

AzureFunctionWithVSCode_YT

Contributing

Want to contribute? Check out our Code of Conduct and Contributing docs. This project follows the all-contributors specification. Contributions of any kind welcome!

Thanks goes to these wonderful people (emoji key):

Frank Boucher
Frank Boucher

💻 📹 📖

About

A simple Azure Function to Unzip files from a blob storage to another one

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%