Help Needed: Increasing Storage for Azure App Service (P1V3 Linux Plan)

Vinay Shivakoti 20 Reputation points
2024-11-09T06:44:20.99+00:00

Hello Community,

We're currently using an Azure App Service Plan (P1v3) on Linux, and we've run into an issue with storage space. It appears that we've reached our storage quota, as we're facing difficulties uploading files to our Azure-hosted applications. I've reviewed our plan, but it seems that storage expansion options are either limited or not directly accessible.

Preview

Could anyone guide us on how to increase the storage capacity for this particular service plan? Are there specific steps or alternative configurations (such as scaling options or additional services) that would allow us to expand our storage beyond the default limit?

Any insights or recommendations would be greatly appreciated. Thank you in advance!

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,271 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,038 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hari Babu Vattepally 1,030 Reputation points Microsoft Vendor
    2024-11-11T03:10:48.3366667+00:00

    Hi @Vinay Shivakoti

    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. 

    User's image

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Luis Arias 7,686 Reputation points
    2024-11-09T16:01:37.9566667+00:00

    Hi Vinay,

    To increase storage for an Azure App Service Plan (P1v3) on Linux, direct expansion isn't available. Here are some options:

    • Scale Up the App Service Plan
      Upgrade to a higher PremiumV3 tier (e.g., P2v3 or P3v3) to get more storage. Go to Azure Portal > Your App Service Plan > Scale Up (App Service Plan).
    • Use Azure Blob Storage
      Offload files to Azure Blob Storage for scalable storage. Configure your app to store/retrieve files from Blob Storage, keeping App Service storage usage low.
    • Clear Unnecessary Files
      Free up space by clearing logs and temp files using the Kudu Console in the Azure Portal.
    • Mount Azure File Storage
      Mount Azure Files as external storage for your App Service on Linux. Guide here.

    References

    If the information helped address your question, please Accept the answer.

    Luis

    1 person found this answer helpful.

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.