1. One or more non-transitory computer-readable storage mediums storing one or more sequences of instructions, which when executed by one or more processors, cause: in response to a device receiving a request to launch an application, the device instantiating, without human intervention and based on a policy, a virtual machine in which the application is to be launched wherein instantiating comprises: the device determining, based on the policy, which resources of the device are accessible to the virtual machine, the device determining based on the policy and the identity of the application requested to be launched within the virtual machine, whether the virtual machine should be provided access to a type of resource, residing on said device, which obligates a user of the device to make a monetary payment for use of the type of resource, and the device instantiating the virtual machine to have access to only those resources permitted by the policy, wherein said policy determines what resources, of any types of resources that obligates the user of the device to make a monetary payment for use of the resource, are permitted based on the identity of the application.