Skip to main content

Create a 1 TB Linux virtual Machine in Azure

Azure is great, and the greatest thing is that you can run tiny Linux virtual machines and attach lots of cheap hdd space on them. You will only pay what you use of this extra space.

Here is how you can create a LINUX virtual machine in the Azure, and then attach an extra 1TB disk on to it. After that you can install owncloud or whatever and replace this 10$/month dropbox subscription you had.

  1. Login to your Azure
  2. Create a new Ubuntu 15 (Vivid) VM on any tier
  3. In the Azure dashboard for the VM, attach a new disk with 1023GB
  4. SSH to your VM on port 22 and authenticate
  5. Run : sudo fdisk /dev/sdc
  6. Type : n
  7. Type : p
  8. Hit : Enter
  9. Hit : Enter
  10. Type : w
  11. Run sudo mkfs -t ext4 /dev/sdc1
  12. Run sudo mkdir /data
  13. Run sudo mount -t ext4 dev/sdc1 /data

You know have the new disk in the /data folder for use 🙂

You can verify by running : lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL


I am the one