commit 33ab388e6c2fbe5f4d43c6a7e9709fd2570c0a53 Author: Cristiano Hoshikawa Date: Sun Apr 7 10:05:07 2024 -0300 first commit diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..0a8642f --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Zeppelin ignored files +/ZeppelinRemoteNotebooks/ diff --git a/.idea/Weblogic Market Place OCI.iml b/.idea/Weblogic Market Place OCI.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/Weblogic Market Place OCI.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/aws.xml b/.idea/aws.xml new file mode 100644 index 0000000..1850186 --- /dev/null +++ b/.idea/aws.xml @@ -0,0 +1,17 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..919ce1f --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/markdown.xml b/.idea/markdown.xml new file mode 100644 index 0000000..4e28a22 --- /dev/null +++ b/.idea/markdown.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..9827906 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..af6f6aa --- /dev/null +++ b/README.md @@ -0,0 +1,201 @@ +# Weblogic OCI Market Place + +## Introduction + +In this material, we will show how to create an Oracle Weblogic cluster on Oracle Cloud through Market Place. Oracle Cloud Market Place is a rich library of click-to-deploy Terraform stacks that provides complete, fully automated solutions for deploying third-party software on Oracle Cloud Infrastructure. + +Through the Market Place, we will have a Weblogic cluster operating in high availability, scalable and integrated with OCI's VCN network. In addition, we will activate OCI Observability where it will be possible to monitor and track the operating metrics of the Weblogic cluster. + +### Create an Object Storage to save your Terraform Script + +First of all, we need to create a bucket to store the **Terraform** script generated automatically in the **OCI Market Place**. Go to the Main Menu and click on Storage and Bucket options + +![img_6.png](img_6.png) + +Select your compartment and click on **Create Bucket**. This bucket will be used to store the **Terraform** script. + +![img_7.png](img_7.png) + +Put a name for your Bucket. Put **Terraform_Scripts** as an example for this tutorial. Maintain the other options as is and click **Create** button. + +![img_8.png](img_8.png) + +### Create a Secret + +Now we need to create 2 secrets in the **OCI Vault**. For security reasons, the **OCI Vault** is a very good way to store passwords and certificates and the **Weblogic Cluster** will use: + +- A password for the Admin Console +- A password to use and store the **auto-scaling functions** in the **OCI Container Registry** (Image repository in OCI) + +Now, go to the Main Menu and click on **Identity & Security** and **Vault** options. + +![img_26.png](img_26.png) + +Select the compartment you want to store the secrets and click on **Create Vault** button + +![img_29.png](img_29.png) + +Put a name for your vault, confirm the compartment and click on **Create Vault** button + +![img_30.png](img_30.png) + +Confirm the vault creation and let's create a key. Click on **Create Key** button + +![img_33.png](img_33.png) + +Confirm the compartment and put a name for your key. For example, put **weblogickey** on Name and click on **Create Key** button + +![img_34.png](img_34.png) + +Confirm the key creation + +![img_35.png](img_35.png) + +Now, click on **Secrets** option and click on **Create Secret** button + +![img_31.png](img_31.png) + +We will create the **Weblogic Admin** password. Confirm the compartment, put a name for your first secret. Select **Manual secret generation** to include the password. Select **Plain-Text** option on **Secret Type Template** and write your password. Finally, click on **Create Secret** button. + +![img_47.png](img_47.png) + +>**Note:** The password must start with a letter, is between 8 and 30 characters long, contain at least one number, and, optionally, any number of the special characters ($ # _). **If you don't respect this rule, the Weblogic Instance cannot be created.** + +![img_37.png](img_37.png) + +Now we will create a new secret for your Image Repository (**OCI Container Registry**). + +**Oracle Cloud Infrastructure Container Registry** is an open standards-based, Oracle-managed Docker registry service for securely storing and sharing container images. Engineers can easily push and pull Docker images with the familiar Docker Command Line Interface (CLI) and API. To support container lifecycles, Registry works with Container Engine for Kubernetes, Identity and Access Management (IAM), Visual Builder Studio, and third-party developer and DevOps tools + +If you don't know about how to use the **OCI Repository**, please see this article [Push an Image to Oracle Cloud Infrastructure Registry](https://www.oracle.com/webfolder/technetwork/tutorials/obe/oci/registry/index.html), you will need to know your **token** access. + +Again, click on **Create Secret** button and fill the **Secret Contents** with your **OCIR token**. Click on **Create Secret** button. + +![img_40.png](img_40.png) + +You can see the **Base 64** conversion value of your token by clicking the **Show Base64 conversion** toggle key. + +![img_46.png](img_46.png) + +Confirm if your 2 secrets were created + +![img_41.png](img_41.png) + +### Create the Weblogic Clustered Instance + +Let's create your **Weblogic Cluster**. Go to the Main menu + +![img_1.png](img_1.png) + +Select **Marketplace** option + +![img.png](img.png) + +Now select the **All Applications** + +![img_2.png](img_2.png) + +Write on **Search** text box "webogic". The **Weblogic** options will appear on screen + +For the **Weblogic H.A.** option, select for example the **Weblogic Enterprise** or **Weblogic Suite**. + +![img_3.png](img_3.png) + +Select the **Version** and compartment for your **Weblogic Cluster**, confirm the acceptance terms and click on **Launch Stack** button + +![img_4.png](img_4.png) + +Click on **Use custom Terraform providers** option to generate your Terraform scripts. Select the compartment of your bucket previously created and your bucket name. + +![img_9.png](img_9.png) + +You can put a name for your stack or leave the default name. + +![img_10.png](img_10.png) + +Click **Next** button. Put a prefix name for your **Weblogic** stack. All resources created in Terraform process will contain this prefix name + +![img_11.png](img_11.png) + +Generate a Public and Private key file. Put the public key here. This will be used to authenticate your bastion instance. + +![img_12.png](img_12.png) + +Maintain **OCI Policies** enabled. + +![img_13.png](img_13.png) + + +### Working with VCN, Subnets, Private/Public, Bastion + +You can use a valid **VCN** inside the **OCI** or create a new one. If you don't have any **VCN** create, select **Create a Virtual Cloud Network** option. + +![img_14.png](img_14.png) + +### Working with Load Balancer + +Your **Weblogic** instance will be created on a clustered environment. So, you can stablish the number of **Weblogic** instances and can balance the use of this servers through a **Load-Balancer**. Select **Provision Load Balancer** option. + +![img_15.png](img_15.png) + +You can customize the **CIDR** block and performance options for the **Load Balancer** + +![img_24.png](img_24.png) + +### Working with IDCS + +**Oracle Identity Cloud Service (IDCS)** is an Identity-as-a-Service (IDaaS) solution available in Oracle Public Cloud (OPC). It is designed to extend enterprise controls by automating PaaS and SaaS account provisioning and deprovisioning, simplifying the user experience for accessing cloud applications by providing seamless integration with enterprise identity stores and authentication services, and facilitating compliance activities by clearly reporting on cloud application usage + +You can integrate your **Weblogic Cluster** with IDCS. If you want to integrate with **IDCS**, click on **Enable Authentication Using Identity Cloud Service** option + +![img_16.png](img_16.png) + +### Observability + +![img_17.png](img_17.png) + +![img_39.png](img_39.png) + +### Auto Scaling + +![img_18.png](img_18.png) + +![img_42.png](img_42.png) + +### File System - H.A. + +![img_19.png](img_19.png) + +![img_25.png](img_25.png) + +### Configure a VCN + +![img_20.png](img_20.png) + +### Domain Configuration + +![img_38.png](img_38.png) + +### Configure Weblogic Instances + +![img_22.png](img_22.png) + +### Working with Bastion + +![img_23.png](img_23.png) + +## Confirm the Stack creation + +![img_43.png](img_43.png) + +![img_44.png](img_44.png) + +![img_45.png](img_45.png) + +## Reference + +- [Create a Non-JRF Instance Using Oracle WebLogic Server for OCI With New VCN](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/wlcgs/index.html) +- [Autoscaling Weblogic in OCI](https://blogs.oracle.com/weblogicserver/post/monitoring-and-autoscaling-oracle-weblogic-server-for-oci-stack-with-customized-domains) +- [OCI APM Agent for Weblogic](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/doc/deploy-apm-java-agent.html#GUID-081D2588-8A46-46CA-9297-3654002702D0) +- [Install and Configure APM Java Agent On Oracle Weblogic Server](https://docs.oracle.com/en/cloud/paas/management-cloud/dmapm/install-and-configure-apm-java-agents-oracle-weblogic-server.html#GUID-05347698-5AED-4980-BBAC-0588BED98DDE) +- [Push an Image to Oracle Cloud Infrastructure Registry](https://www.oracle.com/webfolder/technetwork/tutorials/obe/oci/registry/index.html) diff --git a/Weblogic Market Place OCI.iml b/Weblogic Market Place OCI.iml new file mode 100644 index 0000000..9a5cfce --- /dev/null +++ b/Weblogic Market Place OCI.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/img.png b/img.png new file mode 100644 index 0000000..ff8f686 Binary files /dev/null and b/img.png differ diff --git a/img_1.png b/img_1.png new file mode 100644 index 0000000..db6611d Binary files /dev/null and b/img_1.png differ diff --git a/img_10.png b/img_10.png new file mode 100644 index 0000000..52c3ced Binary files /dev/null and b/img_10.png differ diff --git a/img_11.png b/img_11.png new file mode 100644 index 0000000..060c103 Binary files /dev/null and b/img_11.png differ diff --git a/img_12.png b/img_12.png new file mode 100644 index 0000000..009c0d1 Binary files /dev/null and b/img_12.png differ diff --git a/img_13.png b/img_13.png new file mode 100644 index 0000000..6d644f1 Binary files /dev/null and b/img_13.png differ diff --git a/img_14.png b/img_14.png new file mode 100644 index 0000000..7a68859 Binary files /dev/null and b/img_14.png differ diff --git a/img_15.png b/img_15.png new file mode 100644 index 0000000..a7f5229 Binary files /dev/null and b/img_15.png differ diff --git a/img_16.png b/img_16.png new file mode 100644 index 0000000..4d7c007 Binary files /dev/null and b/img_16.png differ diff --git a/img_17.png b/img_17.png new file mode 100644 index 0000000..e360fcf Binary files /dev/null and b/img_17.png differ diff --git a/img_18.png b/img_18.png new file mode 100644 index 0000000..ed00445 Binary files /dev/null and b/img_18.png differ diff --git a/img_19.png b/img_19.png new file mode 100644 index 0000000..85632a0 Binary files /dev/null and b/img_19.png differ diff --git a/img_2.png b/img_2.png new file mode 100644 index 0000000..2a583f7 Binary files /dev/null and b/img_2.png differ diff --git a/img_20.png b/img_20.png new file mode 100644 index 0000000..9b609de Binary files /dev/null and b/img_20.png differ diff --git a/img_21.png b/img_21.png new file mode 100644 index 0000000..d26665f Binary files /dev/null and b/img_21.png differ diff --git a/img_22.png b/img_22.png new file mode 100644 index 0000000..e613f4d Binary files /dev/null and b/img_22.png differ diff --git a/img_23.png b/img_23.png new file mode 100644 index 0000000..3166bf1 Binary files /dev/null and b/img_23.png differ diff --git a/img_24.png b/img_24.png new file mode 100644 index 0000000..a6d8c08 Binary files /dev/null and b/img_24.png differ diff --git a/img_25.png b/img_25.png new file mode 100644 index 0000000..8be8153 Binary files /dev/null and b/img_25.png differ diff --git a/img_26.png b/img_26.png new file mode 100644 index 0000000..fb3e697 Binary files /dev/null and b/img_26.png differ diff --git a/img_27.png b/img_27.png new file mode 100644 index 0000000..d45543a Binary files /dev/null and b/img_27.png differ diff --git a/img_28.png b/img_28.png new file mode 100644 index 0000000..305f7b0 Binary files /dev/null and b/img_28.png differ diff --git a/img_29.png b/img_29.png new file mode 100644 index 0000000..28250fc Binary files /dev/null and b/img_29.png differ diff --git a/img_3.png b/img_3.png new file mode 100644 index 0000000..4ff64b0 Binary files /dev/null and b/img_3.png differ diff --git a/img_30.png b/img_30.png new file mode 100644 index 0000000..6d234ae Binary files /dev/null and b/img_30.png differ diff --git a/img_31.png b/img_31.png new file mode 100644 index 0000000..450fa68 Binary files /dev/null and b/img_31.png differ diff --git a/img_32.png b/img_32.png new file mode 100644 index 0000000..93fa3aa Binary files /dev/null and b/img_32.png differ diff --git a/img_33.png b/img_33.png new file mode 100644 index 0000000..241da07 Binary files /dev/null and b/img_33.png differ diff --git a/img_34.png b/img_34.png new file mode 100644 index 0000000..1314c86 Binary files /dev/null and b/img_34.png differ diff --git a/img_35.png b/img_35.png new file mode 100644 index 0000000..ca2428a Binary files /dev/null and b/img_35.png differ diff --git a/img_36.png b/img_36.png new file mode 100644 index 0000000..3900200 Binary files /dev/null and b/img_36.png differ diff --git a/img_37.png b/img_37.png new file mode 100644 index 0000000..60fc082 Binary files /dev/null and b/img_37.png differ diff --git a/img_38.png b/img_38.png new file mode 100644 index 0000000..d272103 Binary files /dev/null and b/img_38.png differ diff --git a/img_39.png b/img_39.png new file mode 100644 index 0000000..38b7c16 Binary files /dev/null and b/img_39.png differ diff --git a/img_4.png b/img_4.png new file mode 100644 index 0000000..0685fb2 Binary files /dev/null and b/img_4.png differ diff --git a/img_40.png b/img_40.png new file mode 100644 index 0000000..958dbb2 Binary files /dev/null and b/img_40.png differ diff --git a/img_41.png b/img_41.png new file mode 100644 index 0000000..c4a0efd Binary files /dev/null and b/img_41.png differ diff --git a/img_42.png b/img_42.png new file mode 100644 index 0000000..4d16f9e Binary files /dev/null and b/img_42.png differ diff --git a/img_43.png b/img_43.png new file mode 100644 index 0000000..00ab784 Binary files /dev/null and b/img_43.png differ diff --git a/img_44.png b/img_44.png new file mode 100644 index 0000000..98074e1 Binary files /dev/null and b/img_44.png differ diff --git a/img_45.png b/img_45.png new file mode 100644 index 0000000..445fd8c Binary files /dev/null and b/img_45.png differ diff --git a/img_46.png b/img_46.png new file mode 100644 index 0000000..b9ede3b Binary files /dev/null and b/img_46.png differ diff --git a/img_47.png b/img_47.png new file mode 100644 index 0000000..d2b55d7 Binary files /dev/null and b/img_47.png differ diff --git a/img_5.png b/img_5.png new file mode 100644 index 0000000..01ca1a8 Binary files /dev/null and b/img_5.png differ diff --git a/img_6.png b/img_6.png new file mode 100644 index 0000000..aee58f5 Binary files /dev/null and b/img_6.png differ diff --git a/img_7.png b/img_7.png new file mode 100644 index 0000000..3abb975 Binary files /dev/null and b/img_7.png differ diff --git a/img_8.png b/img_8.png new file mode 100644 index 0000000..a0fb6fe Binary files /dev/null and b/img_8.png differ diff --git a/img_9.png b/img_9.png new file mode 100644 index 0000000..1de02bf Binary files /dev/null and b/img_9.png differ