This tutorial covers the steps necessary to deploy a FreeBSD root VM to Microsoft Azure cloud (https://azure.microsoft.com).
Prerequisites:
- valid Microsoft account
- willingness to spend money in a pay-per-use model
1. You need to login/register to https://portal.azure.com with your Microsoft account.
2. Considering the hints following in this paragraph, create a VM within the possible specs. Make sure to choose a proper amount of vCPU's etcetera for your scenario.
For the OS image choose a FreeBSD image (provided by the FreeBSD Foundation) with your preferred version (
In case you cannot select your desired FreeBSD image during VM creation, please try to find one in Azure marketplace (https://azuremarketplace.microsoft.com, e.g. https://azuremarketplace.microsoft....hefreebsdfoundation.freebsd-13_2?tab=Overview) and start from there.
Make sure to open at least port 22 (for SSH access) during creation.
Currently only password-based access via a non-root user (how to obtain root will be covered later, since PermitRootLogin via SSH defaults to No) is known working.
3. Once the VM has been created wait a bit for it to boot and then log in via SSH using your previously configured user.
4. Obtain root by using
Note: if
Please let me know if you experience problems, I will do my best to help.
Prerequisites:
- valid Microsoft account
- willingness to spend money in a pay-per-use model
1. You need to login/register to https://portal.azure.com with your Microsoft account.
2. Considering the hints following in this paragraph, create a VM within the possible specs. Make sure to choose a proper amount of vCPU's etcetera for your scenario.
For the OS image choose a FreeBSD image (provided by the FreeBSD Foundation) with your preferred version (
13.2-RELEASE
is known working).In case you cannot select your desired FreeBSD image during VM creation, please try to find one in Azure marketplace (https://azuremarketplace.microsoft.com, e.g. https://azuremarketplace.microsoft....hefreebsdfoundation.freebsd-13_2?tab=Overview) and start from there.
Make sure to open at least port 22 (for SSH access) during creation.
Currently only password-based access via a non-root user (how to obtain root will be covered later, since PermitRootLogin via SSH defaults to No) is known working.
3. Once the VM has been created wait a bit for it to boot and then log in via SSH using your previously configured user.
4. Obtain root by using
sudo passwd
followed by su -
.Note: if
su
fails, resort to sudo csh
Please let me know if you experience problems, I will do my best to help.