---
title: "Install cloudSwXtch BYOL on OCI"
slug: "install-cloudswxtch-oci-marketplace"
updated: 2026-01-16T15:38:10Z
published: 2026-01-16T15:38:10Z
canonical: "docs.swxtch.io/install-cloudswxtch-oci-marketplace"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swxtch.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Install cloudSwXtch via OCI Marketplace

WHAT TO EXPECT

In this article, users will learn how to deploy a cloudSwXtch instance via the Oracle Cloud Marketplace.

- [Step One: Navigate to cloudSwXtch in the Oracle Marketplace](/v2/docs/install-cloudswxtch-oci-marketplace#step-one-navigate-to-cloudswxtch-in-the-oracle-marketplace)
- [Step Two: Create Compute Instance](/v2/docs/install-cloudswxtch-oci-marketplace#step-two-create-compute-instance)
- [Step Three: Attach Secondary VNIC](/v2/docs/install-cloudswxtch-oci-marketplace#step-three-attach-a-secondary-vnic)
- [Optional Step for BYOL: Contact swXtch.io for License](/v2/docs/install-cloudswxtch-oci-marketplace#optional-step-for-byol-contact-swxtchio-for-a-license)

**Please note**: At this time, our only product offering in OCI is a BYOL instance of cloudSwXtch. This requires a user to contact swXtch.io for a license.

### Prerequisites

A user should have a **Compartment** established in their Oracle Cloud console before they start to deploy a cloudSwXtch. For more information about compartments, please see the [Managing Compartments](https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcompartments.htm) page under Oracle Cloud Infrastructure Documentation.

### Step One: Navigate to cloudSwXtch in the Oracle Marketplace

1. Log in to **Oracle Cloud**.
2. Navigate to the **Oracle Cloud Marketplace** using the **Navigation** menu at the top left corner.

![OCI_Navigation](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI_Navigation.png)
3. Select **Marketplace** and **All Applications**.

![OCI_BYOL-Marketplace](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI_BYOL-Marketplace.png)
4. Search for **cloudSwXtch** and select the product, **cloudSwXtch BYOL**.

![OCI_BYOL-MarketplaceSearch](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI_BYOL-MarketplaceSearch.png)
5. Select the **Version** and the **Compartment**. It is best to use the default since it will be the most recent version.
6. Click **Launch Instance**.

![OCI_BYOL-MarketplaceProduct](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI_BYOL-MarketplaceProduct.png)

### Step Two: Create Compute Instance

<editor360-custom-block data-preprocessing="true" data-sanitizationtags="strong"><ol><li>Give the <strong>Compute Instance</strong> a unique name. </li><li>Confirm that the <strong>Compartment</strong> is populated. </li><li><strong>Optional</strong>: Edit selections for <strong>Placement</strong> and <strong>Security</strong>. This is dependent on a user's specific needs. <img src="https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI_BYOL-CreateComputeName.png" alt="OCI_BYOL-CreateComputeName" class="fr-dib fr-bordered" style="width:700px;"></li><li>Select the <strong>Change Shape</strong> button for<strong> Image and </strong><strong>Shape</strong>. <img src="https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI-mkt-%20Image%20and%20shape%20-%20change%20shape.png" alt="OCI-mkt- Image and shape - change shape" class="fr-fil fr-dib"><ol><li>Choose <strong>Intel</strong> and <strong>VM.Standard3.Flex</strong>. </li><li>Expand shape options.</li><li>Configure the<strong> Number of OCPUs</strong> and <strong>Amount of memory (GB)</strong>. <strong>Please note</strong>: It is recommended to have <strong>at least eight (8) cores</strong> for the cloudSwXtch instance. <strong>For more information on recommended sizing</strong>, please see <a href="/v2/docs/cloudswxtch-prerequisites" rel="nofollow noopener" translate="no">cloudSwXtch System Requirements</a>. </li><li>Click <strong>Select Shape</strong>. <img src="https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI%20-mkt-%20Browse%20Shapes%20and%20select%20cpu%20and%20memory.png" alt="OCI -mkt- Browse Shapes and select cpu and memory" class="fr-fil fr-dib"></li></ol></li><li>Select <strong>Advanced Options</strong>.</li><li>Select <strong>Next. </strong>This will bring the Security settings page. No security settings are required, select<strong> Next </strong>to get to Networking to enter in data for the Primary VNIC information.<ol><li><strong>Optional</strong>: Add a name to the VNIC. If left blank, Oracle will assign it the name of the instance with a note that it is the Primary VNIC.</li><li>Assign a <strong>VCN</strong> to the <strong>Primary VNIC</strong>.</li><li>Select a <strong>subnet</strong>. <strong>Please note</strong>: This ctrl subnet will also be used for the secondary VNIC.</li><li>Click on A<strong>dvanced options</strong>. <img src="https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI-mkt%20-%20Networking.png" alt="OCI-mkt - Networking" class="fr-fil fr-dib"></li><li>Click on <strong>Show advanced options</strong>. </li><li>Select <strong>Hardware-assisted (SR-IOV) networking</strong> under <strong>Launch</strong> options.<img src="https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI-mkt%20-%20Networking-%20Advanced%20Options-Hardware-assisted.png" alt="OCI-mkt - Networking- Advanced Options-Hardware-assisted" class="fr-fil fr-dib"> </li></ol></li><li>Scroll down and add an <strong>SSH key</strong>. <img src="https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI-mkt%20-%20Networking-%20Advanced%20Options-ssh.png" alt="OCI-mkt - Networking- Advanced Options-ssh" class="fr-fil fr-dib"></li><li>For all the other tabs fill out data as appropriate, for example if users need tags or want more storage then add that data.</li><li>Hit <strong>Create</strong> button. </li></ol></editor360-custom-block>

### Step Three: Attach a Secondary VNIC

When deploying a cloudSwXtch, users will need two VNICs. Both can share a single subnet for control and data plane communications. In this step, we will walk through how to attach a secondary VNIC and how to manually add its IP to the cloudSwXtch instance.

1. Make sure that the**Instance with cloudSwXtch installed** is **running**. The user **cannot** attach a secondary VNIC if the machine is off.
2. Select Create**VNIC** under **Networking**.
3. Click **Create VNIC**.

![OCI - Create NIC](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI%20-%20Create%20NIC.png)
  1. **Pro-Tip**: Assign a user-friendly name to the secondary VNIC. Otherwise, Oracle will assign a randomized ID.
  2. Choose the same **Virtual cloud network** and data **Subnet** as the Secondary VNIC.
  3. Select **Submit Changes**.

![OCI - Create NIC2](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI%20-%20Create%20NIC2.png)
4. Click on the freshly created VNIC's name after it finishes attaching.

![OCI - Create NIC3-attached](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI%20-%20Create%20NIC3-attached.png)
5. Select the ellipsis next to the**Secondary data VNIC**and Record the **Private IP and the MAC address**. **It will be needed later.**

![OCI -Data Private IP](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/OCI%20-Data%20Private%20IP.png)
6. Log in to the **Instance with cloudSwXtch installed.**
7. Create the following file in the **/etc/netplan** folder and name it **02-datanic-static-config.yaml. Please note:**Users will need to add the Private IP Address and the correct MAC address of the **secondary**VNIC into the file below.

```shell
network:
                version: 2
                ethernets:
                    ens4:
                        match:
                            macaddress: --<ADD macaddress of primary of 2nd VNIC> --
                        dhcp4: false
                        addresses:
                            - <ADD Primary IP ADDRESS OF 2ND VNIC>/<XX>
```

Where the <XX> is the net mask (or network mask) of ctrl-plane CIDR (in single-subnet configuration). Example:

```shell
network:
                version: 2
                ethernets:
                    ens4:
                        match:
                            macaddress: 02:00:17:31:7E:E8
                        dhcp4: false
                        addresses: 
						- 10.0.138.84/24
```

1. Run the following command:

```shell
sudo chmod 600 02-datanic-static-config.yaml
```
2. Apply the new config:

```shell
sudo netplan apply
```
3. To ensure data can flow, edit /etc/iptables/rules.v4 file and add the following before “-A INPUT -j REJECT --reject-with icmp-host-prohibited.

Note that this is fully open; alternatively, add a line for every subnet in use, e.g., for the control and data.

```shell
-A INPUT -p all -s 0.0.0.0/0 -j ACCEPT
```

9. Save the file and reboot the instance.

**The secondary VNIC should now be successfully attached.**

Upgrading your cloudSwXtch

After deployment, it is recommended to update your cloudSwXtch instance to the latest. Please refer to the [Upgrading cloudSwXtch](/v2/docs/upgrading-cloudswxtch) article for more information.

### **Optional Step for BYOL: Contact swXtch.io for a license**

Users deploying a BYOL instance of cloudSwXtch will need to contact swXtch.io for a license file. For more information. See [How to License a cloudSwXtch](/v2/docs/how-to-license-a-cloudswxtch)**.**

**NEXT STEPS**

**The cloudSwXtch is ready to use**. The next step is to install the xNIC on each client expected to get traffic from the cloudSwXtch. See [Installing xNIC](/v2/docs/xnic-installation) for more information on preparing clients. Refer to [Licensing cloudSwXtch](/v2/docs/licensing-cloudswxtch) to license your cloudSwXtch.
