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.
- Launch a Stack
- Specify Stack Information
- Configure WebLogic Instance Parameters
- Configure Advanced Parameters for a Domain
- Configure Network Parameters
- Configure a Load Balancer
- Configure Database Parameters
- Specify the Key Management Service Configuration
- Create the Domain Stack
- Use Your New Domain
Launch a Stack
Sign in to Marketplace and specify initial stack information.
- Sign in to the Oracle Cloud Infrastructure Console.
- Click the navigation menu and select Marketplace.
- Select an Oracle WebLogic Cloud application for the Oracle WebLogic Server edition that you want to provision.
WebLogic Cloud Enterprise Edition
WebLogic Cloud Suite
- Select a version of WLS 184.108.40.206.<patch_number>.If there's more than one 12c patch, the latest patch is the default.
- 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.
- 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.
- On the Stack Information page of the Create Stack wizard, enter a name for your stack.
- Enter a description for the stack (optional).
- Specify one or more tags for your stack (optional).
- Click Next.The Configure Variables page opens.
Configure WebLogic Instance Parameters
Specify the parameters needed to configure the WebLogic instance domain.
- 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.
- 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
- Enter the SSH public key.
- Select the availability domain where you want to create the domain.
- Select the number of managed servers you want to create. You can specify up to
- Enter a user name for the WebLogic Server administrator.
- 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.
- 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.
- 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.
- 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.
- Keep the default Use Public Subnet selection.
- 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.
- 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.
- 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.
- 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.
- In the Key Management Service Endpoint field, enter the endpoint URL for the vault that contains your encryption key.
- At the bottom of the Configure Variables page, click Next.
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.
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.
- View and manage the cloud resources that were created to support your domain. See View the Cloud Resources for a Domain.
- Use the WebLogic Server administration console to configure your domain. Create data sources, JMS modules, Coherence clusters, and so on, or deploy applications. See Access the WebLogic Console.
- Access the sample application that's deployed to your cluster. See Access the Sample Application.
- Troubleshoot a problem with your new stack. See Stack Creation Failed.