How can I add memory to an Azure virtual machine? - azure

Is it possible to add a "custom" size memory to an Azure virtual machine?
For example, I'm using the Medium size - 2 core, 4GB RAM, I would like to have 8GB RAM with the current settings I have... otherwise the next option available is A5 2 core with 14GB.

At https://portal.azure.com/ you can select the machine, then go to Size and pick another size for your virtual machine. It currently looks a bit like this:
If you scroll down see you a lot of different configurations, but you can't customize parameters of any of the given configurations.
See also How to: Change the Size of a Windows Azure Virtual Machine at MSDN.

Simple answer is you can't. You will need to pick up from one of the existing VM sizes.

Looks like Microsoft recently added a Large (A3) machine with 7GB
http://azure.microsoft.com/en-us/pricing/details/virtual-machines/

Related

How to identify drive of Azure Virtual Machine with how it is shown at Azure Portal?

I am trying to identify which drive matches from Azure Virtual Machine with what is shown on the Azure Portal site.
I am trying to increase the size of one drive (H:\ drive) in VM from Azure Portal site.
This is how it shows up in VM:
This is how it shows up in Azure Portal site:
Where do I go about finding the right one to upgrade (from Azure Portal site)?
Currently, H:\ drive has 2 TB for the capacity, and I am trying to increase to 4 TB.
Modified/Added this later (after I got the feedback):
Modified/Added this later (after I got the feedback):
Thanks.
I tried to reproduce the same in my environment to identify which drive matches from Azure Virtual Machine
I have created azure virtual machine and attached a new disk like below.
In Disk management to make understand on your disk -> right click -> properties -> you can see LUN number -> in my case LUN8 is represent as disk 5
My disk 4 is identify in E drive as LUN 7
Now in disk click on virtual disk. suppose You want to increase size of azure8 (my disk name)
If you click on 5 -> 5 is represent as disk 5 (G)drive as location on LUN 8 in my portal LUN 8 is azure8 disk name this way u can identify which drive is represent on which disk
Additionally, To note the drives while allocating volume I have added to remember 2s for disk2 for particular LUN
The following solution might help you with finding out which LUN number correlates to your 'H' partition. It is not very optimized but after a quick test should yield the desired result.
The commands are:
Get-Disk
Get-Partition -DiskNumber 2
$mydisk = Get-Disk 2
$mydisk.Location
The output should provide the LUN. DiskNumber 2 was arbitrarily chosen and you might have to try all disk numbers provided by "Get-Disk" to obtain the disk with the correct partition (or of course use some other method).
See the image below for my results:
This MS Learn article provides more information about the commands.
Hopefully this helps.
Kind regards

What is the smallest vm available in azure?

