Skip to content

Virtual Machine (VM) ​

A Virtual Machine (VM) is a virtualized instance of a physical computer running an operating system and applications. Each VM functions independently with its own CPU, memory, disk space, and network configurations, similar to a physical machine. VMs are the core compute resources in a vApp, and they can run any operating system and application needed for the organization's workloads.

Key characteristics of a VM include:

  • Isolation: Each VM is isolated from other VMs, ensuring that applications running on one VM do not interfere with others. This isolation also allows different operating systems and applications to coexist on the same physical infrastructure.

  • Scalability: VMs can be easily scaled up or down by adjusting their allocated CPU, memory, or disk space. This flexibility allows them to adapt to changing workload demands.

  • Templating and Cloning: VMs can be created from templates, which are pre-configured images of virtual machines. This simplifies the deployment process by allowing rapid provisioning of new VMs based on standardized configurations.

  • Resource Management: Each VM has its own resource settings, including CPU, memory, and storage, which can be configured independently. These resources are managed within the boundaries of the virtual data center (vDC) and controlled through policies like storage profiles and networking settings.

Creating a VM from a template ​

Creating a virtual machine from a template is the most common and efficient approach to provisioning new compute resources in a cloud environment. Templates are standardized, pre-configured virtual machines that include an operating system and, in some cases, preinstalled software components. The templates from the catalog "Compute Services" are curated, maintained and regularly updated by Swisscom. Tenant owners can additionally define and maintain alternative catalogs to provide virtual machine templates that fulfil specific organizational requirements.

Using a template accelerates deployment and reduces configuration errors. It allows teams to provision systems with a predictable and reproducible setup, which is especially valuable in environments with strict operational or regulatory requirements. Since templates are centrally maintained, tenants do not need to manage their own base images, which lowers administrative overhead.

Each tenant has access to a shared catalog, and the provisioning process is initiated through a wizard interface that guides users through the selection of templates, resource allocation, network configuration, and optional customizations. The underlying infrastructure handles IP assignment, disk provisioning, and integration with monitoring or alerting systems — where applicable — ensuring a smooth and automated deployment process.

While flexible, this method assumes a certain level of standardization. For use cases requiring highly customized configurations or non-standard operating systems, the template-based approach may not be sufficient, and deploying a VM from scratch becomes necessary.

General Information ​

Our objective is to simplify the deployment and management of our IaaS services. With this new feature, virtual machines can now be provisioned directly through the portal, eliminating the need to use vCloud Orchestrator for this task.

We are aware that certain capabilities — such as network creation — are not yet available in the portal. These functions are still handled through vCloud Director. However, expanding the portal to cover all essential IaaS operations is a clear priority.

Additional features will be introduced progressively to reduce dependency on external systems and centralize all required functionality within the portal.

Further updates will follow in the release notes as new capabilities become available.

VM Deployment ​

Prerequisites ​

At least one Organization, one Virtual Datacenter (vDC) and one Network musst be provisioned.

General Functionalities ​

Tenant owners can customize the VM deployment workflow by hiding specific fields or steps, setting default values, or defining additional actions. This guide walks you through the default provisioning process without any tenant-specific customizations.

Create VM ​

1. Create a new VM ​

The button to add a new VM can be found in "Cloud Services" -> Compute -> Virtual Machines on the right upper corner.

Next you need to provide at least this informations:

  • Complex Password
  • IaaS Organization
  • Virtual Datacenter
  • Template Catalog
  • VM Template
  • Technical Contact Email
  • Service Level
  • Location
  • Amount of CPUs
  • Amount of Memory
  • At least 1 Data Disk
  • At least 1 Network

INFO

Please note that some of the mandatory Informations can be set by the Tenant owner (Parameter Defaults and Parameter Restrictions) so its possible that some of the informations where already preconfigured by the Tenant owner.

Tenant owners can also define additional provisioning fields with Custom Property Definitions. Values entered for these fields are stored as customProperties; for IaaS VMs, they are also synchronized to vCloud Director metadata with the customer. prefix.

We recommend to not set VM Name and Hostname. If no name will be provided the name will be generated.

In regards to Sizing of a VM the actual limitations can be found here.

If enabled for your tenant, select Add Billing References near the end of the Add Virtual Machine form to enter up to three optional values that appear on the bill for this VM, for example a cost center or project.

FAQ ​

Do i need own VM templates?

No, Swisscom provides a shared catalog with a variety of pre-configured templates that are regularly updated and maintained by Swisscom. These templates cover a wide range of operating systems and configurations, allowing tenants to quickly deploy VMs without the need to create and manage their own base images.

Can i upload new / own templates?

Yes, tenants can upload their own VM templates if they require specific configurations or operating systems not available in the shared catalog. This allows for greater flexibility and customization in VM deployment.

Do i need a own patching infrastructure?

No, tenants do not need to maintain their own patching infrastructure. Swisscom provides a centralized patching service that ensures all VMs are kept up-to-date with the latest security patches and updates. More details about the patching infrastructure can be found here.

Can i use an ISO image to build my VM?

No, the portal does not support the use of ISO images for VM deployment. Instead, tenants are encouraged to utilize the pre-configured templates available in the shared catalog or upload their own templates if necessary. This approach streamlines the deployment process and ensures consistency across VMs.

Can i as a tenant owner customize the provisioning workflow?

Yes, tenant owners have the ability to customize the VM provisioning workflow. This includes options to hide specific fields or steps, set default values for certain parameters, and define additional actions that can be triggered during the provisioning process. This flexibility allows tenant owners to tailor the deployment experience to better fit their organizational needs and streamline operations.

Can I activate the Windows license for existing Windows VMs?

For newly provisioned Windows VMs, the Windows license is activated automatically.

For existing Windows VMs, you can activate the license manually by following these steps:

  • Log in to the Windows VM.
  • Open Command Prompt or PowerShell with administrator privileges.
  • Execute the following command to configure the KMS server and activate Windows

PRD C:\Windows\system32\cmd.exe /c C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs -skms 138.188.244.29 && C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs -ato

STAGE C:\Windows\system32\cmd.exe /c C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs -skms 138.188.249.100 && C:\Windows\system32\cscript.exe C:\Windows\system32\slmgr.vbs -ato

Once the command completes successfully, the Windows license should be activated.