Oracle by Example brandingCreating an Oracle Java Cloud Service Instance with Identity Cloud Service

section 0Before You Begin

This 15-minute tutorial shows you how to provision an Oracle Java Cloud Service instance and WebLogic Server domain that use Oracle Identity Cloud Service for authentication.

Background

By default, the WebLogic Server domain in a Java Cloud Service instance authenticates administrators and application users against WebLogic's embedded LDAP server. If your cloud account includes Identity Cloud Service, you can create a service instance that also uses Identity Cloud Service for authentication. This configuration results in a new security application in Identity Cloud Service that contains predefined roles related to WebLogic Server administration. The cloud user that creates the service instance is automatically granted WebLogic Server administration rights.

What Do You Need?


section 1Create a Service Instance

  1. Sign in to Oracle Cloud as a user with the Java Administrator role.
  2. From the Oracle Cloud Infrastructure Console, click the Navigation menu Dashboard Menu Icon 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 Dashboard Menu Icon, and then select Java.

  3. 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.
  4. Click Create Instance.
  5. Enter a unique Instance Name for your service instance. This tutorial uses the name MyJCS.
  6. For Notification Email, enter your email address.
  7. Select the Region where your database is located. This tutorial uses an Oracle Cloud Infrastructure region.
  8. Accept the default values for the remaining fields on the Instance page, and then click Next.
  9. Click Advanced.
  10. Select the checkbox Enable Access to Administration Consoles.
  11. Select the checkbox Enable Authentication Using Oracle Identity Cloud Service.
  12. Click Edit next to the SSH Public Key field.
  13. Select Create a New Key, and then click Enter.
    Create key radio button
    Description of the illustration create_key.png
  14. Click Download to save the file sshkeybundle.zip to your local machine. Then click Done.

    Tip: You require the downloaded key file if you want to access the nodes in this service instance via SSH.

  15. Under WebLogic Access, enter a Password for the default WebLogic Server domain administrator, weblogic.
  16. For Load Balancer, select Oracle-Managed Load Balancer.

    This step is not required if you selected an Oracle Cloud Infrastructure Classic region.

  17. Complete the Database Configuration section:
    Field Value
    Database Type Select the cloud service that was used to create the database.
    Compartment Name Select the compartment in which the database was created (not applicable to Oracle Database Cloud Service).
    Database Instance Select the database.
    PDB Name If you do not want to use the default Pluggable Database (PDB), enter a different value (not applicable to Oracle Autonomous Transaction Processing).
    Administrator Username Enter a database user with system privileges, so that Oracle Java Cloud Service can create the required schemas. For example, SYS.
    Password Enter the database system password.
  18. Accept the default values for the remaining fields, and then click Next.
  19. Click Create.

section 2Access the WebLogic Console

  1. Monitor your email periodically, until you receive a confirmation that your service instance was created.
  2. Return to the Java Cloud Service console.
  3. From the Instances page, click Manage this instance Menu icon, and then select Open WebLogic Server Administration Console.
    Open WebLogic Server Console
    Description of the illustration open_weblogic_console.png
  4. Log into the WebLogic Server console as the default weblogic user.
  5. Log out of the WebLogic Server console.
  6. Log in again using the same Oracle Cloud credentials that you used to create the service instance (the Java Administrator).

next stepNext Tutorial

Creating a WebLogic Administrator with Oracle Identity Cloud Service


more informationWant to Learn More?