Before You Begin
This 30-minute tutorial shows you how to create an Oracle WebLogic Server instance for Oracle Cloud Infrastructure in a private subnet.
You can use Oracle WebLogic Server for Oracle Cloud Infrastructure to create an instance in a private subnet. By default subnets are public. Compute instances assigned to private subnet cannot be directly accessed from outside of Oracle Cloud. You have to configure a bastion compute instance on a public subnet to provide access to the WebLogic Server compute instances on a private subnet.
This tutorial uses the Oracle WebLogic Suite BYOL application along with an existing VCN and an existing subnet to provision a basic WebLogic Server domain that does not require a database. You may use the same procedure with other Oracle WebLogic Server BYOL and UCM applications.
What Do You Need?
- An Oracle Cloud Infrastructure cloud tenant.
- An Oracle Cloud Infrastructure user name and password.
- An understanding of all the prerequisite tasks required to
create a domain with Oracle WebLogic Server for Oracle Cloud
You should also complete all the prerequisite tasks before you proceed with this tutorial. See Before You Begin with Oracle WebLogic Server for Oracle Cloud Infrastructure.
Launch a Stack
- Sign in to the Oracle Cloud Infrastructure Console.
- Click the navigation menu , under the Solutions and Platform group, select Marketplace, and then select Applications.
- Locate and select the Oracle WebLogic Suite BYOL
The following details of Oracle WebLogic Suite BYOL are displayed:
- Application Type -
- The latest version of the application.
- The type of billing it uses -
BYOL(Bring Your Own License).
The compute instances are created in the stack compartment that you select here.
The Create Stack page opens.
Create the Stack
- On the Stack Information page of the Create Stack wizard, the name of the stack is displayed (application name appended with the time stamp).
- Enter a description for the stack. However, this information
The following additional details are also displayed:
- Create in Compartment - The name of the compartment you selected earlier, upon launching the stack.
- Terraform Version - 0.12x
- Click Next.
The Configure Variables page opens.
- For Resource Name Prefix, type
You can use a maximum of 16 characters to define the prefix. This prefix will be used by all the resources that are created when you create the stack.
- For WebLogic Server Shape, select
VM.Standard2.1. This shape will be used by all compute instances.
- For SSH Public Key, upload the SSH public
key file or paste the contents of the file.
After creating the stack, you can connect to the WebLogic Server compute instances by using an SSH client and the corresponding private key.
- For WebLogic Server Node Count, select
This value indicates the number of Managed servers you want to create.
- For WebLogic Server Admin User Name,
weblogicis the default name.
Use the default name.
- For Secrets OCID for WebLogic Server Admin Password,
enter the Oracle Cloud Infrastructure Domain (OCID) of the
secret. This secret stores the password for the WebLogic
Note: Creating the secrets for passwords is one of the prerequisite tasks you should complete before starting this tutorial.
- For Network Compartment, retain the stack
compartment that you selected earlier, upon launching the
All the network resources and the domain compute instances will be created in this stack compartment.
- For Virtual Cloud Network Strategy, retain
the default value of
Use Existing VCN.
- For Existing Network, select the name of an existing VCN.
- For Subnet Strategy, retain the default
Use Existing Subnet.
- For Subnet Compartment, select the compartment to use for this existing subnet.
- For Subnet Type, select
Use Private Subnetand Regional Subnet for the subnet span.
- For Existing Subnet for WebLogic Server, select the name of an existing regional subnet from the list of regional and availability domain-specific subnets. See Create a Virtual Cloud Network.
- By default, Provision Bastion node on Public Subnet
is checked when you select
Use Private Subnetas the Subnet Type. Keep the default value.
Provision a bastion compute instance on a public subnet to provide access to the WebLogic Server compute instances that you create on a private subnet.
- For the Existing Subnet for Bastion Host , select the name of an existing regional subnet from the list of regional and availability domain-specific subnets.
- For Bastion Host Shape, select
- Select the Provision Load Balancer check box to distribute application traffic to the WebLogic Managed servers.
- For Existing Subnet for Load Balancer, select the name of an existing regional subnet from the list of regional and availability domain-specific subnets.
- For Load Balancer Flexible Shape, select minimum bandwidth size as
10 Mbpsand maximum as
- Ensure that the OCI Policies check box is selected.
- Click Next to verify the details you've entered.
- On the Review page of the wizard, review the information
you've provided, and then click Create.
The Job Details page of the stack in Resource Manager opens. The job name has the
- Monitor the progress of the job periodically until it is
If an email address is associated with your user profile, you will receive an email notification.
You can now access and manage your new domain.