I'm interested in creating a VM in Azure and downloading to my own machine to use in Hyper-V. The past couple of attempts at creating a VM have resulted in a 127Gb image. Can anyone tell me what the absolute smallest windows vm available is and how I can choose this in set up. There doesn't seem to be any options for anything smaller than this.
You can use windows vms labeled as smalldisk, those will have 30gb os disk size. any linux vm will have 30gb os disk by default.
if using non portal, you can specify os disk size, I didnt ever try to downsize it below 30, but cant imagine why it wont work (unless there isn't enough space on the disk).
Azure recently announced new B-series VM size, B1ls, which has the smallest memory and lowest cost among Azure VM instances. This offering is in response to customers who were looking for entry-level offerings. B1ls has 512 MiB of memory and 1 vCPU, and it costs only $0.0052 (US East) per hour.
B1ls is available only on Linux.
Reference: https://azure.microsoft.com/en-us/updates/b-series-update-b1ls-is-now-available/

How to create Virtual Machine in Azure Free Services without cost

Azure says here that
750 Hours of B1S VM and 64 GB X 2 Managed Disks, 2 P6 SDDs
and some others are free each month for 12 months.
On VM create in Azure Portal, There are Basics, Disks and other tabs, In Basics, I could able to select Image Size to B1S VM but in Disks tab, there is no option to select Managed Disk of 64GB of P6 SDDs.
There are only three options i.e Premium SSD, Standard SSD, Standard HDD. Whatever I select and proceed further, VM takes default of 128 GB C Drive and 4 GB of Temp Drive and starts billing.
Where can I select that free 64 GB X 2 Managed Disks, 2 P6 SDDs.?
Just hover mouse over "create" in the virtual machines tab in menu. That will show a "free VM" option. Click that and it configures everything required for a free VM.
In Azure Portal use the search square box (on top) and look for "Free Services" then you will be able to use free VM and other services.
I don't think you can change disk os disk size at all (only increase it), but there are Windows images called smalldisk; those have 30gb disk. You can use those, they should work just fine.
After making the VM, open the resource group of the vm. Click the disk of the vm (Be sure that the VM is to be switched off, else it won't work) and select the disk. Open the disk and on the sidebar click size and performance and resize the disk to p6.
I think VM creation is not completely free. You have to pay for computing power and disk. Please response if I am wrong.

Azure: Cannot Configure a VM Size beyond A0-A4

I am attempting to increase the size of a Virtual Machine on my Azure subscription from an A2 (2 cores, 3.5GB) machine to a D3 (4 cores, 14GB) machine. The only options available for this particular VM on the configure tab > Virtual machine size are:
- A0
- A1
- A2
- A3
- A4
I do not see an A5 or a D3 virtual machine size available - although these are available for other virtual machines within my subscription. We have had this and a couple of other VMs with the same issue running for about a year and a half - the newer VMs in our subscription (as well as machines in the create gallery) can all be scaled into the memory and CPU intensive versions (A5 or D3, D4).
Is there any pathway that will allow me to upgrade this older VM to a newer specification of Virtual Machine?
According to the Azure MSDN article "Virtual Machine and Cloud Service Sizes for Azure" at:
http://msdn.microsoft.com/en-us/library/azure/dn197896.aspx
You can't increase the size of a "Basic Tier" VM to larger than A4. So, it looks like you will need to use the "Standard Tier" instead.
If the option to switch to the "Standard Tier" is not available for this VM, the explanation may be that VMs created before "April 16, 2013" may not be able to be upgraded to larger than A4 because of the older datacenter in which they reside. The article includes an explanation of this issue and link to a troubleshooting guide for workarounds for the "Error: “Failed to configure virtual machine” with A5, A6 or A7 VM size" at:
https://social.msdn.microsoft.com/Forums/azure/en-US/9693f56c-fcd3-4d42-850e-5e3b56c7d6be/error-failed-to-configure-virtual-machine-with-a5-a6-or-a7-vm-size?forum=WAVirtualMachinesforWindows
This blog article visualizes changeable VM sizes in tables. Note that the blog information could be old, but it shows that there are VM sizes not changeable even though it is selectable on the list.
From the blog, below table gives an answer.
Note that above one is "ASM" while below is "ARM".
Changing VM size is strongly (or we can say definitely) depended on the Azure infrastructure, so the only way to resolve the issue is just to create new VM.

Ftp server on azure

I'm want to build a FTP server on Microsoft Azure platform.
The server probably will be based on vsftpd (linux ubuntu server) - not closed. Can select another free ftp service.
I'm have two issues:
End-points - If I'm using Passive mode, I'm need to allocate port range for this. Let's say 8000 to 8100. BUT, I'm have a option to allocate only 20 ports in the "End-points" interface.
I'm need to allocate at least one terabyte of storage in this server. How it's could be done with the machine?
Thank you!
There are a lot of articles written on the subject. Whereas one of the most recent is here.
Fr Virtual Machines, the limit of InputEndpoints is actually 150. Refer to the latest Azure limits compilation here.
As for 1T storage - check the VM sizes for Azure Virtual Mchines. Where A0 (the smallest) supports max 1 data disk of 1TB, and A4, A7 support 16 disks 1TB each (so total of 16TB per VM of size A4 or A7).
As for "built-in" endpoints - you can freely and surely remove them. Especially when you do not use them.

Resources