How to Deploy An Angular Application in Azure:Azure Functions with Azure Storage
What is Azure Functions?
Azure Functions is a service that lets you launch server-less applications and run event-triggered code on Microsoft Azure without the need to explicity manage infrastructure. Azure Functions allows developers to take action by connecting to data sources or messaging solutions thus making it easy to process and react to events. Developers can leverage Azure Functions to build HTTP-based API endpoints accessible by a wide range of applications, mobile and IoT devices. Azure Functions is scale-based and on-demand, so you pay only for the resources you consume.
Okey, then let’s see…how to add azure function in spring boot application.
Step 04: Azure Functions with Azure Storage
First we want go to our Storage Account, we already created if you missed check it. okey, then click on our created storage Account.

then click the containers →create new container


then, In the name enter name for the container the for the Public access level Select Blob.
then click create.
After created if we click the container
we create the container successfully.
Then, got to properties you will get a URL for your Blob container that will be used to link Our storage account with spring boot application.

then let’s move to the application to link this account in to the spring boot application for that we need to import azure storage api in the pom.xml file. add above code on it.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-storage</artifactId>
<version>8.6.5</version>
</dependency>
then, we need to get Connection String to the storage account we created from Azure Portal. Go to the storage account → Click Access Keys . there you can see the connection string after the key we can access our storage account with that string.

add below code inside the application.proporties add below code.
azure.storage.ConnectionString= Connection String
azure.storage.container.name= Container Name
then, need to create Bean Configuration for uploading file it is spring boot stuff of creating object for dependency.
after that, want to create or make changes on spring boot for store the details to the Blob Container.
ok then we move to the next topic.. next one is “Azure Application Insights.”