Skip to content

Commit 7c4f18a

Browse files
JCS-13633 Add licensing section to README.md (#169)
- Change year in header - Change references to inputs directory in README.md - Add license info in main README.md - Fix text in main README.md and README.md for solutions - Remove cleanup note for non-jrf solution, because it is not needed - Mention the var file for images in the README.md for each solution - Improve instructions to create tfvar file
1 parent 375a4e8 commit 7c4f18a

File tree

177 files changed

+296
-245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+296
-245
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022, Oracle and/or its affiliates.
1+
# Copyright (c) 2023, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
# Local .terraform directories

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022 Oracle and/or its affiliates. All rights reserved.
1+
Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved.
22

33
The Universal Permissive License (UPL), Version 1.0
44

README.md

Lines changed: 64 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# Oracle WebLogic Server for Oracle Cloud Infrastructure
1+
# OCI Terraform stack for WebLogic Server
22

3-
[Oracle WebLogic Server for Oracle Cloud Infrastructure][wlsoci] allows you to quickly create your Java Enterprise Edition
4-
(Java EE) application environment in [Oracle Cloud Infrastructure (OCI)][oci], including an Oracle WebLogic Server domain,
5-
in a fraction of the time it would normally take on-premises.
3+
The OCI Terraform stack for WebLogic Server allows you to create and configure a WebLogic domain in
4+
[Oracle Cloud Infrastructure (OCI)][oci], in minutes. It will create and/or configure multiple OCI services such as
5+
Compute, Network, OCI Database, Autonomous Database, Identity Cloud Service, Logging, File System, Application
6+
Performance Monitoring and Autoscalings. The WebLogic domain created can be scaled by updating a terraform variable to indicate
7+
the desired number of nodes and re apply the stack or auto-scaling can be configured to automatically adapt to different
8+
workloads in real time.
69

7-
Oracle WebLogic Server for OCI is available as a set of applications in the [Oracle Cloud Infrastructure Marketplace][marketplace].
10+
The OCI Terraform stack for WebLogic Server is available through the Oracle Quick Start or through the
11+
[Oracle Cloud Infrastructure Marketplace][marketplace] as one of the multiple Oracle WebLogic Server for OCI applications.
812
After launching one of these applications, you use a simple wizard interface to configure and provision your domains along
913
with any supporting cloud resources like compute instances, networks and load balancers.
1014

11-
This Quick Start is an alternative to deploy an Oracle WebLogic Server for OCI stack, that can be used to automate the creation
12-
of WebLogic domains in OCI. You can use the Oracle Cloud Infrastructure [Resource Manager (ORM)][orm] or the Terraform
13-
command-line interface (CLI).
14-
15-
For more details on deploying the Oracle WebLogic Server for OCI stack on Oracle Cloud Infrastructure, visit the
16-
"Using Oracle WebLogic Server for OCI" [guide](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/index.html).
15+
For more details about deploying the OCI Terraform stack for WebLogic Server through the OCI Marketplace, visit the
16+
["Using Oracle WebLogic Server for OCI"](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/index.html) guide.
1717

1818
## Common Topologies
1919

20-
WebLogic for OCI offers many options to customize your stack, to create new resources or use existing resources, use features
21-
like Oracle Identity and Cloud Service, etc.
20+
The OCI Terraform stack for WebLogic Server offers many options to customize your environment, to create new resources or configure
21+
existing resources or services such as Network, Oracle Database, Oracle Identity Cloud Service, Logging, File System, etc.
2222

23-
The [solutions](./solutions) directory contains examples of different topologies that can be created in WebLogic for OCI, with
24-
sample tfvars files, and instructions to create the stack.
23+
The [solutions](./solutions) directory contains examples of different topologies that can be created with this Terraform
24+
template, with sample tfvars files, and instructions to create the stack.
2525

2626
The following topologies are included:
2727

@@ -32,47 +32,47 @@ The following topologies are included:
3232

3333
Review each solution for more details.
3434

35-
## Before You Begin with Oracle WebLogic Server for OCI
35+
## Before You Begin with OCI Terraform stack for WebLogic Server
3636

3737
Whether you use Terraform CLI, ORM or the Marketplace to create a stack, you need to perform some pre-requisites. Refer
3838
to the [documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/you-begin-oracle-weblogic-cloud.html) for
39-
the pre-requisite steps to using Oracle WebLogic Server for OCI.
39+
the pre-requisite steps to use the OCI Terraform stack for WebLogic Server.
4040

4141
For pre-requisites specific to Terraform CLI and ORM, see their corresponding section.
4242

43-
## Create Stack Using the Marketplace
43+
## Create the Stack Using the OCI Marketplace
4444

45-
To create, manage and destroy a WebLogic for OCI stack using the Marketplace, follow the instructions in the
46-
[documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/create-stack1.html).
45+
To create, manage and destroy the OCI Terraform stack for WebLogic Server as WebLogic Server for OCI using the Marketplace,
46+
follow the instructions in the [documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/create-stack1.html).
4747

4848
## Create Stack Using the Terraform CLI
4949

5050
You need to install the following software in your computer to create a stack using Terraform CLI:
51-
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git). Install the latest version
52-
- [Terraform](https://www.terraform.io/). The scripts in this Quick Start requires Terraform version >= 1.1.2, < 1.2.0
51+
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git). Install the latest version
52+
- [Terraform](https://www.terraform.io/). The scripts in this Quick Start requires Terraform version >= 1.1.2, < 1.2.0
5353

5454
First, get a local copy of this repo. You can make that with the commands:
5555

5656
```bash
57-
git clone https://github.com/oracle-quickstart/weblogic-server-for-oci.git
58-
cd weblogic-server-for-oci/terraform
57+
git clone https://github.com/oracle-quickstart/oci-weblogic-server.git
58+
cd oci-weblogic-server/terraform
5959
ls
6060
```
6161
Example output:
6262

6363
```bash
64-
$ git clone https://github.com/oracle-quickstart/weblogic-server-for-oci.git
65-
Cloning into 'weblogic-server-for-oci'...
64+
$ git clone https://github.com/oracle-quickstart/oci-weblogic-server.git
65+
Cloning into 'oci-weblogic-server'...
6666
remote: Enumerating objects: 2522, done.
6767
remote: Counting objects: 100% (646/646), done.
6868
remote: Compressing objects: 100% (324/324), done.
6969
remote: Total 2522 (delta 449), reused 440 (delta 318), pack-reused 1876
7070
Receiving objects: 100% (2522/2522), 972.92 KiB | 1.54 MiB/s, done.
7171
Resolving deltas: 100% (1735/1735), done.
72-
$ cd weblogic-server-for-oci/terraform
72+
$ cd oci-weblogic-server/terraform
7373
$ ls
7474
autoscaling_variables.tf data_sources.tf edition.tf idcs_variables.tf locals.tf modules/ network_variables.tf oci_images.tf outputs.tf schema.yaml variables.tf weblogic_variables.tf
75-
bastion_variables.tf db_variables.tf fss_variables.tf inputs/ main.tf mp_variables.tf observability_variables.tf orm/ provider.tf schema_14110.yaml versions.tf
75+
bastion_variables.tf db_variables.tf fss_variables.tf images/ main.tf mp_variables.tf observability_variables.tf orm/ provider.tf schema_14110.yaml versions.tf
7676
$
7777
```
7878

@@ -171,21 +171,22 @@ First, you need to set the image variables, depending on which WebLogic edition
171171
BYOL license or UCM license, when creating the stack.
172172
173173
The following files contain the values for those variables:
174-
- [mp_image_se_byol.tfvars](./terraform/inputs/mp_image_se_byol.tfvars): WebLogic Standard Edition - BYOL
175-
- [mp_image_ee_byol.tfvars](./terraform/inputs/mp_image_ee_byol.tfvars): WebLogic Enterprise Edition - BYOL
176-
- [mp_image_ee_ucm.tfvars](./terraform/inputs/mp_image_ee_ucm.tfvars): WebLogic Enterprise Edition - UCM
177-
- [mp_image_suite_byol.tfvars](./terraform/inputs/mp_image_suite_byol.tfvars): WebLogic Suite - BYOL
178-
- [mp_image_suite_ucm.tfvars](./terraform/inputs/mp_image_suite_ucm.tfvars): WebLogic Suite - UCM
174+
- [mp_image_se_byol.tfvars](./terraform/images/mp_image_se_byol.tfvars): WebLogic Standard Edition - BYOL
175+
- [mp_image_ee_byol.tfvars](./terraform/images/mp_image_ee_byol.tfvars): WebLogic Enterprise Edition - BYOL
176+
- [mp_image_ee_ucm.tfvars](./terraform/images/mp_image_ee_ucm.tfvars): WebLogic Enterprise Edition - UCM
177+
- [mp_image_suite_byol.tfvars](./terraform/images/mp_image_suite_byol.tfvars): WebLogic Suite - BYOL
178+
- [mp_image_suite_ucm.tfvars](./terraform/images/mp_image_suite_ucm.tfvars): WebLogic Suite - UCM
179179
180180
To use one of the files above:
181-
- Copy the file from the `terraform/inputs` directory, to the `terraform` directory
181+
- Copy the file from the `terraform/images` directory, to the `terraform` directory
182182
- Rename the file from `terraform/mp_image_<edition>_<license>.tfvars` to `terraform/mp_image_<edition>_<license>.auto.tfvars`
183183
184-
For example, if you want to create a WebLogic Enterprise Edition UCM stack, copy the file `terraform/inputs/mp_image_ee_ucm.tfvars`
184+
For example, if you want to create a WebLogic Enterprise Edition UCM stack, copy the file `terraform/images/mp_image_ee_ucm.tfvars`
185185
to `terraform/mp_image_ee_ucm.auto.tfvars`
186186
187187
Next, you need to configure [variables](./VARIABLES.md) to drive the stack creation. This can be done by creating a
188-
`terraform.tfvars` file in the `terraform` directory, using as a base the tfvars files from one of the [solutions](./solutions).
188+
`terraform.tfvars` file in the `terraform` directory, using variables copied from the tfvars files from one of the [solutions](./solutions)
189+
into the `terraform.tfvars` file.
189190
190191
Make sure the plan looks good. Once you created `terraform.tfvars` in the `terraform` directory, just run:
191192
@@ -195,7 +196,7 @@ terraform plan
195196
196197
### Deploy
197198
198-
If that's good, you can go ahead and apply to deploy the stack:
199+
If terraform plan is successful, you can run terraform apply to deploy the stack:
199200
200201
```bash
201202
terraform apply
@@ -229,7 +230,7 @@ You'll need to enter yes when prompted.
229230
## Create Stack Using OCI Resource Manager
230231
231232
Oracle Cloud Infrastructure [Resource Manager (ORM)][orm] allows you to manage your Terraform configurations and state.
232-
To simplify getting started, the Terraform zip files for use with ORM are created as part of each [release](https://github.com/oracle-quickstart/weblogic-server-for-oci/releases).
233+
To simplify getting started, the Terraform zip files for use with ORM are created as part of each [release](https://github.com/oracle-quickstart/oci-weblogic-server/releases).
233234
234235
If you want to build the zip file to create an ORM stack, you need the following software:
235236
@@ -294,7 +295,7 @@ cd builds
294295
The zip files are generated in the `builds/binaries` directory.
295296
296297
Follow [these steps](https://docs.oracle.com/en-us/iaas/Content/ResourceManager/Tasks/create-stack-local.htm) to create
297-
a ORM stack, using either a zip file from one of the [releases](https://github.com/oracle-quickstart/weblogic-server-for-oci/releases),
298+
a ORM stack, using either a zip file from one of the [releases](https://github.com/oracle-quickstart/oci-weblogic-server/releases),
298299
or a zip file generated manually with the `build_mp_bundles.sh` script.
299300
300301
### Deploy the stack
@@ -316,12 +317,35 @@ steps to perform before running a `destroy` job.
316317
When you no longer need the deployment, you can run a
317318
`destroy` [job](https://docs.oracle.com/en-us/iaas/Content/ResourceManager/Tasks/create-job-destroy.htm) to destroy the stack.
318319
319-
# Troubleshoot
320+
## Troubleshoot
320321
321322
Refer to [documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/troubleshoot-oracle-weblogic-cloud.html)
322323
to identify common problems and learn how to diagnose and solve them.
323324
325+
## License
326+
327+
The OCI Terraform stack for WebLogic Server is licensed under the Universal Permissive License 1.0.
328+
See [LICENSE](./LICENSE) for more details.
329+
330+
The OCI Terraform stack for WebLogic Server does not include entitlement to Oracle WebLogic Server. The entitlement of
331+
Oracle WebLogic Server within the OCI Terraform stack for WebLogic Server can be obtained by using the Oracle WebLogic
332+
Server for OCI images or by using a valid WebLogic Server license with the stack.
333+
334+
### Universal Credits Model (UCM)
335+
The Oracle WebLogic Server for OCI images that include entitlement of Oracle WebLogic Server can be found here:
336+
- Oracle WebLogic Server Enterprise Edition UCM image: https://cloudmarketplace.oracle.com/marketplace/en_US/listing/70276523
337+
- Oracle WebLogic Suite UCM image: https://cloudmarketplace.oracle.com/marketplace/en_US/listing/70277452
338+
339+
When using the Oracle WebLogic Server Enterprise Edition UCM image, the WebLogic for OCI license in governed by the
340+
following terms: https://cloudmarketplace.oracle.com/marketplace/content?contentId=70262301&render=inline
341+
342+
When using the Oracle WebLogic Suite UCM image, the WebLogic for OCI license in governed by the following terms:
343+
https://cloudmarketplace.oracle.com/marketplace/content?contentId=70262277&render=inline
344+
345+
### Bring Your Own License (BYOL)
324346
347+
When deploying using BYOL, the WebLogic for OCI license is governed by the following Licensing terms:
348+
https://cloudmarketplace.oracle.com/marketplace/content?contentId=18088784&render=inline
325349
326350
[wlsoci]: https://docs.oracle.com/en/cloud/paas/weblogic-cloud/index.html
327351
[oci]: https://cloud.oracle.com/cloud-infrastructure

builds/build_cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Copyright (c) 2022, 2023, Oracle and/or its affiliates.
3+
# Copyright (c) 2023, Oracle and/or its affiliates.
44
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
55

66
############################################################

builds/build_mp_bundles.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Copyright (c) 2022, 2023, Oracle and/or its affiliates.
3+
# Copyright (c) 2023, Oracle and/or its affiliates.
44
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
55

66
############################################################

builds/build_orm_dev.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2022, Oracle and/or its affiliates.
2-
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
3-
41
#!/usr/bin/env bash
52

3+
# Copyright (c) 2023, Oracle and/or its affiliates.
4+
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
5+
66
#######################################################################################################
77
# Build the Oracle Resource Manager (ORM) bundles for developers to test new features or bug fixes #
88
#######################################################################################################

solutions/common/tenancy.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022, Oracle and/or its affiliates.
1+
# Copyright (c) 2023, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
user_id = "ocid1.user.xxxxxxxxxxxxxx"

0 commit comments

Comments
 (0)