Creating
a Custom Oracle Java Cloud Service Instance on Oracle Cloud
Infrastructure Classic
Before You Begin
This tutorial shows you how to create a custom instance in
Oracle Java Cloud Service on Oracle Cloud Infrastructure Classic
and associate it with an existing Oracle Database Cloud Service
deployment. The custom instance you create will have a 2-node
WebLogic Server cluster on Oracle Cloud Infrastructure Classic
VMs, Oracle Traffic Director as a load balancer, with backup to
object storage enabled.
This tutorial takes approximately 15 minutes to complete,
excluding the wait time needed for provisioning to complete.
Background
With Oracle Java Cloud Service, you can quickly create and
manage a Java Platform, Enterprise Edition (Java EE) application
environment in the cloud, without installing and configuring any
software yourself. The environment is based on Oracle WebLogic
Server, Oracle Coherence and Oracle Traffic Director, and is
automatically integrated with Oracle Database Cloud Service.
From the Oracle Cloud Infrastructure Console, click the Navigation
menu
at the top left corner of the page, expand Platform
Services, and then select Java.
Note: On some older Oracle Cloud accounts, you use the
Oracle Cloud Infrastructure Classic Console. Click the Navigation
menu,
and then select Java.
If this is the first time you have accessed Java Cloud
Service then you may be presented with a Welcome screen. If
this happens then you can continue to the console by clicking
Go to Console.
In the WebLogic Access section, enter suitable values for the Local
Administrative User Name and Password,
and then reenter the password in the Confirm Password
field.
For Provision Data Grid Cluster in the
Coherence Data Tier section, select Yes.
Accept the detault values in the remaining fields.
Enter values for the remaining fields in this section. If
necessary, contact your database administrator:
Field
Value
PDB Name
If you do not want to use the default Pluggable
Database (PDB) in this deployment, enter a different
value
Administrator Username
Enter a database user with system privileges, so
that Java Cloud Service can create the required
schemas.
Password
Enter the password for this database user.
Add Application Schema
Accept No Application Schema added.
In the Load Balancer section, for the Provision
Local Load Balancer field, select Yes.
Accept the default values for the remaining Load Balancer
fields:
Field
Value
Compute Shape
OC3 (1 OCPU, 7.5GB RAM)
Add Another Active OTD Node
Leave check box unchecked.
Load Balancer Policy
Least Connection Count
Configure
Backups
Set the Backup Destination field to Both
Cloud Storage and Local Storage.
For Cloud Storage Container, delete the
name of the default container and enter the URL STORAGE_REST_ENDPOINT/MyJCS-Backup.
Use the Oracle Storage Cloud REST endpoint that you identified
before beginning this tutorial. For example: https://foo.storage.oraclecloud.com/v1/MyService-bar/MyJCS-Backup
Enter the user name and password of an Oracle Cloud user
with the Oracle Cloud Infrastructure Object Storage Container
Administrator role in the Username and Password
fields, respectively.
The user name and password you used to log into Oracle Cloud
will normally have the correct permissions required to create
the container.
Select the Create Cloud Storage Container
checkbox.
Complete
the Service Creation
Click Next.
On the Confirmation page, review your selections and click Create.
When you return to the Oracle Java Cloud Service console, you
will see your new service instance listed. It will have a
status of "Creating service".
Description of
the illustration jcs_creating_service.png