Skip to content

Commit d230323

Browse files
authoredJul 12, 2023
Merge pull request #18 from oracle/OKIT_article
Adding article on how to use OKIT
2 parents 421aa83 + c5aa5ec commit d230323

File tree

11 files changed

+54
-0
lines changed

11 files changed

+54
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Create Oracle Solaris 11.4 Instance in OCI using OCI Designer Toolkit (OKIT)
2+
3+
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.
4+
5+
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.
6+
7+
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.
8+
9+
**Install OCI Designer Toolkit (OKIT)**
10+
11+
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.
12+
13+
**Launch OKIT and create an infrastructure diagram**
14+
15+
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.
16+
17+
![Screenshot_01](Images/Screenshot_01.png)
18+
19+
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:
20+
21+
![Screenshot_02](Images/Screenshot_02.png)
22+
23+
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.
24+
25+
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.
26+
27+
![Screenshot_04](Images/Screenshot_04.png)
28+
29+
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.
30+
31+
![Screenshot_05](Images/Screenshot_05.png)
32+
33+
After exporting the terraform scripts, login to your OCI portal navigate to Stacks. Click on the “Create Stack”
34+
35+
![Screenshot_06](Images/Screenshot_06.png)
36+
37+
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.
38+
39+
![Screenshot_07](Images/Screenshot_07.png)
40+
41+
![Screenshot_08](Images/Screenshot_08.png)
42+
43+
This will now launch the instance and after a short while you will be able to access your instance.
44+
45+
![Screenshot_09](Images/Screenshot_09.png)
46+
47+
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.
48+
49+
Copyright (c) 2020, 2023 Oracle and/or its affiliates.
50+
51+
Released under the Universal Permissive License v1.0 as shown at
52+
53+
[https://oss.oracle.com/licenses/upl/](https://oss.oracle.com/licenses/upl/)

‎OracleSolaris_OCI/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Oracle Solaris has been trusted with running business-critical applications on y
55
- [Launching an Oracle Solaris instance using the Oracle Cloud Console](01_Launch_Instance)
66
- [Launching an Oracle Solaris instance using Terraform](Launch_Solaris_with_Terraform)
77
- [Launching an Oracle Solaris instance using the OCI Python API](Launch_Solaris_with_Python)
8+
- [Creating an Oracle Solaris instance in OCI using OCI Designer Toolkit (OKIT)](08_Create_an_Oracle_Solaris_Instance_in_OCI_using_OKIT)
89
- [Utilizing OCI storage resources](02_Block_Storage)
910
- [Installing and launching Oracle Solaris Zones](03_Oracle_Solaris_Zones)
1011
- [Migrating VM's from VirtualBox 6 and 7 to OCI](04_VirtualBox_to_OCI)

0 commit comments

Comments
 (0)
Please sign in to comment.