How to Create a Virtual Machine on Oracle Cloud Infrastructure (OCI) for Thinfinity Workspace

Tutorial: Create a virtual machine on Oracle Cloud Infrastructure (OCI) for Thinfinity Workspace.
Picture of Micaela Asaad
Micaela Asaad

Delivery Manager

Table of contents

This guide walks through creating a Windows virtual machine on Oracle Cloud Infrastructure (OCI) that is ready to host a Thinfinity Workspace installation. It covers the compute instance itself, the networking rules that make it reachable, and the first RDP login — the point at which you can start the Thinfinity installer.

If you have used any other cloud console before, none of this will surprise you. The parts worth slowing down for are the shape, the boot volume performance setting, and the ingress rules, because those three decisions are the ones that are annoying to change later.

Time required: roughly 15 minutes, plus a few minutes for the instance to provision.

Before you start

Make sure the following already exist in your tenancy:

  • A compartment to hold the instance. Using the root compartment works but makes access control harder later.
  • A Virtual Cloud Network (VCN) with at least one subnet. A public subnet gives the VM a public IP; a private subnet requires a bastion, VPN or FastConnect for access. Either is valid — pick based on how users and admins will reach the server.
  • An internet gateway and a route rule if you are using a public subnet, otherwise the VM will have a public IP that nothing can reach.
  • IAM permissions to manage instances, VCNs and volumes in that compartment.
  • Service limits with enough room for the Windows shape you plan to use. Windows shapes and OCPU quotas are limited per region, and a launch will fail late if the limit is already consumed.

You will also want to know, before you start, whether you are using Oracle-provided Windows licensing or BYOL. The two options are priced differently and are selected at image time. Oracle documents the BYOL rules here: Microsoft licensing on OCI.

Step 1: Create the compute instance

1.1 Open the instance wizard

In the OCI Console, go to Compute > Instances, then click Create instance.

OCI Console navigation menu with Compute and Instances selected

OCI Instances list showing the Create instance button

1.2 Basic information

Give the instance a name, select the compartment, and choose an availability domain.

The availability domain matters more than it looks: it determines which shapes are offered to you, and capacity for a given shape can be available in one AD and exhausted in another. If the shape you want does not appear in the list, try a different AD before assuming it is unavailable in the region.

OCI Create compute instance form: name, compartment and availability domain

1.3 Select the image

Click Change image and pick a Windows Server release.

We currently recommend Windows Server 2022 for Thinfinity Workspace deployments on Oracle Cloud. The OCI image catalog also offers Windows Server 2025, but 2022 is the newest release listed on the Thinfinity Workspace requirements page, so it is the safe default for a production install. If you specifically need 2025, check with support first.

Each Windows image appears twice in the list:

OCI Select an image dialog listing Windows Server versions and licensing options

1.4 Select the shape

Click Change shape and choose a Virtual machine shape. The flexible AMD and Intel shapes (the .Flex series) let you set OCPU count and memory independently, which is what you want here — you can raise both later without rebuilding the instance.

Sizing depends on the role this server will play. A gateway-only node, an all-in-one node and a session host serving concurrent desktops have very different profiles, so size against your expected concurrency rather than a generic default. Start by checking the Thinfinity Workspace requirements; flexible shapes let you adjust OCPU and memory later if you get it wrong.

OCI Browse all shapes dialog with a flexible AMD virtual machine shape selected

OCPUs on OCI are physical cores, not vCPUs. One OCPU is equivalent to two vCPUs on most other clouds — factor that in when you are matching an existing on-premises or Azure/AWS spec.

1.5 Networking

Under Networking, select the existing VCN and subnet, or create them at this step.

Then choose how the private IP is assigned (automatic, manual, or from an existing OCID). If the instance sits in a public subnet and you want it reachable from the internet, enable Automatically assign public IPv4 address here.

OCI Primary VNIC configuration with virtual cloud network and subnet selection

OCI private and public IPv4 address assignment options

Tip: An automatically assigned public IP is ephemeral — it can change if the instance is stopped and started in some scenarios. If you are going to point a DNS record at this server for the Thinfinity gateway, reserve a static public IP instead.

1.6 Storage

Under Storage, you can override the default boot volume size and set the volume performance in VPUs per GB.

Two things to weigh:

  • Size. The default boot volume is around 47 GB. Windows Server plus Thinfinity plus published applications will outgrow that quickly. Setting a larger boot volume at creation time is much simpler than resizing later.
  • Performance (VPU). Higher VPU means higher IOPS and throughput, and higher cost. Balanced (VPU 10) is the usual starting point for a Windows server workload; the console shows you the resulting IOPS and throughput as you change the value.

If you need application data or user profiles on a separate disk, attach a block volume at this step — either a new one or an existing one.

OCI boot volume configuration showing size, VPU and resulting IOPS

OCI Block volumes panel with the Attach block volume button

