̽»¨´óÉñ

Manage Ephemeral Devices in ̽»¨´óÉñ

In cloud platforms like AWS and GCP, ephemeral systems are frequently spun up and torn down. Ensuring proper enrollment, management, and un-enrollment of these devices in ̽»¨´óÉñ is essential for maintaining a clean and manageable system database.

Enrolling Ephemeral Devices

Ephemeral devices need to be enrolled in ̽»¨´óÉñ as part of their creation process to ensure they are managed effectively.

When deploying ephemeral devices, it is recommended to use pre-configured images that include the ̽»¨´óÉñ agent. This ensures that every new instance is automatically enrolled in ̽»¨´óÉñ.

See Install the ̽»¨´óÉñ Agent with a Template or System Image to learn more.

Managing Ephemeral Devices

Once ephemeral devices are enrolled, managing their lifecycle is critical for maintaining control over your environment. Best Practices include:

  • Continuously monitor device activity within the ̽»¨´óÉñ Admin Portal to verify the status of operational systems.
  • Regularly review the device list, identifying and investigating prolonged offline devices to determine if they are ephemeral and eligible for removal.

Get a list of all the inactive devices that have been inactive for X number of days in one go using ̽»¨´óÉñ Powershell Module. See ̽»¨´óÉñ Powershell Module to learn more.

Follow these steps:

  • Install PowerShell on your Windows, Mac, or Linux device. See Microsoft's support document to to learn more.
  • Next, install the ̽»¨´óÉñ module by running the following PS cmdlet in elevated mode (Run as Admin):
    • Install-Module ̽»¨´óÉñ -Scope CurrentUser
  • When prompted, press Y to install the ̽»¨´óÉñ PowerShell module.
  • After the module installation is complete, use the following cmdlet in PowerShell to connect to and authenticate your admin console. You will be prompted to enter your API key.
    • Connect-JCOnline
  • You can run the below cmdlet to get the list of systems that have not reported to ̽»¨´óÉñ in the last X days. You can update the parameter .AddDays(-X) to modify the date range to 30, 60, 90, 120 etc days, as required.
    • Get-JCSystem -filterDateProperty lastContact -dateFilter before -date (Get-Date).AddDays(-60) | Export-Csv inactive-devices.csv

Unenrolling Ephemeral Devices

Ensure you unenroll ephemeral devices from ̽»¨´óÉñ before their termination to maintain a clean database free of inactive or orphaned records.

  • Before terminating an ephemeral system, always send an uninstall directive to the ̽»¨´óÉñ agent.
  • Integrate the ̽»¨´óÉñ SystemContext API into your system management workflows. This allows you to automatically send uninstall commands.
  • See Use System Context Authorization with ̽»¨´óÉñ APIs to learn more.
Back to Top

Still Have Questions?

If you cannot find an answer to your question in our FAQ, you can always contact us.

Submit a Case