WHAT TO EXPECT
In this article, users will learn how to deploy a cloudSwXtch instance via the Oracle Cloud Marketplace.
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 page under Oracle Cloud Infrastructure Documentation.
Step One: Navigate to cloudSwXtch in the Oracle Marketplace
Log into Oracle Cloud.
Navigate to the Oracle Cloud Marketplace using the Navigation menu at the top left corner.
Select Marketplace and All Applications.
Search for cloudSwXtch and select the product, cloudSwXtch BYOL.
Select the Version and the Compartment that you will like to use. It is best to use the default since it will be the most recent version.
Click Launch Instance when you're happy with your selections.
Step Two: Create Compute Instance
- Give your Compute Instance a unique name.
- Confirm that your desired Compartment is populated.
- Optional: Edit selections for Placement and Security. This is dependent on a user's specific needs.
- Select the Change Shape button for Image and Shape.
- Choose Intel and VM.Standard3.Flex.
- Expand shape options.
- Configure the Number of OCPUs and Amount of memory (GB). Please note: It is recommended to have at least eight (8) cores for your cloudSwXtch instance. For more information on recommended sizing, please see cloudSwXtch System Requirements.
- Click Select Shape when you're happy with your selection.
- Select Advanced Options.
- Select Next. This will bring you to the Security settings page, No security settings are required, select Next to get to Networking to enter in data for the Primary VNIC information.
- Optional: Add a name to your VNIC. If left blank, Oracle will assign it the name of your instance with a note that it is the Primary VNIC.
- Assign a VCN to your Primary VNIC.
- Select a subnet. Please note: This ctrl subnet will also be used for your secondary VNIC.
- Click on Advanced options.
- Click on Show advanced options.
- Select Hardware-assisted (SR-IOV) networking under Launch options.
- Scroll down and add an SSH key.
- For all the other tabs fill out data as appropriate, for example if you use tags or want more storage then add that data.
- Hit Create button when you're happy with all of your selections.
Step Three: Attach a Secondary VNIC
When deploying a cloudSwXtch, you will need two VNICs. Both can share a single subnet for control and data plane communications. In this step, we will walkthrough how to attach your secondary VNIC and how to manually add its IP to your cloudSwXtch instance.
Make sure that your Instance with cloudSwXtch installed is running. You cannot attach a secondary VNIC if the machine is off.
Select Create VNIC under Networking.
Click Create VNIC.
Pro-Tip: Assign your secondary VNIC a user-friendly name. Otherwise, Oracle will assign a randomized ID.
Choose the same Virtual cloud network and data Subnet as your Secondary VNIC.
Select Submit Changes.
Click on the freshly created VNIC's name after it finishes attaching.
Select the ellipsis next to the Secondary data VNIC and Record the Private IP and the MAC address. You will need it later.
Log into your Instance with cloudSwXtch installed.
Create the following file in the /etc/netplan folder and name it 02-datanic-static-config.yaml. Please note: You will need to add the Private IP Address and the correct mac address of the secondary VNIC into the file below.
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:
network:
version: 2
ethernets:
ens4:
match:
macaddress: 02:00:17:31:7E:E8
dhcp4: false
addresses:
- 10.0.138.84/24
8. Apply the new config (sudo netplan apply).
9. Save file and reboot instance.
The secondary VNIC should now be successfully attached.
Upgrading your cloudSwXtch
After deployment, it is recommended to update your cloudSwXtch instance to latest. Please refer to the 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.
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 for more information on preparing clients. Refer to Licensing cloudSwXtch to license your cloudSwXtch.