Getting started on Microsoft Azure
Getting started on Microsoft Azure¶
Set up your development environment with the prerequisite tools and repositories you need to quickly start building AutoSD images on Microsoft Azure.
Quick start: Running pre-built AutoSD images on Azure¶
To run an AutoSD image on Azure, you need access to the Azure portal, through a staging account for development and testing purposes, and an active account for production.
Prerequisites
- You have an active Azure account or staging account
Procedure
-
In the Azure Portal menu, navigate to Azure services.
-
Click on the Virtual machines icon.
-
In the Virtual machines tab, click on +Create button.
-
Select Azure virtual machine from dropdown.
-
From the image option, click on See all images.
-
From the Other Items option on the left side, click Community images.
-
In the search field, type
autosd
and choose an architecture and region of your choice. -
Launch Azure VM from the image.
-
To connect with the VM through SSH, select the default
azureuser
username.
Quick start: Uploading a custom VHD file to Azure¶
To upload a custom image on Azure, you need an active Azure account for access to the Azure Portal. Use a sample manifest files from the images directory to help build images locally.
Prerequisites
- You have an active Azure account or staging account
Procedure
-
From Azure services, select Storage accounts.
-
Select an account and then choose Containers.
-
Select or create a new storage container.
-
Click Browse for files to select a custom file.
-
Select a VHD image, such as
autosd9-developer-regular-x86_64
, and click on Upload. -
After uploading is completed, click the Upload button.
-
Go to the homepage and from Azure services, select Images.
-
Click on +Create.
-
Click on Basics:
-
Enter the following details for the mentioned options:
-
Select your Subscription name and resource group.
-
Under Instance details:
-
Use an image name of your choice, for example:
autosd-custom-image
. -
Select a region to create your custom image from dropdown, for example,
(US) East US
. -
Optional: Depending on your requirement, check Zone resiliency.
-
-
Under OS disk:
-
For OS type, select
Linux
. -
For VM generation, select
Gen 2
. -
For Storage blob, enter the url of the uploaded VHD image.
-
For Account type, select
Standard HDD
from dropdown. -
For Host caching, select
Read/write
from dropdown.
-
-
Under Encryption:
- For Key management, select
Platform-managed key
from dropdown.
- For Key management, select
-
-
During VM creation process:
-
For Security type, select
Standard
from dropdown. -
In Image, click see all images.
-
From other items, select My images and select
autosd9-developer-regular-x86_64
to launch your VM.
-