Skip to content

Adding article on how to use OKIT #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Create Oracle Solaris 11.4 Instance in OCI using OCI Designer Toolkit (OKIT)

Prior to constructing your OCI Infrastructure, it is necessary to invest time in designing and visualizing the architecture. Several tools such as Microsoft Visio and Draw.io can be utilized for this purpose; however, they are limited to generating diagrams and do not encompass crucial details needed for implementing the design effectively. We can overcome these significant drawbacks of traditional design tools by using OKIT.

OKIT, also known as the OCI Designer Toolkit, is an Open Source, standalone/offline, browser-based drag-and-drop design tool specifically designed for OCI. It enables swift design and prototyping of OCI-based infrastructure. Once the design phase is complete, OKIT has the capability to generate Terraform/Ansible scripts, which can be executed to construct the infrastructure as per the designed specifications.

In this blog, I’ll provide you with the basic overview on how to create an oracle Solaris 11.4 instance in OCI using OKIT, without getting into the particulars of OKIT installation and configuration.

**Install OCI Designer Toolkit (OKIT)**

Install OKIT by following the steps provided in the [OCI Designer Toolkit Installation Guide](https://github.com/oracle/oci-designer-toolkit/blob/master/documentation/Installation.md). This GitHub repo has detailed explanation on how to install OKIT and execute within a Container (Docker/Lima/Vagrant), Native (Oracle Linux/MacOS/Windows10) or you can build directly from the source.

**Launch OKIT and create an infrastructure diagram**

On the left side, you can see a palette displaying all the OCI artifacts and a canvas in the center with compartment already added in it.

![Screenshot_01](Images/Screenshot_01.png)

Clicking the icon from palette will allow you to drag it onto the canvas. Drag VCN icon from the palette to the canvas in the middle as shown below:

![Screenshot_02](Images/Screenshot_02.png)

Now, from the left palette, drag and drop subnet icon into the VCN, and drag and drop Instance icon into the subnet in the center canvas. Each artifact has its own set of properties that are required to build them within OCI. Edit the properties as required for your infrastructure. Select the appropriate Availability Domain, Fault Domain and shape details. For Image selection, select Custom Images from the drop-down and select your Oracle Solaris custom image.

Please refer to this blog [Building Custom Solaris Images for Oracle CIoud Infrastructure](https://blogs.oracle.com/solaris/post/building-custom-solaris-images-for-oracle-cloud-infrastructure) to create your own custom image.

![Screenshot_04](Images/Screenshot_04.png)

After building the infrastructure, we can export it to OCI as a Terraform/ Ansible scripts or resource manager. Click on the hamburger icon on the left side and you can see many options including Canvas, Export, and Import. I’ve selected the Terraform as the export option.

![Screenshot_05](Images/Screenshot_05.png)

After exporting the terraform scripts, login to your OCI portal navigate to Stacks. Click on the “Create Stack”

![Screenshot_06](Images/Screenshot_06.png)

Upload all the terraform configuration files which you have exported from OKIT and proceed to (2) configure variables and edit your compartment_ocid, region, tenancy_ocid, and user_ocid if necessary, and to (3) Review and click the check box to immediately provision the instance.

![Screenshot_07](Images/Screenshot_07.png)

![Screenshot_08](Images/Screenshot_08.png)

This will now launch the instance and after a short while you will be able to access your instance.

![Screenshot_09](Images/Screenshot_09.png)

Please visit [oraclesolaris-contrib](https://github.com/oracle/oraclesolaris-contrib) GitHub repository to stay up-to-date with the latest developments and access more detailed information about Oracle Solaris 11.4 and Oracle Solaris 11.4 on OCI.

Copyright (c) 2020, 2023 Oracle and/or its affiliates.

Released under the Universal Permissive License v1.0 as shown at

[https://oss.oracle.com/licenses/upl/](https://oss.oracle.com/licenses/upl/)
1 change: 1 addition & 0 deletions OracleSolaris_OCI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Oracle Solaris has been trusted with running business-critical applications on y
- [Launching an Oracle Solaris instance using the Oracle Cloud Console](01_Launch_Instance)
- [Launching an Oracle Solaris instance using Terraform](Launch_Solaris_with_Terraform)
- [Launching an Oracle Solaris instance using the OCI Python API](Launch_Solaris_with_Python)
- [Creating an Oracle Solaris instance in OCI using OCI Designer Toolkit (OKIT)](08_Create_an_Oracle_Solaris_Instance_in_OCI_using_OKIT)
- [Utilizing OCI storage resources](02_Block_Storage)
- [Installing and launching Oracle Solaris Zones](03_Oracle_Solaris_Zones)
- [Migrating VM's from VirtualBox 6 and 7 to OCI](04_VirtualBox_to_OCI)
Expand Down