Before 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?
- Complete the tutorial Creating an Oracle Java Cloud Service Administrator
- Complete the tutorial Creating the Infrastructure Resources Required for Oracle Platform Services if you plan to create the instance in an Oracle Cloud Infrastructure region
- An existing database in Oracle Database Cloud Service, Oracle Cloud Infrastructure Database, or Oracle Autonomous Transaction Processing:
Creating a Customized Database Deployment in Oracle Database Cloud Service
Managing Bare Metal and Virtual Machine DB Systems in Oracle Cloud Infrastructure Database
Create a Service Instance
- Sign in to Oracle Cloud as a user with the Java Administrator role.
- 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.
- Click Create Instance.
- Enter a unique Instance Name for your service instance. This tutorial uses the name
MyJCS
. - For Notification Email, enter your email address.
- Select the Region where your database is located. This tutorial uses an Oracle Cloud Infrastructure region.
- Accept the default values for the remaining fields on the Instance page, and then click Next.
- Click Advanced.
- Select the checkbox Enable Access to Administration Consoles.
- Select the checkbox Enable Authentication Using Oracle Identity Cloud Service.
- Click Edit next to the SSH Public Key field.
- Select Create a New Key, and then click Enter.
Description of the illustration create_key.png - 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.
- Under WebLogic Access, enter a Password for the default WebLogic Server domain administrator,
weblogic
. - For Load Balancer, select Oracle-Managed Load Balancer.
This step is not required if you selected an Oracle Cloud Infrastructure Classic region.
- 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. - Accept the default values for the remaining fields, and then click Next.
- Click Create.
Access the WebLogic Console
- Monitor your email periodically, until you receive a confirmation that your service instance was created.
- Return to the Java Cloud Service console.
- From the Instances page, click Manage this instance
, and then select Open WebLogic Server Administration Console.
Description of the illustration open_weblogic_console.png - Log into the WebLogic Server console as the default
weblogic
user. - Log out of the WebLogic Server console.
- Log in again using the same Oracle Cloud credentials that you used to create the service instance (the Java Administrator).
Next Tutorial
Creating a WebLogic Administrator with Oracle Identity Cloud Service