question

Gilles D. avatar image
Gilles D. asked ·

In a cloud environment will the oneagent will automatically deploy on a new poped instance ?

For example in AWS or GCP in instance group when a vm is stopped for any reason, it is regenerated, more precisely a new instance is created to replace the one that had failed. In case there were a one-agent deploy on it will it be automatically deploy on the replacing instance or should we assign to it (instance) a new one-agent ?

oneagenthost monitoringinstallationgoogle cloud platform
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Michal N. avatar image
Michal N. answered ·

Hi,
In AWS, an EC2 is identified by instance-id, because a hostname and IP does not need to be unique overtime. Currently OneAgent is not using instance-id for host identification, but we are investigating that topic for hosts located in all cloud environments.

Best
Michal Nalezinski
Technical Product Manager

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Sebastian K. avatar image
Sebastian K. answered ·

If you have for example EC2 instance in AWS. After destroying it your deployment script should consider installation of one agent as well. But you have to know one thing, even if new instance will have the same ip and hostname, for DT it will be new host, so metrics will start from the beginning. Old instance will be offline.

This I’ll not affect services that are working on this host. I’m not sure how it looks for lambdas and other solutions where deployment is out of your control and it happens via PaaS token on their side.

Sebastian

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

thx again

0 Likes 0 · ·