# Installing Environment ActiveGates as containers

**URL:** <https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484>\
**Category:** Container platforms\
**Tags:** activegate\
**Created:** [July 1, 2023, 8:27am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484 "2023-07-01T08:27:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanjo\_garcia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/juanjo_garcia/32/35378_2.png) [@juanjo\_garcia](https://community.dynatrace.com/u/juanjo_garcia)\
**Post date:** [July 1, 2023, 8:27am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/1 "2023-07-01T08:27:14Z")

</div>

Hi guys.

Is it feasible to install Environment ActiveGates as containers?

I´m **not** referring to monitor a **Kubernetes** Cluster by installing a&nbsp;containerized ActiveGate as stated here (i.e.: as a&nbsp; **Dynatrace** Operator):

[Get started with Kubernetes/OpenShift monitoring](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-container-platforms/kubernetes/get-started-with-kubernetes-monitoring)

but I´m referring to install an Environment ActiveGate acting as a classic ActiveGate&nbsp;installed on a VM:

- Routing OneAgents traffic (Collector)
- Monitor Cloud environments (AWS, Azure)
- Monitor remote technologies via Extensions (1.0 and 2.0)
- Run Synthetic monitors

if so, do I do it ?

And what about the admin tasks:

- Configuring the .properties Files
- Check ActiveGate logs
- Start/Restart the Services (dynatracegateway, remotepluginmodule)
- Upgrade the ActiveGate SW
- etc …

Thank you very much in advance.

Regards.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [July 1, 2023, 9:29am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/2 "2023-07-01T09:29:39Z")

</div>

Hi&nbsp;[@juanjo\_garcia](https://community.dynatrace.com/user/38107)

First you need to understand which functionalities are supported by containerized AG [from here](https://www.dynatrace.com/support/help/shortlink/activegate-capabilities#functional_tbl)

 ![Yosi_Neuman_0-1688203586693.png](https://global.discourse-cdn.com/dynatrace/original/1X/80991a2bdcb37267f338e6c8db266d3eafad2a83.png)

And then to decide&nbsp;if you what to&nbsp;[Deploy ActiveGate in Kubernetes/OpenShift as a StatefulSet](https://www.dynatrace.com/support/help/shortlink/connect-kubernetes-clusters)

HTH

Yos

---

<div class="post-metadata">

**Author:** ![juanjo\_garcia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/juanjo_garcia/32/35378_2.png) [@juanjo\_garcia](https://community.dynatrace.com/u/juanjo_garcia)\
**Post date:** [July 2, 2023, 5:38am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/3 "2023-07-02T05:38:08Z")

</div>

Hi Yos.

Thank you very much for your help, the information you have provided is extremely useful.

Have you deployed any ActiveGates as Containers ? If so:

- Have you run into any issues ?
- Are the day-to-day admin tasks very different compared to ActiveGates installed on VMs ?

Regards.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [July 2, 2023, 6:55am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/4 "2023-07-02T06:55:30Z")

</div>

Hello&nbsp;[@juanjo\_garcia](https://community.dynatrace.com/user/38107)

ActiveGate is updated automatically on pod restart whenever there is a new version available unless the image version is specified in&nbsp;cr.yaml. I am looking for the other information as well in case I can provide it.

Please have a look at the below link in case you did not go through yet.

> **[Manually deploy ActiveGate as a StatefulSet](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/deployment/other/ag-statefulset)**
>
> Install and configure ActiveGate in Kubernetes as a StatefulSet.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![juanjo\_garcia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/juanjo_garcia/32/35378_2.png) [@juanjo\_garcia](https://community.dynatrace.com/u/juanjo_garcia)\
**Post date:** [July 2, 2023, 9:54am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/5 "2023-07-02T09:54:39Z")

</div>

Hi Babar.

Thank you very much for letting me know.

I´m concern about the admin tasks when it comes to ActiveGates as Containers. We are used to carry out them in an IaaS-classical-way neverthless with Kubernetes is different.

Regards.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [July 3, 2023, 6:15am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/6 "2023-07-03T06:15:36Z")

</div>

Hi&nbsp;[@juanjo\_garcia](https://community.dynatrace.com/user/38107)

Did not install containerized AG with out dynatrace operator.

From [documentation](https://www.dynatrace.com/support/help/shortlink/connect-kubernetes-clusters) its look like there is no admin staff that you need to take care off, beside to restart the pod every&nbsp; time you need to upgrade the AG version.

Please pay attention to&nbsp;[ActiveGate limit sizing hints](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-container-platforms/kubernetes/enable-kubernetes-api-monitoring/deploy-activegate-as-statefulset-kubernetes#expand--activegate-limit-sizing-hints--4)

HTH

Yos

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [July 3, 2023, 6:17am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/7 "2023-07-03T06:17:54Z")

</div>

Hi Yos,

If I would like to collect OTLP metrics and traces from Kubernetes environment I should use a not containerized AG outside of the Kubernetes cluster?

Thanks in advance.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [July 3, 2023, 6:24am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/8 "2023-07-03T06:24:52Z")

</div>

Hi&nbsp;[@Mizső](https://community.dynatrace.com/user/47783)

From documentation its look you are right and for OLTP ingest you will need host based AG

 ![Yosi_Neuman_0-1688365409378.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/4/24d67e83d1200526eae4d4e8f61ae2efc5ba75c0.png)

HTH

Yos

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [July 3, 2023, 6:46am UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/9 "2023-07-03T06:46:19Z")

</div>

Hi Yos,

Thanks for your swift response.

I hope it will be changed sooner or later.

Have a nice day.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![daniel-ciaglia](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@daniel-ciaglia](https://community.dynatrace.com/u/daniel-ciaglia)\
**Post date:** [December 28, 2023, 1:45pm UTC](https://community.dynatrace.com/t/installing-environment-activegates-as-containers/40484/10 "2023-12-28T13:45:26Z")

</div>

we installed the AG as a container specifically to use as ENVIRONMENT AG on AWS. As per the first links, this is not supported and the issue basically is the following.  
The AG contacts the metadata service ([Use instance metadata to manage your EC2 instance - Amazon Elastic Compute Cloud](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html))&nbsp;to get its credentials. I was not able to get the AG to use the provided credentials in the environment variables (as is standard with EKS and ServiceAccounts) 😞  
Support sent me over here to request the feature 🤯.
