WorkSpace Administrative Actions Widget

This AWS Workspace Management Widget is a handy tool for anyone using AWS WorkSpaces. It simplifies the process of monitoring and managing virtual desktops by providing a user-friendly interface and direct-action capabilities. With this widget, you can ensure your WorkSpaces are running optimally and take immediate actions when needed.

 

How It Works

 

Connecting to AWS WorkSpaces

    • This widet uses a library called Boto3 to communicate with AWS Services. Boto3 helps the widget fetch information about all the WorkSpaces you have in your AWS account.

Gathering Workspace Information

    • The widget retrieves a list of all your WorkSpaces. For each WorkSpace, it gathers details such as:
      • Username: The name of the user assigned to the WorkSpace.
      • Status: The current state of the WorkSpace (e.g., Available, Stopped).
      • Workspace ID: A unique identifier for each WorkSpace.
      • Root Volume Size: The size of the primary storage space.
      • User Volume Size: The size of additional storage space.
      • Protocol: The method used to connect to the WorkSpace (e.g., PCoIP, WSP).

 Display Information

    • The widget uses HTML and CSS to create a visually appealing interface. It displays the WorkSpace information in a table format, making it easy to read and understand.

Providing Management Options

    • The widget includes a dropdown menu with various actions you can perform on the WorkSpaces, such as:
      • Reboot: Restart the WorkSpace.
      • Rebuild: Reset the WorkSpace to its original state.
      • Start: Turn on a stopped WorkSpace.
      • Stop: Turn off a running WorkSpace.
      • Migrate: Move the WorkSpace to a different configuration.
      • Modify Protocol: Change the connection method.
      • Modify Compute Type: Change the WorkSpace’s computing power.

Handling User Selections

    • When you select an action from the dropdown menu and click “Go,” the widget sends a request to AWS to perform the selected action on the chosen WorkSpace.