# License calculation for Azure App Services sharing same service plan

**URL:** <https://community.dynatrace.com/t/license-calculation-for-azure-app-services-sharing-same-service-plan/37246>\
**Category:** Cloud platforms\
**Tags:** azure, licensing\
**Created:** [November 11, 2022, 12:09pm UTC](https://community.dynatrace.com/t/license-calculation-for-azure-app-services-sharing-same-service-plan/37246 "2022-11-11T12:09:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alaaka](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@alaaka](https://community.dynatrace.com/u/alaaka)\
**Post date:** [November 11, 2022, 12:09pm UTC](https://community.dynatrace.com/t/license-calculation-for-azure-app-services-sharing-same-service-plan/37246/1 "2022-11-11T12:09:42Z")

</div>

Hi All,

just wondering how we should calculate the Host Units required for multiple Azure App Services sharing the same service plan?

For example, if I have 3 App services I need to install OneAgent on, and these App Services are sharing a Service plan with 8 GB of memory, do I need to consider 8 GB for calculation or 24 GB?

Thanks

---

<div class="post-metadata">

**Author:** ![rgarzon1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rgarzon1/32/11844_2.png) [@rgarzon1](https://community.dynatrace.com/u/rgarzon1)\
**Post date:** [November 14, 2022, 5:46am UTC](https://community.dynatrace.com/t/license-calculation-for-azure-app-services-sharing-same-service-plan/37246/2 "2022-11-14T05:46:00Z")

</div>

hi alaaka

When you deploy the oneagent in the app service this will be deployed on the server where it runs detecting the appservices on it.&nbsp; if the 3 apps service are sharing the same VM&nbsp; for the service plan.&nbsp; this will only detect the 8gb&nbsp; because only 1 agent will need to be deployed.&nbsp;as far, this have work for me in this way.

some times an app service 1gb and 1.75gb create a service plan by each one so here every app service consume a&nbsp; 0.25 host units.

even in the demo you can see 2 app service in the same server.

 ![rgarzon1_0-1668404690027.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/e/5e601b9e2a390dbd810faa866fb32b5a2c270654.png)

hope it helps
