On Dec 22 2020, at 1:45 am, tech-lists <[email protected]> wrote:
> Hello,

Howdy!

> Has anyone ever resized a freebsd vm on Azure? I don't mean just the
> disks. 
> Really the whole point is to have more CPU and RAM. I have the option
> to do 
> this via their portal, just select whats required and hit 'resize' but
> I'm 
> a bit hesitant. I guess it'll work on a windows VM but anything else?

Yes, I do this all the time. I run a poudriere builder in Azure, and
normally I only use the D4as_v4 VM size. Sometimes, though, I resize to
a D16as_v4 to be able to build the www/node* ports more quickly. I just
resize it using the az CLI:

$ az vm resize --name poudriere --resource-group poudriere --size 
Standard_D16as_v4

> If you did manage to do this, did you need to shut the VM down before 
> resizing it? Was your external IP preserved or did it force you to
> have 
> another one? Did you have to run anything else, like growfs?

Yes, to resize, the VM has to be rebooted. I haven't payed attention to
whether my public IP is preserved or not (I access the VM using the DNS
name I configured in the portal). My gut feeling is that the IP is
preserved, just like it is across normal reboots.

I haven't resized the root volume on the VM. Instead, I have a second
volume attached with ZFS on it, and I put everything that matters on that.
 
> The author of https://forums.freebsd.org/threads/azure-vm.62440/ tried
> to do this in 2017 but wasn't able to at the time.
> 
> thanks,
> -- 
> J.

--
Bradley T. Hughes
[email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
To unsubscribe, send any mail to "[email protected]"

Reply via email to