Can I temporarily pause a deployment to reduce charges?

Chantelle Christina Victoria Osafo 20 Reputation points
2024-05-24T11:13:05.7266667+00:00

Is it possible to temporarily disable a deployment to cut down on costs? Specifically, I need to have a deployed app running during the day but turned off at night to avoid unnecessary charges.

The app is a function app, and the resources used include:

  • Storage account
  • Storage account
  • App Service plan
  • Application Insights
  • Function App
  • Smart detector alert rule

It would be helpful to know which resources generate expenses, so I can understand how to reduce costs.

Thank you for any help you can provide!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,114 questions
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,223 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,704 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,912 questions
0 comments No comments
{count} votes

Accepted answer
  1. Azar 22,870 Reputation points MVP
    2024-05-24T11:44:35.0833333+00:00

    Hi there Chantelle Christina Victoria Osafo

    Thanks for using QandA platform

    I guess, Yes, it is possible.

    1. While you cannot "pause" a Function App directly, you can stop it to prevent it from running and incurring costs. In the Azure portal, navigate to your Function App, and select "Stop." This will halt the app and stop it from executing any functions.
    2. The App Service Plan is the pricing tier for your Function App. Stopping the Function App does not stop charges for the App Service Plan. To avoid charges, you would need to scale down the App Service Plan to the Free or a lower tier. but, if you stop your App Service Plan, all apps running on it will be stopped.
    3. Storage costs are based on the amount of data stored and the transactions performed. You can't "pause" a storage account, but you can manage and delete unnecessary data.
    4. To reduce costs here, you can disable or reduce the amount of telemetry data being sent. You can adjust the sampling rate or disable Application Insights when not needed.
    5. Disabling the Smart Detector alert rule will stop it from monitoring and triggering alerts. Navigate to the Alerts section in the Azure portal, find your alert rule, and disable it.

    If this helps kindly accept the answer thanks much.,


0 additional answers

Sort by: Most 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.