Greetings! Welcome to Microsoft Q&A Forum and thanks for posting your query here.
In order to increase capacity for your Azure App Service(P1V3) on Linux, as the default storage limits for the P1V3 plan may not meet your needs. Here we have couple of options in order to clear the blocker.
Upgrade to Higher App Service Plan:
- To increase storage is to upgrade to a higher tier of the App Service Plan. For instance, moving to the P2v3 or P3v3 or higher tier will increase your storage limits significantly (up to 1 TB for P3v3). Here are the steps:
- Navigate to the Azure Portal.
- Find your App Service.
- Select "Scale Up (App Service Plan)" from the left menu.
- Choose a higher tier (like P2v3 or P3v3) that meets your storage needs.
- Click "Apply" to save the changes. Please refer the document to Scale up an App in Azure App Service Azure App Service
If the above option is not feasible, you can use Blob Storage.
Use Azure Blob Storage:
If in case upgrading the App Service Plan in not feasible or you need more storage without moving to a higher tier, you can consider using Azure Blob Storage for file uploads. This allows you to store large files outside of your App Service storage. Follow the below steps to setup:
Goto Portal>>Create Resource>>Storage>>choose Storage account>> Follow accordingly to create Storage account.
Use Blob Storage in your application:
You can use Azure SDKs or REST APIs to upload files to your Blob Storage from your applications.
Make sure you handle authentication and permissions to allow your App Service to access the Blob Storage. A QuickStart guide that shows how to upload files to Blob Storage using .NET Quickstart: Upload, Download, and List Blobs
We have another alternative to Use Azure Files, which provides fully managed file shares in the cloud that can be accessed via SMB. This can be a good option if you need a shared file system.
Create Storage from portal as mentioned above>>Create File Share within the storage account>>Mount the Azure File Share in your App Service using the Azure Portal or through your application settings. Mount the Azure File Share.
Also, please Cleanup and Optimize Storage:
Delete Unused Files: Check for any unused files or old backups that can be removed and Optimize Application Data: Ensure your application is not storing unnecessary data.
We recommend you Monitor Storage Usage: Implement monitoring to keep track of your Storage usage. Azure monitor and Application Insights can help you set alerts for when you are nearing your storage limits, please refer Monitor Azure App Service.
Hope this helps in clearing your blocker!
Please feel free to contact for any further assistance, we will be glad to assist you closely.
Please do consider to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.