diff --git a/README.md b/README.md index be456c6..4949f7d 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,15 @@ With this material, you will: 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) +![img_6.png](images/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) +![img_7.png](images/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) +![img_8.png](images/img_8.png) ## Task 2 - Create a Secret @@ -41,39 +41,39 @@ Now we need to create 2 secrets in the **OCI Vault**. For security reasons, the Now, go to the Main Menu and click on **Identity & Security** and **Vault** options. -![img_26.png](img_26.png) +![img_26.png](images/img_26.png) Select the compartment you want to store the secrets and click on **Create Vault** button -![img_29.png](img_29.png) +![img_29.png](images/img_29.png) Put a name for your vault, confirm the compartment and click on **Create Vault** button -![img_30.png](img_30.png) +![img_30.png](images/img_30.png) Confirm the vault creation and let's create a key. Click on **Create Key** button -![img_33.png](img_33.png) +![img_33.png](images/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) +![img_34.png](images/img_34.png) Confirm the key creation -![img_35.png](img_35.png) +![img_35.png](images/img_35.png) Now, click on **Secrets** option and click on **Create Secret** button -![img_31.png](img_31.png) +![img_31.png](images/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) +![img_47.png](images/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) +![img_37.png](images/img_37.png) Now we will create a new secret for your Image Repository (**OCI Container Registry**). @@ -83,15 +83,15 @@ If you don't know about how to use the **OCI Repository**, please see this artic 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) +![img_40.png](images/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) +![img_46.png](images/img_46.png) Confirm if your 2 secrets were created -![img_41.png](img_41.png) +![img_41.png](images/img_41.png) ## Task 3 - Create an Observability Application Performance Monitoring @@ -105,76 +105,76 @@ You can use the **Application Performance Monitoring (APM**). Application Perfor Let's create an **APM** in the **OCI**. Open the Main Menu and select **Observability & Management** and the **Administration** option. -![img_49.png](img_49.png) +![img_49.png](images/img_49.png) Select your compartment to create an **APM** domain and click in the **Create APM domain** button -![img_50.png](img_50.png) +![img_50.png](images/img_50.png) Put a name for your **APM Domain**, confirm your compartment and click on **Create** button. -![img_51.png](img_51.png) +![img_51.png](images/img_51.png) ## Task 4 - Create the Weblogic Clustered Instance Let's create your **Weblogic Cluster**. Go to the Main menu -![img_1.png](img_1.png) +![img_1.png](images/img_1.png) Select **Marketplace** option -![img.png](img.png) +![img.png](images/img.png) Now select the **All Applications** -![img_2.png](img_2.png) +![img_2.png](images/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) +![img_3.png](images/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) +![img_4.png](images/img_4.png) Click on **Use custom Terraform providers** option if you have a custom Terraform script and want to use it. Select the compartment of your bucket previously created and your bucket name. -![img_9.png](img_9.png) +![img_9.png](images/img_9.png) You can put a name for your stack or leave the default name. -![img_10.png](img_10.png) +![img_10.png](images/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) +![img_11.png](images/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) +![img_12.png](images/img_12.png) Maintain **OCI Policies** enabled. -![img_13.png](img_13.png) +![img_13.png](images/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) +![img_14.png](images/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) +![img_15.png](images/img_15.png) You can customize the **CIDR** block and performance options for the **Load Balancer** -![img_24.png](img_24.png) +![img_24.png](images/img_24.png) ### Working with IDCS @@ -182,17 +182,17 @@ You can customize the **CIDR** block and performance options for the **Load Bala 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) +![img_16.png](images/img_16.png) ### Observability If you want to integrate the **OCI Observability** with your **Webloigc Cluster**, enable this options: -![img_17.png](img_17.png) +![img_17.png](images/img_17.png) And select your **APM Domain** created previously in your compartment. -![img_39.png](img_39.png) +![img_39.png](images/img_39.png) ### Auto Scaling @@ -200,24 +200,24 @@ The **Weblogic** stack available on **Oracle Cloud Market Place** allows the use To activate this option, simply enable the "Autoscaling" option and configure the **OCI Registry** with your previously configured username and token. Also configure thresholds to automate autoscaling. -![img_18.png](img_18.png) +![img_18.png](images/img_18.png) -![img_42.png](img_42.png) +![img_42.png](images/img_42.png) ### File System - H.A. There is the possibility of working with shared storage, which is very important when it comes to creating a Weblogic cluster for high availability. To do this, simply enable the "Add File System" option and configure the subnet's CIDR block to mount the target. Be careful to establish a CIDR block that does not overlap an existing one. -![img_19.png](img_19.png) +![img_19.png](images/img_19.png) -![img_25.png](img_25.png) +![img_25.png](images/img_25.png) ### Configure a VCN Now you need to create where your **Weblogic** instance will operate. That means to configure the VCN and subnets. You selected to create a new **VCN**, so you can put here a name for your **VCN** and choose optionaly the **CIDR** block for the network. Subnets will be created automatically. Remember to check your compartment for your **VCN**. -![img_20.png](img_20.png) +![img_20.png](images/img_20.png) ### Domain Configuration @@ -225,14 +225,14 @@ Let's configure the **Weblogic** domain. Put the **Admin User Name**, default is Select the compartment of your secret created previously and select the **weblogicadmin** secret. Select your **JDK** version and if you want, you can create a sample application, just select **Deploy Sample Application** option for this. -![img_38.png](img_38.png) +![img_38.png](images/img_38.png) ### Configure Weblogic Instances Here you can configure your cluster machines. Select your **OCI** compute shape, the **OCPUs** size and the number of **Nodes** for your cluster. You can configure the **CIDR** block for your servers subnet. -![img_22.png](img_22.png) +![img_22.png](images/img_22.png) ### Working with Bastion @@ -242,7 +242,7 @@ Enable "Assign Reserved Public IP to Bastion Instance", configure the **CIDR** b Remember to use your private key configured previously to access your bastion in a **SSH** connection. -![img_23.png](img_23.png) +![img_23.png](images/img_23.png) Obtain the **Public IP** of your bastion in the **Compute** menu and in you bastion detail. @@ -261,11 +261,11 @@ You can now access your admin server with your browser with: ## Task 5 - Confirm the Stack creation -![img_43.png](img_43.png) +![img_43.png](images/img_43.png) -![img_44.png](img_44.png) +![img_44.png](images/img_44.png) -![img_45.png](img_45.png) +![img_45.png](images/img_45.png) ## Acknowledgments diff --git a/img.png b/images/img.png similarity index 100% rename from img.png rename to images/img.png diff --git a/img_1.png b/images/img_1.png similarity index 100% rename from img_1.png rename to images/img_1.png diff --git a/img_10.png b/images/img_10.png similarity index 100% rename from img_10.png rename to images/img_10.png diff --git a/img_11.png b/images/img_11.png similarity index 100% rename from img_11.png rename to images/img_11.png diff --git a/img_12.png b/images/img_12.png similarity index 100% rename from img_12.png rename to images/img_12.png diff --git a/img_13.png b/images/img_13.png similarity index 100% rename from img_13.png rename to images/img_13.png diff --git a/img_14.png b/images/img_14.png similarity index 100% rename from img_14.png rename to images/img_14.png diff --git a/img_15.png b/images/img_15.png similarity index 100% rename from img_15.png rename to images/img_15.png diff --git a/img_16.png b/images/img_16.png similarity index 100% rename from img_16.png rename to images/img_16.png diff --git a/img_17.png b/images/img_17.png similarity index 100% rename from img_17.png rename to images/img_17.png diff --git a/img_18.png b/images/img_18.png similarity index 100% rename from img_18.png rename to images/img_18.png diff --git a/img_19.png b/images/img_19.png similarity index 100% rename from img_19.png rename to images/img_19.png diff --git a/img_2.png b/images/img_2.png similarity index 100% rename from img_2.png rename to images/img_2.png diff --git a/img_20.png b/images/img_20.png similarity index 100% rename from img_20.png rename to images/img_20.png diff --git a/img_21.png b/images/img_21.png similarity index 100% rename from img_21.png rename to images/img_21.png diff --git a/img_22.png b/images/img_22.png similarity index 100% rename from img_22.png rename to images/img_22.png diff --git a/img_23.png b/images/img_23.png similarity index 100% rename from img_23.png rename to images/img_23.png diff --git a/img_24.png b/images/img_24.png similarity index 100% rename from img_24.png rename to images/img_24.png diff --git a/img_25.png b/images/img_25.png similarity index 100% rename from img_25.png rename to images/img_25.png diff --git a/img_26.png b/images/img_26.png similarity index 100% rename from img_26.png rename to images/img_26.png diff --git a/img_27.png b/images/img_27.png similarity index 100% rename from img_27.png rename to images/img_27.png diff --git a/img_28.png b/images/img_28.png similarity index 100% rename from img_28.png rename to images/img_28.png diff --git a/img_29.png b/images/img_29.png similarity index 100% rename from img_29.png rename to images/img_29.png diff --git a/img_3.png b/images/img_3.png similarity index 100% rename from img_3.png rename to images/img_3.png diff --git a/img_30.png b/images/img_30.png similarity index 100% rename from img_30.png rename to images/img_30.png diff --git a/img_31.png b/images/img_31.png similarity index 100% rename from img_31.png rename to images/img_31.png diff --git a/img_32.png b/images/img_32.png similarity index 100% rename from img_32.png rename to images/img_32.png diff --git a/img_33.png b/images/img_33.png similarity index 100% rename from img_33.png rename to images/img_33.png diff --git a/img_34.png b/images/img_34.png similarity index 100% rename from img_34.png rename to images/img_34.png diff --git a/img_35.png b/images/img_35.png similarity index 100% rename from img_35.png rename to images/img_35.png diff --git a/img_36.png b/images/img_36.png similarity index 100% rename from img_36.png rename to images/img_36.png diff --git a/img_37.png b/images/img_37.png similarity index 100% rename from img_37.png rename to images/img_37.png diff --git a/img_38.png b/images/img_38.png similarity index 100% rename from img_38.png rename to images/img_38.png diff --git a/img_39.png b/images/img_39.png similarity index 100% rename from img_39.png rename to images/img_39.png diff --git a/img_4.png b/images/img_4.png similarity index 100% rename from img_4.png rename to images/img_4.png diff --git a/img_40.png b/images/img_40.png similarity index 100% rename from img_40.png rename to images/img_40.png diff --git a/img_41.png b/images/img_41.png similarity index 100% rename from img_41.png rename to images/img_41.png diff --git a/img_42.png b/images/img_42.png similarity index 100% rename from img_42.png rename to images/img_42.png diff --git a/img_43.png b/images/img_43.png similarity index 100% rename from img_43.png rename to images/img_43.png diff --git a/img_44.png b/images/img_44.png similarity index 100% rename from img_44.png rename to images/img_44.png diff --git a/img_45.png b/images/img_45.png similarity index 100% rename from img_45.png rename to images/img_45.png diff --git a/img_46.png b/images/img_46.png similarity index 100% rename from img_46.png rename to images/img_46.png diff --git a/img_47.png b/images/img_47.png similarity index 100% rename from img_47.png rename to images/img_47.png diff --git a/img_48.png b/images/img_48.png similarity index 100% rename from img_48.png rename to images/img_48.png diff --git a/img_49.png b/images/img_49.png similarity index 100% rename from img_49.png rename to images/img_49.png diff --git a/img_5.png b/images/img_5.png similarity index 100% rename from img_5.png rename to images/img_5.png diff --git a/img_50.png b/images/img_50.png similarity index 100% rename from img_50.png rename to images/img_50.png diff --git a/img_51.png b/images/img_51.png similarity index 100% rename from img_51.png rename to images/img_51.png diff --git a/img_6.png b/images/img_6.png similarity index 100% rename from img_6.png rename to images/img_6.png diff --git a/img_7.png b/images/img_7.png similarity index 100% rename from img_7.png rename to images/img_7.png diff --git a/img_8.png b/images/img_8.png similarity index 100% rename from img_8.png rename to images/img_8.png diff --git a/img_9.png b/images/img_9.png similarity index 100% rename from img_9.png rename to images/img_9.png