Data centers of remote network computing providers may house significant numbers of interconnected computing systems to provide computing resources to customers. Such data centers may provide network access, power, hardware resources (e.g., computing and storage), and secure installation facilities for hardware maintained by the data center, an organization, or by another third party.
To facilitate increased utilization of data center resources, virtualization technologies may allow a single physical computing machine to host one or more instances of virtual machines that appear and operate as independent computer machines to a connected computer user. With virtualization, the single physical computing device can create, maintain or delete virtual machines in a dynamic manner. In turn, users can request computer resources from a data center and be provided with varying numbers of virtual machine resources on an “as needed” basis or at least on an “as requested” basis.
The remote network computing providers providing virtual machine resources to their users generally strive to provide such resources with optimum levels of availability, scalability and reliability.
The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
Generally described, the present disclosure is directed to the generation and management of a remote computing session between one or more client computing devices and a virtual desktop instance hosted by one or more remote data center computers of a Program Execution Service (PES) platform. A number of data centers may be organized as part of a single PES platform that can facilitate the utilization of resources of the data centers by customers of the PES. In some embodiments, the PES may include several hundreds or thousands of data center computers.
Aspects of the disclosure will be described with regard to the management of virtual desktop instances by a PES platform. Client computing devices can access the virtual desktop instances during one or more remote computing sessions. A virtual desktop instance can provide a user with all of the capabilities of a client desktop environment but with centralized provisioning of the services accessed by the client.
With reference to a first illustrative example, a user, via a client computing device, transmits a request to load an application such as a remote computing application. Subsequent to the receipt of the request, the client computing device communicates with a PES platform to start a remote computing session. In one embodiment, the communication between the client computing device and the PES platform may include login information. In other embodiments, the communication may also include information identifying resource usage information, processing requirements, or rules regarding the duration or conditions of the remote computing session for the user of the client computing device. The client computing device may further communicate various information relating to the device state, including, but not limited to, a current or future availability of device resources (e.g., processing power, memory, storage, network usage, etc.). Using the information received, the PES platform may identify one or more virtual desktop instances for execution in one or more remote computing sessions. In one example, the PES platform can instantiate, or cause to have instantiated, a virtual machine instance on a data center computer. The virtual machine instance includes an operating system. The client computing device can then establish a remote computing session with the virtual machine, and the user interface of the operating system (e.g., the output of the operating system such as a graphical user interface, sound, etc.) can be sent to the client computing device and presented to the user (e.g., the graphical user interface is rendered on a display of the client computing device). The operating system may use a desktop profile associated with the user and stored on a desktop store accessible by the PES to configure the virtual desktop instance for the user by setting the desktop background, screen saver, desktop layout, pointer preferences, sound settings, and the like. User input such as mouse and keyboard activity can then be sent to the virtual machine and injected into the operating system as if the activity was performed by a user directly at the virtual machine.
The PES platform may receive or generate data associated with the interaction of the client computing device with the virtual desktop instance on the client computing device during the remote computing session. The data may include user data and preferences, files, and the like. Upon receiving the data, the PES platform may save the data to the desktop store associated with the virtual desktop instance. In some embodiments, the desktop store may be implemented on a volume, or on another logical block storage device. In some embodiments, the PES may create a backup copy of the data or also store the data to a central repository. The saved data may then be used to restore remote computing sessions that have been interrupted due to a failure, such as a failure of the virtual desktop instance, the server hosting the virtual desktop instance, the network, etc. . . . . By saving the user data, the PES platform ensures that the re-establishment of a remote computing session occurs with minimal delay and disruption to a user of a client computing device.
In another illustrative example, the virtual desktop instance provided may be configured according to a user profile stored at a user profile store of the PES. The configuration of the virtual desktop instance may also be adjusted according to monitored usage of the instance. In some examples, the user profile may be set by an administrator associated with an entity governing the user's use. The user profile may indicate various memory and processing requirements associated with the PES computers executing the one or more virtual desktop instances as well as requirements for the virtual desktop instances. For example, the user profile may indicate the programs to which the user is given access while using the virtual desktop instance. The user profile may also indicate a maximum time or cost associated with the remote computing session. The PES may take a user profile for the user into consideration when placing and configuring the virtual desktop instances. In addition, placement and configuration decisions may also be adjusted based on a user's interaction with the virtual desktop over time.
In another illustrative example, the PES platform may be used to provide a backup copy of the computing environment of a client computing device on one or more of the data center computers at the PES platform. Subsequently, if the client computing device is compromised, upon starting a new remote computing session with the PES platform, the backup copy of the computing environment of the client computing device originally used may be made available to the user. In the new remote computing session, the user may be connecting to the PES platform from the same or another client computing device.
In yet another illustrative example, the remote computing session between a client computing device and the PES platform may be used to provide a version of the virtual desktop instance to be executed on the client computing device. The version of the instance may be adapted according to one or more of the operating system, the memory and the processing power specifications of the client computing device. With the adapted version of the virtual desktop instance copied onto the client computing device, the device may continue to interact with the virtual desktop instance even after disconnection from the PES platform. Subsequently, upon reconnecting to the PES platform, a new virtual desktop instance may be synchronized with the previous virtual desktop instance executed on the client computing device.
Although aspects of the embodiments described in the disclosure may describe, for the purpose of illustration, the management of one or more remote sessions corresponding to a software application, such as a virtual desktop instance, one skilled in the art will appreciate that the techniques disclosed herein may be applied to any number of software processes including, but not limited to, operating system processes and services. Further, although various aspects of the disclosure will be described with regard to illustrative examples and embodiments, one skilled in the art will appreciate that the disclosed embodiments and examples should not be construed as limiting.
In one embodiment, the client computing device 106 may run a remote computing application 130. The remote computing application 130 may request access to a virtual desktop instance hosted by the service provider computer network 105. The remote computing application 130 may also manage the remote computing session between the client computing device 106 and the service provider computer network 105. With further continued reference to
Illustratively, data center computers may be associated with private network addresses, such as IP addresses, within the service provider computer network 105 such that they may not be directly accessible by the client computing devices 106. The virtual desktop instances may be associated with public network addresses that may be made available by a gateway at the edge of the service provider computer network 105. Accordingly, the virtual desktop instances may be directly addressable by client computing devices via the public network addresses. One skilled in the relevant art will appreciate that each data center computer 110 would include physical computing device resources and software to execute the multiple virtual desktop instances or to dynamically instantiate virtual desktop instances. Such instantiations can be based on a specific request, such as from the client computing device 106.
The data center computers 110 may include instance managers 122. The instance managers 122 may be on the same computer as the respective instances 114, or on a separate computer. The instance managers 122 track progress of the instances executed on the data center computers 110, monitor and coordinate the storage of data created by the user while interacting with the instances 114 via the client computing devices, and monitor the overall health and state of the data center computers 110 and of the remote computing applications running on the client computing devices 106. The instance managers 122 communicate information collected through tracking and monitoring with the data center management component 101 of the PES platform 102 in order to efficiently manage the various remote computing sessions between the data center computers 110 and the client computing devices 106.
With continued reference to
Illustratively, the storage service platform 103 can logically organize and maintain information associated with a hosted virtual desktop instance 114 in a desktop store. The information associated with a virtual desktop instance 114 maintained in the desktop store can include, but is not limited to, user preferences, information associated with the execution of program data, user content, references to user content, and the like. For example, folders used by the user to store music, files, and the like on other storage devices, including through storage service providers, may also be mapped to the desktop store via references to those storage locations. That is to say, input/output operations, such as requests to open files in these folders, can be redirected to the desktop store. Thus, when a user attempts to open a file stored in his or her document folder, the request can be redirected by the operating system running in the virtual desktop instance to the desktop store. In addition to the data created by the user, the user's desktop profile, which may include, for example, configuration information for the desktop such as the background picture, fonts, arrangement of icons, and the like, is also stored on the desktop store associated with the user's virtual desktop instance. As will be explained in greater detail below, the service provider computer network 105 can mitigate the effect of failures of the data center computer(s) 110 running the virtual desktop instances or errors associated with the execution of virtual instances on the data center computer(s) by storing on storage servers independent from the data center computers. Additionally, the service provider network 105 can also facilitate client interaction with multiple virtual instances by maintaining the information in the desktop stores. In some embodiments, as described in further detail below, if one virtual desktop instance fails, a new instance may be launched, and attached to the same desktop store as previously attached to the virtual desktop instance that failed.
Logically, the desktop stores may be distributed across multiple servers, they may be replicated for performance purposes on servers in different network areas, or they may be replicated across multiple servers with independent failure profiles for backup or fault performance purposes. That is to say, the servers may be attached to different power sources or cooling systems, the servers may be located in different rooms of a datacenter or in different datacenters, and/or the servers may be attached to different routers or network switches. Illustratively, in some embodiments, a desktop store may be on one storage server, and changes made to the desktop store may be replicated to another desktop store on a different storage server. This replication creates a backup copy of the user's data. If the desktop store fails or the virtual desktop instance loses its connection to the desktop store, the PES 102 switches the connection of the virtual desktop instance from the desktop store to the back-up desktop store.
The PES platform 102 further includes a central storage device such as a PES repository 140 for storing data stored by the various desktop stores and backup stores on storage servers 107. The data center computers 110 and the storage servers 107 may further include additional software or hardware components that facilitate communications including, but not limited to, load balancing or load sharing software/hardware components for selecting instances of a virtual machine supporting a requested application and/or providing information to a DNS name server to facilitate request routing.
The service provider computer network 105 may also include a user profile store 108. The user profile store 108 may be used to store, for example, various programs a user is given access to while using a virtual desktop instance. The user profiles stored may also indicate a maximum time or cost associated with the remote computing sessions of different users. The PES platform 102 may take user profiles into consideration when placing and configuring virtual desktop instances. The PES platform 102 may also include, or be connected to, a virtual desktop image store 109. The virtual desktop image store 109 may include template images of operating systems without customizations applied per user profiles.
In an illustrative embodiment, data center computers 110 and storage servers 107 are considered to be logically grouped, regardless of whether the components, or portions of the components, are physically separate. For example, a service provider computer network 105 may maintain separate locations for providing the instances and the storage components. Additionally, although the data center computers 110 are illustrated in
With reference now to
With reference to
Illustratively, prior to the instantiation of a virtual desktop instance and establishment of a remote computing session, each instance manager 122 monitors the overall state and health of the respective virtual desktop instance. Such state and health information is sent from the instance managers 122 of the data center computers 110 to a data center management component 101 of the service provider. In addition, during the remote computing sessions, the instance managers 122 monitor the health and state of the network connection between the instances 114 and the client computing device 106. The instance managers 122 may also monitor the health and state of the connected client computing device 106 through an agent installed on the client computing device 106, for example. All of the monitored health and state information is sent to the data center management component 101. The information collected from the instance managers 122 and sent to the data center management component 101 is also referred to as state information herein. The state information collected from the various components is used to achieve the desired availability and reliability of services from the service provider computer network. If state information collected indicates a failure of one or more of the components, the failure can be addressed by transferring execution of the instances or accessing additional data storage locations.
As illustrated in
Subsequent to the receipt of the request, at step (2), the PES platform 102 selects a user profile for the user that submitted the request using information such as an user account identifier. The user profile may be stored on the user profile store 108 (refer to
A remote session may then be started to correspond to one or more application processes as identified by the client computing device 106. Illustratively, starting a new remote session may include booting a virtual desktop instance from an image within a virtual machine or a data center computer that is associated with allocated device memory, storage or cache space, processor time, network bandwidth, or other computational or network resources. The image may be accessed from a virtual desktop image repository, such as for example the virtual desktop image store 109 (illustrated in
After the PES platform 102 retrieves the user profile from the user profile store 108 (illustrated in
After an image from the virtual desktop image store 109 is used to create a virtual desktop instance 114, the PES platform 102 can also identify a desktop store, such as primary desktop store 170, to attach to the virtual desktop instance 114. For example, the PES platform 102 can select a data center computer 110 on which the virtual desktop instance 114 is to be executed and send the computer 110 a request to launch a virtual desktop instance 114 based on information in the user profile and send it a virtual desktop identifier. Illustratively, the association of the virtual desktop instance with the desktop store can be accomplished through the utilization of an Application Protocol Interface (“API”). For example, the instance manager 122 can utilize an API, such as an attach request, that can be transmitted to the storage service platform 103. The storage service platform 103 can verify that the virtual desktop instance 114 has the correct virtual desktop identifier and cause the user's desktop store 170 to be attached to the virtual desktop instance 114.
Network address information associated with the data center computer 110 can be sent to the client computing device 106. Once the client computing device 106 receives the IP address, a remote computing session may be started. Once the virtual desktop instance is configured, the PES platform 102 communicates with the client computing device 106, and sends a publicly accessible IP address associated with the virtual desktop instance. Once the client computing device 106 receives the IP address, it makes a connection request to the IP address. The user may then be authenticated, and then, if authenticated, the operating system on the instance loads the profile associated with the user. The profile is then used to in order to allow the user interface, or desktop of the virtual desktop instance to look and feel the way the user prefers. For example, the configuration of the instance may include configuring the registry, changing the fonts, setting the desktop picture, organizing the favorites and links on the desktop, putting icons for the appropriate documents on the desktop, and the like.
In some embodiments, upon receipt of the client computing device request, the data center management component 101 may also select processing and network resources, and provision software on another instance, such as instance 116, in addition to instance 114. An additional instance may be provisioned for one or more users associated with a client computing device 106, for one or more instances connected to a client computing device, or for a combination of these.
Then, the instance manager 122 continues to monitor the state and health of the instance 114. An agent running within the virtual desktop instance 114 may also monitor and coordinate the receipt and storage of data created by the interaction of the user on the client computing device 106 with the virtual desktop instance executed at the PES platform 102. The data may include information such as which files the user has opened, details about the user profile, and any data files created while interacting with the instance executed on the PES platform 105. The data may also include details concerning the user's graphical user interface. For example, the data may include the various windows that the user has open on the client computing device 106, the absolute and relative position of the respective windows, the emphasis of any components in the windows, and the like. The instance manager 122 may send the state information to the data center management component 101 and it may also write changes to the desktop profile and user content to the primary desktop store 170.
With continued reference to
In some embodiments, at step (2C), the saved data may also be stored at the PES repository 140. The storage to the PES repository 140 may be performed on a periodic basis, on an event-based basis, or a combination of the two. In some embodiments, the data may be purged from the desktop stores 170, 170′ on a periodic basis after storing on the PES repository 140. The period may be determined by an administrator of an entity associated with the users of the client computing devices 106.
Subsequently, at step (3), there may be an event associated with the virtual desktop instance 114. The event may include, for example, a failure of the virtual desktop instance. The virtual desktop instance failure may be due to a power outage, a network disconnection, a software or hardware failure on the data center computer, increased latency on the virtual desktop instance, a significant impairment of the virtual desktop instance, or any other failure of the instance. In case of such a failure, the state information sent from the instance manager 122 will indicate the failure to the data center management component 101. Alternatively, the primary desktop store 170 will detect an absence of changes to user information and indicate such absence to the data center management component 101.
Once the data center management component 101 detects an event associated with the instance 114, another virtual desktop instance is instantiated at step (4), such as for example virtual desktop instance 114′. The other virtual desktop instance 114′ may be executed on the same data center computer 110, or on a different computer 110′. The other virtual desktop instance 114′ may have been pre-configured, or the configuration may be started after the failure is detected on the virtual desktop instance 114. Once the data center management component 101 identifies the data center computer or the virtual desktop instance appropriate for execution, it sends the new public IP address to the client computing device 106 to re-connect to the new virtual desktop instance via a new remote computing session.
The user experience on the client computing device 106 appears almost seamless as the look and feel of the previous desktop is maintained across the old and new virtual desktop instance. The data previously sent to the PES platform 102 is made available to the new virtual desktop instance by a connection to the same primary desktop store 170. In addition, since the agent running within the virtual machine instance 114 collected information regarding the applications previously opened by the user, the same applications are opened on the new virtual desktop instance. Since the data saved included details about the user's graphical user interface, the user's perspective of the application process on the client computing device remains substantially uniform across the different instance executions. Thus, the new virtual desktop instance preserves the application process running on the client computing device 106, and the data previously sent to the PES platform 102 is restored to the new instance. The client computing device 106 retains the same user experience because the user data is synchronized between the different instances during the failure and re-establishment of the remote computing session.
In some embodiments, the user may be prompted to re-enter the user name and password for executing the remote computing application 130. In other embodiments, the user name and password may be stored in the data through a mechanism such as cookies, or electronic certificates, and the like, and the user name and password may be automatically loaded when the remote computing session is re-established.
As described above, the transfer of the remote computing session from one instance to another is done with minimal delay and disruption to the user experience on the client computing device 106. The delay and disruption is minimized by providing persistent storage of the data received from the client computing device 106.
In some embodiments, the virtual machine instance 114 may not fail, but instead, the primary desktop store 170 may fail. If the storage manager 135 detects such a failure of the primary desktop store 170, the connection between the virtual desktop instance 114 and the primary desktop store 170 is detached, and a connection is established between the virtual desktop instance 114 and the backup desktop store 170′, as illustrated in step (4B).
In some embodiments, the data collected at the data center management component 101 may be used to determine a state of the client computing device 106 to restore when re-establishing the remote computing session between the virtual desktop instance 114 and the client computing device 106. For example, the data collected may be used to determine a problematic state at the client computing device 106, and such a state may be determined to not be restored. The problematic state may be determined based on the severity and the frequency of problems encountered when connected to the client computing device 106.
With reference to
In some embodiments, it is possible for the client computing device 106 to be executing an operating system and applications locally, without remote execution of a virtual desktop instance 114 on the PES platform. The PES platform 102 may be used to replicate the hard drive of the client computing device 106 computing environment on one or more of the storage servers 107, and to then make the copy of the hard drive available to the user on the client computing device 106 or on another client computing device 106′ as a virtual desktop instance 114. In some embodiments, the PES platform 102 may be used to replicate the user content and desktop profile to a desktop store 170 on one or more of the storage servers 107 or to the PES repository 140, and to then attach that desktop store 170 to a virtual desktop instance 114 that is made available to the user of the client computing device 106 or 106′.
Users may sign up for a service from the service provider computer network 105, such as, for example, a desktop recovery service. Users subscribed to the service may be provided with a computer program to download on their client computing device, such as for example a desktop recovery program 330. The desktop recovery program 330 may then be run on the client computing device 106, and, as indicated by step (1), a session may be started between the client computing device 106 and the PES platform 102. After the session is established, the PES platform 102 may associate one or more of the desktop stores 170 with the user, as described above in connection with
With continued reference to
Subsequently, any changes made to the hard drive image, or to portions of the user content and desktop profile by the user's interaction with the client computing device 106 are replicated by the PES platform 102 by saving onto the desktop store 170 via a remote computing session. The replication of the changes may be scheduled based on the network connection bandwidth. For example, if the network connection bandwidth is high, replication may occur each time the client computing device's file system flushes its buffers to the disk. In contrast, if the network connection bandwidth is low, the replication may be scheduled to be performed periodically, such as for example, once per day, once per week, or any other suitable time, or based on a condition such as for example, when the network connection bandwidth is above a given threshold.
If there is a failure of the client computing device 106, as indicated by step (3), a copy of the hard drive or the user content and desktop profile associated with the user of the client computing device 106 is available at the PES platform 102. The failure may include one or more of a power outage, a network disconnection, a software or a hardware failure, or any other failure. The PES platform 102 may use the copy of the hard drive image to configure a virtual instance 114 on one or more of the data center computers 110, or it may attach the desktop store 170 where the user content and desktop profile associated with the user are saved to a virtual desktop instance 114, as indicated by step (4).
Consequently, when a new client computing device 106′ is used, or the client computing device 106 recovers from the failure, the desktop recovery program 330 and the remote computing application 130 are loaded on the device 106 or 106′. Then the remote computing application 130 may prompt the user to enter a user name and password. Subsequent to loading of the remote computing application 130, a request for a new remote computing session is transmitted to the PES platform 102 of the service provider computer network 105 at step (5).
Subsequent to the receipt of the request, the PES platform 102 selects a user profile using information such as a user account identifier included with the request. The user profile may be stored on the user profile store 108. In an example embodiment, the user profile may include or be associated with information that indicates an instance template from which to create an instance for the user. For example, in the case where the hard drive copy was created, the instance template could specify the hard drive image previously saved for the user to use as the instance template. A remote computing session may then be started to boot a virtual desktop instance from the copy of the user's hard drive image previously saved on one of the desktop stores 170 on one of the data center computers 110. In the case where the user content and desktop profile were saved, a desktop store 170 including the user content and desktop profile may be attached to a virtual desktop instance 114 to be accessed by the user.
With reference to
Subsequent to the receipt of the request, the PES platform 102 configures a data center computer 110 and an instance 114 to service the requested new remote session. The data center computer and the instance may be configured based on one or more application processes identified by the request and various memory or processing requirements associated with such application processes as stored in the user profile store 108.
For example, users of client computing devices 106 associated with an entity may have restrictions associated with them. The restrictions may be set by an administrator. The restrictions may include, for example, applications each user can have access to, and memory and processing limits associated with the different virtual desktop instances accessed by the users. For example, an administrator may set a default instance size for individual users. The default instance size may be stored in the user profile store 108 associated with the individual users, according to a user identifier, for example. The user profile store 108 may also include a variable for varying the instance size, depending on applications executed by the instance.
In one embodiment, a user may be restricted to execute applications with low processing requirements, such as electronic mail or web browsers only. Such a user may be provided access to a virtual desktop instance that is allocated a low amount of resources to support such applications. In contrast, the user may be authorized to execute applications with higher processing requirements, such as professional drafting or photo editing applications. This type of user may be given access to a virtual desktop instance that is allocated a large number of resources, sufficient to enable the user to run the applications. The applications authorized for different users may be saved in the user profiles for the user account. Alternatively, the different types of applications may be requested by the user while using the virtual desktop instance.
Illustratively, the processing requirements associated with a user or a client computing device may be determined based on a variety of scenarios. The determination may be based on a user request at launching of the remote computing application 130. For example, the user may be presented with a graphical user interface (GUI) displaying a variety of options for resources and applications. The user may then select the applications they wish to have access to, or, alternatively, the version of those applications. For example, one user may wish to access a basic version of an application while another user may wish to access a professional version of the same application. The determination may also be based on pre-selected options for certain users as determined by administrators of entities associated with the users. For example, the pre-selected options may be presented to the user as a list of different packages of applications to which the user may wish to have access. In some cases, the determination may be made on historical usage data of a user, which the PES platform 102 may determine once the request is received from the user. In other cases, the determination of the processing requirements may be based on ongoing monitoring of use of processes by the user once the remote computing session is initiated. In such cases, the selection of the adequate instance may be dynamically changed after the session is established, and the dynamic change over to a new instance may be performed as described with respect to
Referring again to
In some embodiments, an instance agent 114A can monitor, at step (4), the amount of CPU and memory that the instance 114 is using and can also ask for more resources from the PES platform 102 if they are needed. In some embodiments, each application can be tagged with information indicating how many resources are needed. When the instance agent 114A detects a launch of a program, the agent can be configured to look up requirements in a table or signal to the PES platform 102 that the application launched, so that the PES platform 102 can send a signal to the agent 114A indicating the resources need to be allocated to the instance 114.
The determination of the optimal instance for a user, may help implement usage-based billing of the users. Instances allocated with a large number of resources may be restricted. For example, such instances may only be provided to certain authorized users, or may only be provided to certain users for limited periods of time. The usage-based billing of the different instances may include a base price component for the use of the service provider resources, and a variable price component based on the allocated resources, and the total time used with different the different resources. A user's use and request of resources may also be used for user management by an administrator of an account associated with the user. For example, a notification may be sent to the administrator when the user requests a level of resources exceeding a given threshold.
The determination of the resources to allocate to instances may also be based on the cost associated with the use of the resources. For example, a given instance configured with a given level of resources may be limited to be used up to a threshold amount of cost of use of those resources. In another example, the instance may be used with a threshold amount of allocated resources. Alternatively, a user's access to an instance may be downgraded to an instance with lower resources after a threshold amount of time monitored to be idle or indicating low resource utilization during a given session.
An administrator may provide different rules for authorizing users' access to resources on the virtual desktop instances. For example, the rules may define different types of users and the types of users may be stored in a set of rules provided to the program execution service (PES) platform by the entity. The rules may be associated with the different users' login information, such as a user account identifier, and stored in user profile stores 108. When the user launches the remote computing application 130 on the entity's client computing device 106, the PES platform 102 may determine, based on the login information received, the appropriate instance according to the specifications included in the user profile associated with the user account identifier.
For purposes of an illustrative example, assume a contractor hired by the entity may be authorized to use a determined application process for a determined amount of time on the client computing device 106. Therefore, the entity assigns the desired requirements to the contractor's user identity, as communicated to the PES platform 102. Then, when the contractor launches the remote computing application 130, the login indicates the contractor's user identifier. Thereafter, the service provider determines the instances and data center computers to configure to be associated with the client computing device 106 for that and any subsequent remote computing session. The data center management component 101 of the service provider monitors the contractor's use of the determined processes, processing levels and times of use, and limits the use as per the predefined conditions of the entity administrator. The contractor need not install any software applications on the client computing device 106, and the entity need not monitor use of any applications by the contractor. The PES platform 102 accommodates both parties' needs centrally.
The configuration of the applications and the processing requirements of the applications based on predetermined user types may be used for billing the entity. The usage-based billing of the different instances may include a base price component for the use of the service provider resources, and a variable price component based on the processing requirements, and the total time used with the different processing requirements. Alternatively, the entity may obtain licenses to a variety of application processes from the PES platform 102, and the licenses may be used by a variety of users authorized by the entity, when the entity makes available a client computing device 106, and the user name is associated with the appropriate permissions for the various application processes needed for the respective user.
The configuration of the service provider instances may also be used to provide pre-selected combinations of application processes on the different instances, based on historical requests or provisions of the instances during remote computing sessions. The combinations of application processes and processing requirements may be configured to different types of users, for example. The types of users may be for example, simple email readers and web browsers, or may be professional drafters or photo editors. In some embodiments, the configuration of the instances may also be based on storage requirements associated with the application processes instead of, or in addition to, the processing requirements.
With reference to
For example, while the user of the client computing device 106 interacts with the virtual desktop instance, the user may access applications requiring only low processing power, and low memory requirements. However, after some time, the user may request access to one or more applications requiring more processing power and more memory. In some embodiments, the request for the different requirement may be initiated by the user's selection of an icon for an application on the desktop interface. In some embodiments, the request may be initiated by the user's selection of an option from a list of options in a control panel. For example, the list of options may include a sliding scale of different amounts of processing power and memory. In either case, the instance manager 122 determines the need for a different configuration of the instance 114 at step (4).
The PES platform 102 may dynamically adjust the amount of resource allocated to the virtual desktop instance to accommodate more processing power and memory. In some embodiments, at step (5), the adjustment may require re-launching instance on the same or a different data center computer. The re-launching of a virtual desktop instance may include terminating the running instance, de-associating the desktop store from the instance, selecting a data center computer to launch the new instance, instantiating the new instance on the selected data center computer, and associating the desktop store to the new instance. Once the instance is instantiated, the user may be provided access to it by a login prompt.
In other embodiments, the adjustment may include adding additional resources to the virtual desktop instance without termination of the instance. For example, the instance manager could add another processor or memory to the virtual machine executing the desktop instance, etc. In some embodiments, the processor may be added to the virtual desktop instance by hot-adding a CPU to the virtual desktop instance. The CPU may be hot-added by adding new hardware to the data center computer, logically performing hardware partitioning online, or virtually through a virtualization layer. The data center computer 110 need not be automatically started after the CPU is added, but may simply be reconfigured to recognize the new CPU as an available resource. In some embodiments, the memory may be added to the virtual desktop instance by hot-adding memory to the virtual desktop instance. Hot-adding memory to the data center computer 110 may be implemented by ensuring that a mechanism for adding physical memory to the operating system instance is supported without requiring any operating system downtime or any system power operation.
For example, a client computing device 106 may be connected to a PES platform 102 via a network 104, and the device 106 may be disconnected from the network 104 prior to a user boarding an airplane. Prior to disconnecting from the network 104, optionally after prompting the user for approval, the client computing device 106 may be provided an image of the operating system, such as the image stored on the virtual desktop image store 109. Since the client computing device 106 may have a different configuration of processing power or memory than the data center computer 110, the image of the operating system adapted to the client computing device may have a corresponding power and memory configuration. The client computing device 106 may also be adapted with the latest saved version of the data with a copy of the desktop store. Finally, the client computing device 106 may also receive from the service provider computer network 105 a virtual desktop monitoring module 601 to launch an instance 114′ based on the image of the operating system provided and to attach the instance 114′ to the local copy of the desktop store 170′. Thereafter, when the client computing device 106 is disconnected from the network 104, the user may continue to use the device with the instance being executed locally on the client computing device 106. The client computing device 106 may then have the data and the adapted version of the instance executed while on the airplane.
In another embodiment, the client computing device 106 may be provisioned with a copy of the image of the operating system, the instance manager, and the virtual desktop monitoring module 601 without connecting with the PES platform 102. For example, the computing devices 106 of an entity may be configured with the appropriate image and module by the information technology (IT) department of the entity. Upon connection with the PES platform 102, and prior to disconnecting from it, optionally after being prompted for approval, the client computing device 106 may be provided with the latest saved version of the data with a copy of the desktop store. Then, the virtual desktop monitoring module 601 may launch an instance 114′ based on the image of the operating system, and may attach the instance 114′ to the local copy of the desktop store 170′. Thereafter, when the client computing device 106 is disconnected from the network 104, the user may continue to use the device with the instance being executed locally on the client computing device 106. The client computing device 106 may then have the data and the adapted version of the instance executed while on the airplane.
Then, when the user of the client computing device 106 returns to an area within the service provider's network (for example, gets off the airplane at its destination city), the PES platform 102 re-establishes the remote computing session with the client computing device 106, and all of the user's data is synchronized, and the user's disruption in the use of the application processes is thus minimized.
The steps involved in transitioning the operation of the virtual instance from the remote to the locally networked environment is shown in
Then, at step (2), while the user is accessing the virtual desktop instance in the remote session, the user's changes to the desktop profile and to user content are stored at the desktop store 170. At step (3), in some embodiments, the client computing device 106 may indicate to the PES platform 102 that the network connection is expected to be lost. Upon such indication, or for synchronizing purposes, the PES platform 102 provides, at step (4), a copy 170′ of the desktop store 170, a copy of the image of the operating system executed by the instance 114, and a copy 122′ of the instance manager 122 to the client computing device 106, so that the instance 114′ is executed locally on the client computing device 106 while there is network connection available with the PES platform 102. As described above, in some embodiments, the image of the operating system, the instance manager and the virtual monitoring module 601 may already be installed on the client computing device 106, and the PES platform would only provide a copy 170′ of the desktop store 170.
Once the instance 114′ is available on the client computing device 106, it is executed locally, and all changes made to the desktop profile of the user and the user content are stored on the local copy of the desktop store 170′. Then, when a network connection is re-established with the PES platform 102, at step (5), a remote computing session is requested from the remote computing application 130 of the client computing device 106. As in the above, at step (6A), the user's user profile is used to instantiate a virtual desktop instance 114 on a data center computer 110, and at step (6B), when the client computing device 106 is connected to the PES platform, the copy 170′ of the desktop store is saved to a storage server 107. Then, at step (7A), the changes made to the copy 170′ of the desktop store are synchronized to the primary desktop store 170 associated with the user, and at step (7B), further changes received from the user while interacting with the virtual instance 114 in the remote session are also saved to the primary desktop store 170.
At block 706, the PES platform 102 receives a request for a new remote computing session from a client computing device. At block 708, the PES platform 102 selects an image and an amount of resources to allocate to an instance generated using the image. In various embodiments, the appropriate instance may be based on information included in the user profile store in association with the user of the client computing device from which the request is received. Once the instance is selected, an appropriate data center computer may be selected to host the instance, and at block 710, the PES platform 102 starts a remote computing session between the instance and the client computing device. At block 712, the PES platform attaches a specific data store to the instance, for that user.
While the remote computing session is established, the data created by the user's interaction with the virtual desktop instance at the PES platform 102 is then saved to the desktop store selected at block 714. In some embodiments, the PES platform 102 may additionally copy the data received onto a second desktop store. In some embodiments, the PES platform 102 may periodically transfer the data to a centralized PES repository in order to free up storage on the desktop store. Then, at block 716, the PES platform 102 detects a failure of the instance involved in the remote computing session. In one embodiment, the PES platform 102 may identify the failure based on state information received from the instance, or, alternatively, based on not receiving such state information from the instance.
Subsequent to detecting a failure at the instance at block 716, the PES platform, at block 718, the PES platform 102 causes the data to be made available to a second virtual desktop instance. The data may be made available to the second virtual desktop instance through synchronizing the data, or by removing the association between the desktop store and the initial instance, and associating the desktop store with a new instance. Once the data has been made available to the second virtual desktop instance, then the routine moves to block 720. In some embodiments the virtual desktop instances of the PES platform 102 may be pre-configured according to user profiles. In such embodiments, when a failure is detected at block 716, then the PES platform 102 identifies another instance that has been pre-configured with the required user profile. Alternatively, the instance may be configured after detection of the failure at block 716. Then, with the new instance identified, the required IP address information is communicated to the client computing device, and the remote computing session is re-established at block 720. The routine 700 ends at block 722.
Then, at block 808, a failure of the client computing device may be detected. The failure of the client computing device may be due to a power outage, a network disconnection, software or hardware failures, or any other failure causing the remote session to be disconnected. The image of the hard drive and all changes to it are available at the PES platform.
Consequently, when the user of client computing device utilizes a new client computing device, or re-connects to the desktop recovery service using the same device, a request for a new remote session is sent to the PES platform 102. Upon receipt of the request, at block 810, the PES platform configures a virtual desktop instance with the image of the hard drive stored and associated with the user, according to a user identifier retrieved from the user profile store. Then, at block 812, and the PES platform 102 establishes the remote computing session with the user's computing device. Once the remote computing session is established, the PES platform 102 allows the user to access the instance based on the hard drive stored, or alternatively, provides the user with access to the user content and desktop profile saved for the user. The routine 800 ends at block 816.
The routine 900 starts at block 902. At block 904, a request for a remote computing session is received from a client computing device. At block 906, based on a user identifier determined from the user login included with the request, the PES platform 102 determines a user profile associated with the user, as stored on a user profile store. Then, at block 908, the processing requirements for an instance to be provided to the user are determined from the user profile. Then, at block 910, the PES platform 102 obtains a virtual desktop image template from a virtual image store. For example, the user profile may indicate that the user has been assigned a “premium” instance, which indicates that the user is to be allocated an instance with a large amount of resources (memory, CPU cores, network bandwidth, GPU code, etc.) and a premium set of applications. Turning to block 912, a data center computer system can be selected to host the virtual desktop instance and the instance template can be sent to the selected computer system. The instance manager on the computer system can launch a virtual desktop instance. The user profile may include restrictions for instance requirements as established by an entity's administrator. Next, at block 914, once the appropriate instance has been configured (e.g., by attaching a data store to it), the remote computing session is established between the instance and the client computing device. The routine 900 ends at block 916.
For example, a user of a client computing device wishing to, or authorized to, execute applications with low processing requirements, such as an electronic mail program or web browser, may be associated with a virtual desktop instance provisioned with only low processing power capabilities (e.g., 1 or 2 CPU cores and 1 gigabyte of RAM) and only such applications. That is, the user profile may indicate that the user is to be allocated a “small” instance or the user profile may indicate that the user is to be initially assigned a “small” instance that can dynamically grow based on how the user is using the instance. In contrast, a user of a client computing device wishing to, or authorized to, execute applications with higher processing requirements, such as professional drafting or photo editing applications, may be associated with a different virtual desktop instance provisioned with high processing power capabilities (e.g., 4 or 8 CPU cores and 16 gigabytes of RAM) and such applications. Similarly, the user profile may indicate that the user is to be initially allocated a “premium” instance that may shrink based on how the user is using it. The processing requirements associated with a user or a client computing device may be determined based on a variety of factors. The determination may be based on a user request at launching of the remote computing application. The determination may also be based on pre-selected options for certain users as indicated in data transmitted when the remote computing application is launched.
Once the PES platform 102 determines the processing requirements needed for the client computing device request, then, at block 1006, the remote computing session is established between the virtual desktop instance and the client computing device. Subsequent to establishing the session, the instance may be dynamically adjusted based on monitoring the use of the instance by the user of the client computing device at block 1008.
For example, the initial virtual desktop instance may be provisioned with low resources, based on the user profile. However, after some time, the user may request access to a virtual desktop instance with more resources to perform a specific task, such as to work on a database. In some embodiments, the request for the different requirement may be initiated by the user's selection of an icon for an application on the desktop interface. In some embodiments, the request may be initiated by the user's selection of an option from a list of options in a control panel. For example, the list of options may include a sliding scale of different amounts of processing power and memory.
The PES platform 102 may dynamically adjust the amount of resource allocated to the virtual desktop instance to accommodate more processing power and memory. In some embodiments, the adjustment may require re-launching the instance on the same or a different data center computer. The re-launching of a virtual desktop instance may include terminating the running instance, de-associating the desktop store from the instance, selecting a data center computer to launch the new instance, instantiating the new instance on the selected data center computer, and associating the desktop store to the new instance. Once the instance is instantiated, the user may be provided access to it by a login prompt.
In other embodiments, the adjustment may include adding additional resource to the virtual desktop instance without termination of the instance. For example, the instance manager could add another processor to the virtual desktop instance, add memory to the virtual desktop instance, etc. The routine 1000 ends at block 1010.
While no such disconnection is anticipated, the PES platform 102 continues to receive data from interaction of the user at the client computing device and stores the data at block 1106. However, if at block 1108, the PES platform 102 determines that the network connection is planned on being lost, then the routine moves to block 1110, and the PES platform 102 replicates a copy of the image used to generate a virtual desktop instance (e.g., an image of an OS and installed applications) onto the client computing device, and also replicates a copy of the desktop store onto the client computing device. In some embodiments, it may require a significant amount of time to replicate the image used to instantiate the virtual desktop instance. Thus, the user may have to plan accordingly. In alternative embodiments, the client computing device can be provisioned with an image used to generate a virtual desktop instance or receive a copy of the image sometime before when the user will need to enter a disconnected mode. In this embodiment, when the PES platform 102 determines that the network connection will be lost, the PES platform 102 can cause the desktop store to be sent to the client computing device. Here, the PES platform 102 may not have to send everything in the desktop store to the client computing device; rather the PES platform 102 can send the changes since the last time the PES platform 102 synchronized with the client computing device. For example, a local instance manager can maintain a timestamp indicating the last time a change was made as well as a change log indicating what blocks have changed in a local desktop store and the PES platform 102 can maintain a timestamp and change log for the desktop store. The PES platform 102 and local instance manager can determine the differences and synchronize. In an alternative embodiment, the change log can be maintained at a file system level, instead of at a block level. For example, an agent in the instance can keep track of the changes. In this configuration changed files and settings can be synchronized instead of blocks. In some embodiments, the client computing device may be adapted with a lower-powered, less energy intensive version of the instance executed on the data center computer.
Thereafter, when the client computing device 106 is disconnected from the network 104, the user may run a local virtual desktop instance from the locally stored image and attach the local data store. Here, changes to the desktop profile and the user content are stored on the local copy of the desktop store. Then, when a network connection is re-established with the PES platform 102, such as for example, when the user of the client computing device 106 returns to an area with network connectivity to the service provider's network (for example, gets off the airplane at its destination city), a remote computing session request is received from the client computing device and the local desktop store is synchronized with the desktop store, as shown by block 1112. In a specific example, the synchronization operation could occur when the user attempts to start a virtual desktop instance in the PES platform 102. When the client computing device 106 is connected to the PES platform 102, the copy of the desktop store 170 is saved to a storage server 107 of the PES platform 102. Changes made to the copy of the desktop store 170 are synchronized to the primary desktop store 1400 associated with the user, and further changes received from the user while interacting with the virtual instance in the remote session are also saved to the primary desktop store 170. The routine 1100 ends at block 1114.
While illustrative embodiments have been disclosed and discussed, one skilled in the relevant art will appreciate that additional or alternative embodiments may be implemented within the spirit and scope of the present invention. For example, the techniques described herein may be utilized, without departing from the scope of the present invention, to allow remote processing management in any number of other software applications and processes, including, but not limited to, image or video editing software, database software, office productivity software, 3d design software, audio and sound processing applications, etc. Additionally, although many embodiments have been indicated as illustrative, one skilled in the relevant art will appreciate that the illustrative embodiments do not need to be combined or implemented together. As such, some illustrative embodiments do not need to be utilized or implemented in accordance with the scope of variations to the present disclosure.
Conditional language, such as, among others, “can,” “could,” “might,” or “may,” unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements and/or steps. Thus, such conditional language is not generally intended to imply that features, elements and/or steps are in any way required for one or more embodiments or that one or more embodiments necessarily include logic for deciding, with or without user input or prompting, whether these features, elements and/or steps are included or are to be performed in any particular embodiment.
Any process descriptions, elements, or blocks in the flow diagrams described herein and/or depicted in the attached figures should be understood as potentially representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process. Alternate implementations are included within the scope of the embodiments described herein in which elements or functions may be deleted, executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those skilled in the art. It will further be appreciated that the data and/or components described above may be stored on a computer-readable medium and loaded into memory of the computing device using a drive mechanism associated with a computer readable medium, may be stored in any number of computer executable components such as a CD-ROM, DVD-ROM, or provided or obtained via a network interface; further, components and/or data can be included in a single device or distributed in any other manner. Accordingly, general purpose computing devices may be configured to implement the processes, algorithms, and methodology of the present disclosure with the processing and/or execution of the various data and/or components described above.
It should be emphasized that many variations and modifications may be made to the above-described embodiments, the elements of which are to be understood as being among other acceptable examples. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.