Is it possible to "mount" virtual CPU located in the cloud? - virtual-machine

Is it possible to "mount" a virtual machine located in the cloud to my computer? Or in other terms to pipe some threads directly from my machine to the cloud and get the results back to virtually improve my computer's power.
I searched something existing with virtual machines or docker but I didn't find anything.

Related

How to mount windows volume without letter in "Linux for Windows"

I have the following task:
I installed Linux for Windows in Windows 10 Pro computer;
I installed Ubuntu 18.04 LTS;
I have a separate volume in Windows computer, which doesn't have a drive letter assigned to it;
I need to find a way to mount this Windows volume without letter in WSL Ubuntu.
I know the volume id in case it is required.
Any ideas how to achieve this?
Thx, Vlad.
First of all, my question wasn't completely right, I wrote Linux for Windows but in fact I was talking about "Windows Subsystem for Linux".
The idea is to have 1 disk drive as hardware configured RAID 0 storage which is built with 2x Samsung SSD 1Tb. But for protection of data on RAID 0, I want to use HDD which will sync data with rsync or any cloud service. I selected ownCloud.
Finally, I want to hide the HDD from the system and configure WSL to use it.
Hereby how it works for me:
1) I created a folder here: c:\Users\Public\wsl
2) I mounted the HDD in the folder created above.
3) After the HDD is mounted, I created a subfolder for my favorite Linux distribution: c:\Users\Public\wsl\ubuntu
4) I installed Ubuntu 18.04 in this folder as it described here: Installing WSL on Windows 10 without MS Store
5) The point above allows to install ownCloud server on hidden HDD. Now, in order to get it running at system boot, one can create scripts as described here: how to autoload apache2 and mysql in WSL at Windows boot
6) And finally, to get ownCloud Server running at system boot, even before any user login, one needs to do as follows:
*) Open Windows task scheduler;
*) add a task which runs autostart.sh (see how to make this script on a link above) on system boot;
*) use wscript.exe (from windows system32) as the command to run and the vbs script as parameter. Check this link if you need more details;
7) Finally, we need to setup ownCloud client on the computer and connect it with the server by using http://localhost as the server url.
So, as result of this setup, one gets faster disk system based on 2x SSH configured in RAID 0 and to protect data, one uses a local cloud server in virtual machine to get personal content synchronized with standard HDD.
If the system uses actively SSD, the cloud won't get time for syncing data. But as soon as resources are available, system will sync data in background mode into the HDD, which requires more time to write the same data.
This setup allows to use SSD system at full speed as it is required by applications and it does not limit dramatically the performance of SSD subsystem while keep syncing data in slow HDD as computer resources are available and SSD resources are available.

how many virtual machine can be created in a machine with 16GB RAM

i want to create no. of virtual machines with Ubuntu operating system. I want to install hadoop, spark, yarn, cassandra, mongodb etc big data tools on each one of it. so, how many virtual machine can be created on a single machine with 16GB RAM?
other info. is given below
enter image description here
Considering your software requirement maximum of 2 virtual machines can be created..that too if you are not using cloudera-manager services

Where does the Host store the documents used in a Virtual Machine?

Is there a folder in the Host where the files used in the Guest are stored? Specifically, I refer to documents, text files et similia.
I found several posts about file sharing between the two OSs, but they do not answer this question. Actually, on the Host I found only the VM configuration files.
I mean, it is a VM, ok, but they have to physically stay somewhere on the Host HD! What if I want to access them without starting the WM?
My usual config:
W10 - Host;
Lubuntu - Guest.
It really depends on what kind of virtual disk you use VDI, VMDK, VHD, or HDD.
VDI is an issue. The only way i've found so far is to use a USB drive to copy things off and on, or create a network share.
If you're using VMDK, Vmware has a tool I believe is called VMware disk mount as a part of their VDDK, and you should be able to use it to mount VMDK disks as hard drives. https://developercenter.vmware.com/web/dp/sdk/55/vddk
Windows VHD is the easiest one to work with. You can use "Computer Management" on your windows PC to mount the VHD as an external drive using this tutorial. http://notebooks.com/2011/02/25/how-to-browse-and-copy-files-from-a-vhd-system-image-backup/
I'm really not sure about HDD.

