How does the eG Enterprise Logon Simulator for Amazon WorkSpaces Work?

A light-weight eG Logon Simulator Agent drives the logon simulation. This agent periodically runs an AWS WorkSpaces Logon Simulator test that emulates the entire process of a user logging into an Amazon WorkSpace cloud and launching an application / desktop. Since the test is what performs the simulation, let's call it the simulator. To perform this simulation, the simulator has to be configured with the following:

  • The URL of the Amazon WorkSpaces that it needs to access
  • The credentials using which it needs to log into the Amazon WorkSpace;
  • The desktop that it needs to launch
  • The registration code, since the Amazon WorkSpaces is enabled with two-factor authentication, by default.

Once the Logon Simulator Agent is configured, it runs at a pre-configured frequency. Every time it runs, it simulates the logon process, as detailed below:

  • The Logon Simulator Agent first opens the Chrome browser and connects to the configured URL.
  • It then logs in through the web interface (Client URL of the Amazon WorkSpaces) and captures the time taken to login. The success/failure of the login is also determined.
  • The agent next opens the provisioned desktop and records the duration of the access. In the process, it figures out whether/not the mailbox was accessed successfully.
  • Finally, the agent logs out of the desktop and the Amazon WorkSpaces infrastructure. The log out duration is also captured.
  • Steps 1 to 4 are then repeated for every user that has been configured for monitoring.
  1. The simulator first opens the Chrome and connects to the configured Amazon WorkSpace Site URL
  2. It then logs in through the web browser and captures the time taken to login. The success/failure of the login is also determined.
  3. The simulator next waits for the applications/desktops to be enumerated and records the time it took for the enumeration to complete. The success/failure of this step is also ascertained.
  4. The configured application/desktop is then launched and the duration of the launch is recorded. In the process, the simulator also figures out whether/not the launch was successful.
  5.  Finally, the simulator closes the application and logs out of the Amazon WorkSpace session. The log out status and duration is also captured.
  6. Steps 1 to 5 are then repeated for every application/desktop that has been configured for launching.

The simulator then reports the metrics so collected to the eG manager. The manager captures these metrics into an Amazon WorkSpaces Logon Simulator component and presents them in the eG monitoring console for analysis. Refer to the Analyzing the Simulation Results topic for a detailed discussion on the Amazon WorkSpaces Simulator model.