folders
90
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
|
||||
|
||||

|
||||

|
||||
|
||||
Select your compartment and click on **Create Bucket**. This bucket will be used to store the **Terraform** script.
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
## 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.
|
||||
|
||||

|
||||

|
||||
|
||||
Select the compartment you want to store the secrets and click on **Create Vault** button
|
||||
|
||||

|
||||

|
||||
|
||||
Put a name for your vault, confirm the compartment and click on **Create Vault** button
|
||||
|
||||

|
||||

|
||||
|
||||
Confirm the vault creation and let's create a key. Click on **Create Key** button
|
||||
|
||||

|
||||

|
||||
|
||||
Confirm the compartment and put a name for your key. For example, put **weblogickey** on Name and click on **Create Key** button
|
||||
|
||||

|
||||

|
||||
|
||||
Confirm the key creation
|
||||
|
||||

|
||||

|
||||
|
||||
Now, click on **Secrets** option and click on **Create Secret** button
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
>**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.**
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
You can see the **Base 64** conversion value of your token by clicking the **Show Base64 conversion** toggle key.
|
||||
|
||||

|
||||

|
||||
|
||||
Confirm if your 2 secrets were created
|
||||
|
||||

|
||||

|
||||
|
||||
## 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.
|
||||
|
||||

|
||||

|
||||
|
||||
Select your compartment to create an **APM** domain and click in the **Create APM domain** button
|
||||
|
||||

|
||||

|
||||
|
||||
Put a name for your **APM Domain**, confirm your compartment and click on **Create** button.
|
||||
|
||||

|
||||

|
||||
|
||||
## Task 4 - Create the Weblogic Clustered Instance
|
||||
|
||||
Let's create your **Weblogic Cluster**. Go to the Main menu
|
||||
|
||||

|
||||

|
||||
|
||||
Select **Marketplace** option
|
||||
|
||||

|
||||

|
||||
|
||||
Now select the **All Applications**
|
||||
|
||||

|
||||

|
||||
|
||||
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**.
|
||||
|
||||

|
||||

|
||||
|
||||
Select the **Version** and compartment for your **Weblogic Cluster**, confirm the acceptance terms and click on **Launch Stack** button
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||

|
||||
|
||||
You can put a name for your stack or leave the default name.
|
||||
|
||||

|
||||

|
||||
|
||||
Click **Next** button. Put a prefix name for your **Weblogic** stack. All resources created in Terraform process will contain this prefix name
|
||||
|
||||

|
||||

|
||||
|
||||
Generate a Public and Private key file. Put the public key here. This will be used to authenticate your bastion instance.
|
||||
|
||||

|
||||

|
||||
|
||||
Maintain **OCI Policies** enabled.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||
You can customize the **CIDR** block and performance options for the **Load Balancer**
|
||||
|
||||

|
||||

|
||||
|
||||
### 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
|
||||
|
||||

|
||||

|
||||
|
||||
### Observability
|
||||
|
||||
If you want to integrate the **OCI Observability** with your **Webloigc Cluster**, enable this options:
|
||||
|
||||

|
||||

|
||||
|
||||
And select your **APM Domain** created previously in your compartment.
|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
### 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**.
|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
## Acknowledgments
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 253 KiB After Width: | Height: | Size: 253 KiB |
|
Before Width: | Height: | Size: 482 KiB After Width: | Height: | Size: 482 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 137 KiB After Width: | Height: | Size: 137 KiB |
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 250 KiB |
|
Before Width: | Height: | Size: 564 KiB After Width: | Height: | Size: 564 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 532 KiB After Width: | Height: | Size: 532 KiB |
|
Before Width: | Height: | Size: 833 KiB After Width: | Height: | Size: 833 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 690 KiB After Width: | Height: | Size: 690 KiB |
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 684 KiB After Width: | Height: | Size: 684 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 147 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 860 KiB After Width: | Height: | Size: 860 KiB |
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 758 KiB After Width: | Height: | Size: 758 KiB |
|
Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 238 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 221 KiB After Width: | Height: | Size: 221 KiB |
|
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 220 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 832 KiB After Width: | Height: | Size: 832 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
|
Before Width: | Height: | Size: 612 KiB After Width: | Height: | Size: 612 KiB |
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |