I am trying to make an azure function that uploads to my azure blob. Reason I am trying to avoid uploading from my web server (Linux vm) is because I noticed that azure charges for data transfers (traffic from client to the virtual network linked to the VM). I was also afraid of the network traffic this would cause for the web server. Are these really issues that an azure function can fix?
For creating the function, I used visual studio and added a function with a http trigger to my blob storage. I was planning to receive a signed JWT and media content via http to the function and upload the image to the blob storage the function is currently in. I did find this code: https://www.cyotek.com/blog/upload-data-to-blob-storage-with-azure-functions Where a new image is create in blob. However It manually connects to the blob. Since my function is already inside the blob, I was wondering if there was any way it could directly create a blob within the currently storage. This way the function wouldn't connect to the storage over the internet.