# OneAgent update

**URL:** <https://community.dynatrace.com/t/oneagent-update/42038>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [October 11, 2023, 3:32pm UTC](https://community.dynatrace.com/t/oneagent-update/42038 "2023-10-11T15:32:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![renpavan\_143](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/renpavan_143/32/17584_2.png) [@renpavan\_143](https://community.dynatrace.com/u/renpavan_143)\
**Post date:** [October 11, 2023, 3:32pm UTC](https://community.dynatrace.com/t/oneagent-update/42038/1 "2023-10-11T15:32:30Z")

</div>

Team,

I would like to update Dynatrace OneAgent&nbsp;on AWS instances where I don’t see host group? Could you please guide me on sorting this on 150+ hosts?

Thanks !!!

---

<div class="post-metadata">

**Author:** ![victor\_balbuena](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/victor_balbuena/32/9773_2.png) [@victor\_balbuena](https://community.dynatrace.com/u/victor_balbuena)\
**Post date:** [October 11, 2023, 4:01pm UTC](https://community.dynatrace.com/t/oneagent-update/42038/2 "2023-10-11T16:01:58Z")

</div>

If you don’t have any way to manage these servers in bulk, as in with host groups or with other tools like Ansible to help you automate it, you can use&nbsp;[the autoupdate configuration on a host API](https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/oneagent-configuration/oneagent-on-host/oneagent-auto-update/put-auto-update-configuration)&nbsp;to trigger updates on OneAgents. You can use the [entities API](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2) and fetch your hosts first, then call the update API for each host individually with&nbsp; **setting** as&nbsp; **DISABLED** (so autoupdates are still disabled) but with the field **version** populated (so the OneAgent updates to said version).

You can get a list of available OneAgent versions with [available OneAgent versions API](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/deployment/oneagent/get-available-versions).

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [January 11, 2024, 4:25pm UTC](https://community.dynatrace.com/t/oneagent-update/42038/3 "2024-01-11T16:25:17Z")

</div>

Hi [@victor\_balbuena](https://community.dynatrace.com/user/3978),

Do you know if that option is avaiable to PaaS / Openshift hosts?

Thank you!

Best regards

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [January 14, 2024, 9:22pm UTC](https://community.dynatrace.com/t/oneagent-update/42038/4 "2024-01-14T21:22:04Z")

</div>

[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;PaaS OneAgents are not a subject of auto-update. Those are lightweight OneAgents (in fact code modules) and have to be manually updated. OneAgent in kubernetes is managed by the Dynatrace Operator and thus you manage the updates by configuring the operator - or in the default setting it upgrades OneAgents as soon as it sees a newer default OneAgetn version for the environment.
