Perform Oracle Cloud Infrastructure Prerequisites

Before you create an WebLogic Server domain with Oracle WebLogic Server for OCI, you must create the required infrastructure and database resources.

  1. Create the following Oracle Cloud Infrastructure resources, if they don't already exist:
    • A compartment
    • A virtual cloud network (VCN) and at least one subnet. See Create a Virtual Cloud Network.

      Note:

      Oracle recommends to create Oracle WebLogic Server for OCI in private subnets. However, Oracle Java Cloud Service does reveal Admin console to the public internet, which is not a best practice. If you want to continue and use public subnets or reveal Admin console to the public internet you can create a cloud network as specificed. See Create a Virtual Cloud Network.
    • A vault and encryption key

      Note:

      Before you provision an instance, you can estimate the cost of the resources and services to use in your instance. See Oracle Cloud Cost Estimator.
  2. Create a database in Oracle Cloud Infrastructure Database, if one doesn't already exist. The database must allow the target domain to access the database listen port (1521 by default). See Create a Database.

    Oracle WebLogic Server for OCI will provision the Java Required Files (JRF) schema to this database.

    Note:

    Do not use Oracle Java Cloud Service database schema
  3. If your source instance uses Oracle Identity Cloud Service for authentication, then create a new confidential application in Oracle Identity Cloud Service for the target domain. See Create a Confidential Application.

    Identify the client ID and secret of the confidential application.

  4. Use Oracle Cloud Infrastructure Vault to create secrets for the passwords that you need for the target domain.
    • WebLogic Server administrator password.

      You can use the WebLogic Server administrator password of the existing Oracle Java Cloud Service instance.

    • Database administrator password for the database you created in step 2
    • Client secret, if using Oracle Identity Cloud Service for the Oracle Identity Cloud Service confidential application you created in step 3

    See Create Secrets for Passwords.