You can plug Cameyo into your own Microsoft Azure environment.
What you need to get started
You will need:
- a Microsoft Azure cloud server subscription (subscriptionId)
- a Microsoft Azure Directory tenant ID (tenantId)
- a Microsoft Azure application (clientId, clientSecret)
- a Microsoft Azure storage account (storageAccount, storageKey)
Steps
Create a Microsoft Azure app and service account
Cameyo needs Microsoft Azure client access to create virtual machines, to turn them on and off as needed, providing substantial cost savings.
- Sign in to your Azure portal.
- Navigate to Microsoft Entra ID and click Add > App registration.
- Name the application, for example, Cameyo VAD.
- For Supported account types, select Accounts in this organizational directory only.
- For Redirect URI, choose Web.
- Click Register.
- Once the application account is created, take note of:
- Application client ID
- Directory tenant ID
- Navigate to Manage > Certificates & secrets.
- Click + New client secret.
- Enter a description for the client secret and set an expiration date.
You need to update the Cameyo BYO-Azure configuration page when the client secret expires
- Click Add.
- Make a note of the information in the Value column. (This your clientSecret).
The Value will only be displayed once. If you do not make a note of it when it displays on screen, you will need to generate a new one (and delete the old one).
Grant access to your new Microsoft Azure service account
- In the Azure portal, open Subscriptions page.
- Click on the subscription you plan to associate with this app, and make a note of the Subscription ID. (This your subscriptionID)
- Click Access control (IAM).
- For Grant access to this resource, select Add role assignment.
- Click Privileged administrator roles, and select Contributor.
- Click Next.
- For Assign access to, select User, group or service principal.
- Click Select members.
- Search for and select the name of the application you've just created above, for example, Cameyo VAD.
- Click Select.
- Click Review + assign.
- Review the changes and if everything looks good, click Review + assign again.
Create a storage account
Cameyo requires a dedicated storage account to store:
- the initial image from which the first Cameyo VM will be created.
- persistent data (Cameyo's SessionSync), if enabled.
- In the Azure portal, open Storage accounts.
- Click Create.
- In the Subscription drop-down, choose your subscription, and assign an existing Resource group or create a new one.
- Name the Storage account; this has to be unique across Azure. (This is your storageAccount.)
- For Region, select the same region as your Cameyo server.
- Click Next to navigate to the Networking tab.
- For Public network access, select Enable.
- For Public network access scope, select Enable from all networks. This allows you to manage the storage account from the Cameyo Admin console.
- Click Review + Create.
- If validation passes, Click Create.
- Once your storage account is created, navigate to Security + networking > Access keys.
- Click Show for one of the keys listed (this is your storageKey).
Onboard your Azure cloud environment to Cameyo
- Navigate to https://online.cameyo.com/byo-azure server details.
- Enter your Azure environment details collected in the previous steps.
- Click Submit.
- Complete the tasks in Create a server.
Set the capacity level for your Cloud server
Cloud servers have an assigned performance level (Capacity).
- Navigate to Servers
. Your new server should be listed.
-
Select Details > Information > Capacity.
Level Azure Type Virtual CPUs Memory 6 Standard_D2d_v4 1 8 GB 7 Standard_D2d_v4 2 8 GB 8 Standard_D4d_v4 4 16 GB 9 Standard_D8d_v4 8 32 GB 10 Standard_D16d_v4 16 64 GB - From the drop-down, select the required level for your server.
Things to consider:
- Level 7 is the default level, used for typical servers used for line-of-business applications, such as Office, ERP, and other non-taxing applications.
- Level 8 is the typical server level for more resource-intensive applications such as Adobe Photoshop.
- Level 9 is the typical server level for servers running 3D applications like AutoCAD.
- Click Set.
- Click Save.
Refine your Azure cloud instance
Set up custom VPC and subnetworks
You can configure custom VPC and subnets for newly-created Azure instances.
Option 1: using PowerTags
Custom VNETs and subnets can be specified for newly-created machines using the special PowerTags !CLOUDVPC and optionally !CLOUDSUBNETS.
For example:
!CLOUDVPC=/subscriptions/12345678-abcd-4567-89ab-123456abcdef/resourceGroups/mycompany-prod/providers/Microsoft.Network/virtualNetworks/mycompany-prod-vnet
!CLOUDSUBNETS=prod-europe
Option 2: using BYO-Azure configuration
To specify a custom VNET and/or subnet for your Cameyo BYO-Azure project, proceed as following:
- Navigate to your Cameyo BYO-Azure page: https://online.cameyo.com/byo-azure
- Under Virtual Network enter:
- the full VNET path
- only the name of the subnet within the VNET above
For example:
VNET: /subscriptions/12345678-abcd-4567-89ab-123456abcdef/resourceGroups/mycompany-prod/providers/Microsoft.Network/virtualNetworks/mycompany-prod-vnet
Subnets: prod-europe
- If you are using different subnetworks for different regions, we recommend using Option 1.
- To find the full path of your VNET, click the [JSON View] link on the VNET page in Azure and copy the Resource ID.