Skip to content

Commit e0c4669

Browse files
authored
Merge pull request #253025 from Ratulac-Azure/Ratulac-plan-manage-cost
Plan and manage costs for Azure Spring Apps
2 parents 8de8d26 + 1de42b4 commit e0c4669

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

articles/spring-apps/cost-management.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,30 @@ Autoscale reduces operating costs by terminating redundant resources when they'r
3838

3939
You can also set up autoscale rules for your applications in the Azure Spring Apps Standard consumption and dedicated plan. For more information, see [Quickstart: Set up autoscale for applications in the Azure Spring Apps Standard consumption and dedicated plan](quickstart-apps-autoscale-standard-consumption.md).
4040

41+
## Stop maintaining unused environments
42+
43+
If you set up several environments while developing a product, it's important to remove the environments that are no longer in use once the product is live.
44+
45+
## Remove unnecessary deployments
46+
47+
If you use strategies like blue-green deployment to reduce downtime, it can result in many idle deployments on staging slots, especially multiple app instances that aren't needed once newer versions are deployed to production.
48+
49+
## Avoid over allocating resources
50+
51+
Java users often reserve more processing power and memory than they really need. While it's fine to use large app instances during the initial months in production, you should adjust resource allocation based on usage data.
52+
53+
## Avoid unnecessary scaling
54+
55+
If you use more app instances than you need, you should adjust the number of instances based on real usage data.
56+
57+
## Streamline monitoring data collection
58+
59+
If you collect more logs, metrics, and traces than you can use or afford, you must determine what's necessary for troubleshooting, capacity planning, and monitoring production. For example, you can reduce the frequency of application performance monitoring or be more selective about which logs, metrics, and traces you send to data aggregation tools.
60+
61+
## Deactivate debug mode
62+
63+
If you forget to switch off debug mode for apps, a large amount of data is collected and sent to monitoring platforms. Forgetting to deactivate debug mode could be unnecessary and costly.
64+
4165
## Next steps
4266

4367
[Quickstart: Provision an Azure Spring Apps Standard consumption and dedicated plan service instance](quickstart-provision-standard-consumption-service-instance.md)

0 commit comments

Comments
 (0)