Oracle by Example brandingCreating a Custom Oracle Java Cloud Service Instance

section 0Before You Begin

This tutorial shows you how to create a custom instance in Oracle Java Cloud Service 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.

November 2017, Release 17.4


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.

What Do You Need?

section 1Launch the Service Creation Wizard

  1. Sign in to Oracle My Services application at
  2. On the My Services Dashboard, locate the Storage tile and click its name.
    Storage Classic tile
    Description of the illustration dashboard_storage.png
    If this tile is not visible, click Customize Dashboard.
  3. Record the value of the REST Endpoint. For example, You will need this REST endpoint later when you configure backups.
  4. Click the Dashboard button at the top of the page.
  5. Locate the Java tile. Click the Action menu Action Menu Icon, and then select Open Service Console.
  6. 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.
  7. Click Create Service and then select the Java Cloud Service option.
    Create a JCS instance
    Description of the illustration jcs_create.png

section 2Configure Basic Service Information

  1. Enter a unique Service Name for your Java Cloud Service instance. This tutorial uses the name MyJCS.
  2. If it is not configured by default, enter your email address in Notification Email.
  3. For Software Edition, select Enterprise Edition with Coherence.
  4. If the Region field is displayed, accept the default option No Preference.
  5. Accept the default values for the remaining fields on this page:
    Field Value
    Service Level Oracle Java Cloud Service
    Software Release Oracle WebLogic Server 12c (12.2.x)
    Metering Frequency Hourly
  6. Click Next.

section 3Configure Service Details

  1. Click the Advanced tab.
    Simple and Advanced tabs
    Description of the illustration simple_and_advanced_tabs.png
  2. Accept the default Compute Shape, OC3 (1 OCPU, 7.5GB RAM).
  3. Click Edit next to the SSH Public Key field.
  4. Select the radio button Create a New Key and then click Enter.
    Create key radio button
    Description of the illustration create_key.png
  5. Click Download to save the file to your local machine.
  6. Click Done.
  7. Select the Enable access to Administration Consoles checkbox.
    Enable access checkbox
    Description of the illustration enable_access.png
  8. Enter these values in the WebLogic Access section:
    Field Value
    Local Administrator Username weblogic
    Password Enter a suitable password, such as Welcome123#
    Confirm Password Enter the same password to confirm.
  9. For Provision Data Grid Cluster in the Coherence Data Tier section, select Yes.
  10. Accept the detault values in the remaining fields.
    Field Value
    Compute Shape OC3 - 1.0 OCPU, 7.5GB RAM
    Cluster Size 1
    Managed Servers Per Node 1

section 4Configure the Database and Load Balancer

  1. In the Database Configuration section, use the Database Instance Name field to select an existing Oracle Database Cloud Service deployment.
    Database Configuration section
    Description of the illustration select_dbcs.png
  2. 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. For example, SYS.
    Password Enter the password for this database user.
    Add Application Schema Accept No Application Schema added.
  3. In the Load Balancer section, for the Provision Local Load Balancer field, select Yes.
  4. 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

section 5Configure Backups

  1. Set the Backup Destination field to Both Cloud Storage and Local Storage.
  2. For Cloud Storage Container, enter the URL STORAGE_REST_ENDPOINT/MyJCS-Backup.
    Use the Oracle Storage Cloud REST endpoint that you identified earlier. For example:
  3. 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.
  4. Select the Create Cloud Storage Container checkbox.

section 6Complete the Service Creation

  1. Click Next.
  2. On the Confirmation page, review your selections and click Create.
    When you return to the Java Cloud Service console, you will see your new service instance listed. It will have a status of "Creating Service".
    Java Cloud Service instance in progress
    Description of the illustration jcs_creating_service.png
  3. Periodically refresh this page until the service instance creation is completed.
    Java Cloud Service instance is running
    Description of the illustration jcs_instance_created.png
    You will also receive an email notification when the instance is ready.
  4. Click the instance name, MyJCS, to view the Instance Overview page.

more informationWant to Learn More?