virtual machine and cloud computing [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
hi everybody
I'm very new to IT field can anybody explain me relation between virtual machine and cloud computing .
In my firm they using a private cloud using ubuntu eucalyptus tool . They uses KVM.
when ever i demand the resource they says we will give u the virtual machine is cloud computing means providing virtual machine as i study cloud computing over the net it sound like a different technology .
More important i want to know does the specification(characteristic ) of virtual machine depend on the physical machine ?
which they are imitating or we can provide our specification such as making a virtual machine of 100 GB storage while the physical machine has only 20 GB hard disk?or is it possible to make a virtual machine a virtual machine 0f 4 gb RAM while physical machine is having ram of 128 mb
please explain me this concept I'll be thankful to all of you forever
Here it is in a nutshell:
A cloud is built up of numerous physical machines (the hardware). Each of these machines then run multiple virtual machines, which is what are presented to the end-users.
Virtual machines are only limited in the way that their specifications cannot exceed that of their host (the underlying physical machine).
So no, if the physical machine on which your virtual machine runs only has 20GB of harddrive space, you cannot ask them to create a VM with 100GB of disk space. (The same applies to RAM).
That being said, the way storage works on the EC2 (Amazon Compute Cloud) is a bit different. The storage is done offline, so in that case it would be possible to request drive space that exceeds the host, but again not exceeding the physical size of the actual place where the storage is done.
Furthermore, the restriction placed that Vitrual Machines cannot exceed the host capabilities also applies if you have multiple VMs running on the same host. In that case, the shared capabilities of the VMs cannot exceed that of the host. For example, if you have 4GB of RAM on the physical machine, then you can have 2 VMs each with 2GB of RAM.
Virtual machines means sharing the resources of a single physical computer among several different virtual computing environments - effectively, one computer pretending to be several computers. Obviously, you can only share whatever physical resources you have so if the physical machine has 12Gb of RAM, then you could have virtual machines that use up to 12Gb combined; however, you could distribute the 12Gb as you like, for example with one computer having 4Gb while the rest only have 1Gb. Similarly with hard disk space and processing power.
Cloud computing is effectively many computers pretending to be the one computing environment. In practice, the computers making up the cloud system will also be virtualised in order to maximise the resources of the physical computers.

How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server and/or Hyper-V Server Virtualization?

What I would like to do is create a clean virtual machine image as the output of a build of an application.
So a new virtual machine would be created (from a template is fine, with the OS installed, and some base software installed) --- a new web site would be created in IIS, and the web app build output copied to a location on the virtual machine hard disk, and IIS configured correctly, the VM would start up and run.
I know there are MSBuild tasks to script all the administrative actions in IIS, but how do you script all the actions with Virtual machines? Specifically, creating a new virtual machine from a template, naming it uniquely, starting it, configuring it, etc...
Specifically I was wondering if anyone has successfully implemented any VM scripting as part of a build process.
Update: I assume with Hyper-V, there is a different set of libraries/APIs to script virtual machines, anyone played around with this? And anyone with real practical experience of doing something like this?
Checkout Powershell Management library for Hyper-V on CodePlex. Some features:
Finding a VM
Connecting to a VM
Discovering and manipulating Machine states
Backing up, exporting and snapshotting VMs
Adding and removing VMs, configuring motherboard settings.
Manipulating Disk controllers, drives and disk images
Manipluating Network Interface Cards
Working with VHD files
You can actually script a fair number of tasks in MS Virtual Server:
http://www.microsoft.com/technet/scriptcenter/scripts/vs/default.mspx?mfr=true
http://msdn.microsoft.com/en-us/library/aa368876(VS.85).aspx
Also Virtual PC guy has got a ton of stuff on his blog about scripting Virtual Server/PC and now Hyper-V here:
http://blogs.msdn.com/virtual_pc_guy/default.aspx
VMware has similar capabilities:
http://www.vmware.com/support/developer/scripting-API/