Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anbox: Use ARM64 images #14197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions quickstarts/canonical/anbox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,4 @@ By default, `anbox-cloud-appliance init` (see the linked instructions in the **D

The template includes two parameters that allow the user to expose Anbox services running on the VM to the public internet. The first parameter, `exposeAnboxManagementService`, exposes the Anbox Management Service on port 8444. The second parameter, `exposeAnboxContainerServices`, exposes Anbox container services on the port range 10000-11000. When the default arguments for these parameters are not overriden, the Anbox Management Service and any container services will only be accessible from the VM.

## Notes

### Anbox Cloud on ARM

ARM processors are particularly well-suited to Anbox Cloud, but Ubuntu Pro images for ARM processors are not yet available. As such, the default VM in the template runs on x86 processors and the default Ubuntu image is built for x86. Users wishing to employ ARM processors must launch a VM running on ARM processors from a non-Pro Ubuntu image built for ARM and instruct `cloud-init` to attach Pro to the VM using a token. They can accomplish this by overriding the default arguments for the template's `virtualMachineSize`, `ubuntuImageOffer`, `ubuntuImageSKU`, and `ubuntuProToken` parameters.

`Tags: Anbox, Azure4Student, Microsoft.Compute/virtualMachines, Microsoft.Network/networkInterfaces, Microsoft.Network/networkSecurityGroups, Microsoft.Network/publicIPAddresses, Microsoft.Network/virtualNetworks, Microsoft.Network/virtualNetworks/subnets, Ubuntu`
6 changes: 3 additions & 3 deletions quickstarts/canonical/anbox/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ param subnetName string = 'anboxVirtualNetworkSubnet'
param ubuntuImageOffer string = '0001-com-ubuntu-pro-jammy'

@description('SKU of the Ubuntu image from which to launch the virtual machine; must be a Pro SKU if an argument is not provided for the ubuntuProToken parameter')
param ubuntuImageSKU string = 'pro-22_04-lts-gen2'
param ubuntuImageSKU string = 'pro-22_04-lts-arm64'

@description('Ubuntu Pro token to attach to the virtual machine; will be ignored by cloud-init if the arguments provided for the ubuntuImageOffer and ubuntuImageSKU parameters correspond to a Pro image (see https://cloudinit.readthedocs.io/en/latest/reference/modules.html#ubuntu-pro)')
param ubuntuProToken string = ''
Expand All @@ -49,7 +49,7 @@ param virtualMachineName string = 'anboxVirtualMachine'
param virtualMachineOperatingSystemDiskSizeInGB int = 40

@description('Size of the virtual machine; must comply with https://anbox-cloud.io/docs/reference/requirements#anbox-cloud-appliance-4')
param virtualMachineSize string = 'Standard_D4s_v5'
param virtualMachineSize string = 'Standard_D4ps_v5'

@description('CIDR block of the virtual network')
param virtualNetworkAddressPrefix string = '10.0.0.0/16'
Expand Down Expand Up @@ -107,7 +107,7 @@ var imagePlan = empty(ubuntuProToken) ? {
product: ubuntuImageOffer
publisher: 'canonical'
} : null

var linuxConfiguration = {
disablePasswordAuthentication: true
ssh: {
Expand Down
Loading