1.7 Review and create

Review the summary and click Create. You can follow provisioning under the instance’s Work requests tab, which logs each step of the operation.

OCI Create compute instance review page before launching

OCI Work requests tab showing a successful Create Instance operation

Step 2: Allow access to the instance

A running instance is not a reachable instance. Traffic has to be permitted by the subnet’s firewall in OCI and by the Windows firewall on the instance itself.

2.1 Security lists or network security groups

OCI gives you two ways to write these rules:

  • Security lists are attached to a subnet and apply to everything in it.
  • Network security groups (NSGs) are attached to individual VNICs, so you can give the Thinfinity gateway a different rule set than the session hosts sharing the same subnet.

The steps below use a security list because it is the shorter path for a first deployment. For anything beyond a single server, NSGs are worth the extra setup.

2.2 Add the RDP ingress rule

Go to Networking > Virtual cloud networks, select your VCN, then the subnet, open the Security tab and click the security list attached to it.

OCI subnet Security tab showing the attached security list

Open Security rules > Add ingress rules and create a rule for RDP:

OCI Security rules tab with the Add Ingress Rules button

OCI Add Ingress Rules form configured for RDP on TCP port 3389

Do not use 0.0.0.0/0 for RDP. Port 3389 exposed to the whole internet is scanned continuously and is one of the most common initial access vectors in ransomware incidents. Restrict the source to a known IP or network. If administrators connect from changing locations, use the OCI Bastion service or a VPN instead of widening the CIDR.

Leave rules stateful unless you have a specific reason not to. Stateful rules automatically allow the return traffic; stateless rules require you to write the matching rule in the opposite direction.

2.3 Check the egress rule

Confirm the subnet also has an egress rule permitting the return and outbound traffic you need. The default security list allows all egress, but hardened environments often narrow this — and if egress is blocked, Windows Update and the Thinfinity installer download will both fail.

2.4 Plan the ports Thinfinity will need

RDP gets you onto the server. It is not how your users will connect. Once Thinfinity Workspace is installed, you will also need an ingress rule for the TCP port the Thinfinity gateway listens on — typically 443 once you have bound a TLS certificate. Confirm the port against your installation before opening it, and open it to the audience that actually needs it rather than to 0.0.0.0/0 by default.

Step 3: Connect to the VM for the first time

Windows platform images on OCI generate a one-time password at launch:

  1. Open the instance’s details page in the Console and find the initial password and the public IP address.
  2. Connect over RDP using the username opc and that initial password.
  3. Windows will require you to change the password immediately. The new password must be at least 12 characters and meet Microsoft’s complexity policy.

If the RDP connection times out, work through it in this order: ingress rule source CIDR → route table and internet gateway → public IP actually assigned → Windows firewall on the instance.

Common issues

SymptomUsual cause
The shape you want is not listedCapacity in that availability domain, or a service limit. Try another AD or request a limit increase.
Instance launches but RDP times outMissing ingress rule, or a public subnet with no internet gateway route.
Public IP disappears after a stop/startEphemeral IP. Reserve a static public IP.
Disk fills up shortly after installDefault ~47 GB boot volume. Resize the volume and extend the partition in Windows.
Installer download fails on the VMEgress blocked by a restrictive security list or route table.

What’s next

If you are an Oracle partner deploying this for customers rather than for your own tenancy, the Thinfinity for Oracle Partners page covers the deployment and co-sell side.

FAQ

Can I use a private subnet instead of a public one?

Yes. It is the better choice for production. You will need a bastion host, the OCI Bastion service, a site-to-site VPN or FastConnect to administer the VM, and a load balancer or gateway in a public subnet if end users connect from the internet.

Thinfinity Workspace supports desktop Windows editions, but Windows Server is what you want for multi-user session hosting. Check the requirements page for the currently supported list.

Yes. Flexible shapes let you change OCPU and memory with a reboot. Boot volumes can be expanded online, though you still have to extend the partition inside Windows.

Stopping the compute instance stops the compute and Windows licensing charges, but the boot volume and any attached block volumes continue to bill for storage.

Thinfinity_logo
One VM by hand. Now do it at scale.
Thinfinity Cloud Manager automates what you just did manually — golden images, desktop pools and autoscaling driven by the OCI Compute APIs. See how a full Windows VDI deployment on Oracle Cloud is architected.

Add Comment

Thinfinity-blue-logo
Thinfinity Workspace on Oracle Cloud
How Thinfinity runs natively on OCI — reference architecture, gateway placement and what a full VDI deployment looks like beyond a single server.

Blogs you might be interested in

<span>Large Scale Deployment</span>, <span>Oracle Cloud Infrastructure (OCI)</span>, <span>Thinfinity Workspace</span>, <span>Virtual Desktop Infrastructure (VDI)</span>

Subscribe to our newsletter and stay up to date