Create a Basic Domain

Use Oracle WebLogic Cloud to create a stack that includes a basic Oracle WebLogic Server domain, one or more WebLogic Server compute instances, network resources, and an optional load balancer.

Note:

Oracle WebLogic Cloud does not support the creation of a basic domain running WebLogic Server 11g. See Create a JRF-Enabled Domain.

Launch a new stack from Marketplace. For a basic domain, you specify a public subnet for WebLogic Server (either a regional or availability domain-specific), and you do not specify a database.

Before you create a domain, you must first perform the following tasks:

Tutorial iconTutorial

Launch a Stack

Sign in to Marketplace and specify initial stack information.

  1. Sign in to the Oracle Cloud Infrastructure Console.
  2. Click the navigation menu Navigation Menu icon and select Marketplace.
  3. Select an Oracle WebLogic Cloud application for the Oracle WebLogic Server edition that you want to provision.
    • WebLogic Cloud Enterprise Edition

    • WebLogic Cloud Suite

  4. Select a version of WLS 12.2.1.3.<patch_number>.
    If there's more than one 12c patch, the latest patch is the default.
  5. Select the compartment in which to create the stack.
    By default the stack compartment is used to contain the domain compute instances and network resources. If later on you specify a network compartment on the Configure Variables page of the Create Stack wizard, then only the compute instances are created in the stack compartment that you select here.
  6. Select the Terms and Restrictions check box, and then click Launch Stack.
    The Create Stack wizard is displayed.

Specify Stack Information

Specify the name, description, and tags for the stack.

  1. On the Stack Information page of the Create Stack wizard, enter a name for your stack.
  2. Enter a description for the stack (optional).
  3. Specify one or more tags for your stack (optional).
  4. Click Next.
    The Configure Variables page opens.

Configure WebLogic Instance Parameters

Specify the parameters needed to configure the WebLogic instance domain.

  1. In the WebLogic Server Instance section, enter the resource name prefix.
    The maximum character length is 8.
    This prefix is used by all the created resources.
  2. Select the WebLogic Server shape for the compute instances.
    Only the following shapes are supported: VM.Standard2.x, VM.Standard.E2.x, BM.Standard2.x, BM.Standard.E2.x
  3. Enter the SSH public key.
  4. Select the availability domain where you want to create the domain.
  5. Select the number of managed servers you want to create. You can specify up to 8.
  6. Enter a user name for the WebLogic Server administrator.
  7. Enter an encrypted password for the WebLogic Server administrator. The password must be encrypted. See Create an Encryption Key.

Configure Advanced Parameters for a Domain

You can optionally specify additional parameters by selecting WLS Instance Advanced Configuration on the Configure Variables page of the Create Stack wizard.

Select WLS Instance Advanced Configuration if you want to change the default domain name, change the default port numbers, or remove the sample application.

Configure Network Parameters

Define the Virtual Cloud Network (VCN) and subnet configuration for the basic domain. For this basic domain, the domain instance attaches to a public subnet.

  1. In the WebLogic Server Network section of the Configure Variables page, select the compartment in which to create the network resources for this domain. The Network Compartment field is optional, but take note of the following:
    • If you don't specify a network compartment, then all the network resources and the domain compute instances are created in the stack compartment that you selected earlier upon launching the stack.
    • If you're using an existing VCN and a single compartment for all stack resources, you must select a network compartment. Select the same stack compartment that you selected earlier upon launching the stack, even if you want to create all resource types in one compartment.
  2. Select a Virtual Cloud Network (VCN) strategy:
    • Select Use Existing VCN, and then select the name of the existing VCN.
    • Select Create New VCN, and then enter a name and CIDR for the new VCN.
  3. Select one of the following subnet strategies:
    • Select Use Existing Subnet.
    • Select Create New Subnet.

      Note:

      If you're creating a new VCN, you can only create a new subnet.
  4. Keep the default Use Public Subnet selection.
  5. Select the subnet span:
    • Regional Subnet. The subnet has resources in a region's multiple availability domains, and is not specific to any one availability domain.
    • AD Specific Subnet. The subnet is defined in one particular availability domain.
  6. For the WebLogic Server subnet, specify one of the following:
    • If you want to use an existing regional subnet, then choose the name of an existing regional subnet from the list of regional and availability domain-specific subnets.
    • If you want to use an existing availability domain-specific subnet, choose the name of an existing availability domain-specific subnet from the list of regional and availability domain-specific subnets.
    • If you are creating a new regional or availability domain-specific subnet, specify a CIDR for the new subnet.

Configure a Load Balancer

You have the option to create a load balancer to distribute application traffic to the WebLogic Managed Servers.

  1. Select Provision Load Balancer (optional) and provide the following information:
    • If you specify an existing regional subnet as the WebLogic Server subnet, select an existing regional subnet from the list of regional and availability domain-specific subnets. A load balancer can have only one regional subnet shared between both nodes.
    • If you are creating a regional subnet as the WebLogic Server subnet, specify a CIDR for the new load balancer subnet.
    • If you are creating an availability domain-specific subnet as the WebLogic Server subnet, choose an availability domain for the load balancer's first node, and CIDR for the new subnet, Load Balancer Subnet CIDR. Then choose an availability domain for the load balancer's second node, and CIDR for the new subnet, Load Balancer Subnet 2 CIDR.
    • Select a load balancer shape. The default is 400 Mbps.

Configure Database Parameters

You can optionally configure a database for a WebLogic Domain.

In the Database section of the Configure Variables page, for Database Strategy, select No Database if you are creating a basic domain.

To create a domain that uses an existing database, see Create a JRF-Enabled Domain. All Oracle WebLogic Server 11g domains include the Java Required Files (JRF) components and require a database.

Specify the Key Management Service Configuration

Specify information that enables Oracle WebLogic Cloud to decrypt the encrypted password for your domain.

  1. In the Key Management Service Key ID field of the Key Management Service Configuration section of the Configure Variables page, enter the OCID of your encryption key.
  2. In the Key Management Service Endpoint field, enter the endpoint URL for the vault that contains your encryption key.
  3. At the bottom of the Configure Variables page, click Next.
You are now ready to create the stack.

Create the Domain Stack

After you have specified the WebLogic instance variables, finish creating the domain stack.

On the Review page of the Create Stack wizard, review the information you have provided, and then click Create.

The Job Details page in Resource Manager is displayed. Periodically monitor the progress of the Apply job until it is finished. If an email address is associated with your user profile, you will receive an email notification.

Note:

If you run an Apply job on an existing stack that you created with Oracle WebLogic Cloud, all resources in the stack will be deleted and recreated.

Use Your New Domain

Access and manage your new domain after creating a stack with Oracle WebLogic Cloud.

Typical tasks that you might perform after creating a domain: