About Creating a Domain

Learn about the options you have when creating a domain with Oracle WebLogic Server for OKE.

You have several options to choose from when you create a domain:

  • Domain Type

    A basic domain does not require an existing database. See Create a Stack.

    A JRF-enabled domain includes the Java Required Files (JRF) components and requires access to an existing database in Oracle Autonomous Database or Oracle Cloud Infrastructure Database (DB System). If using a DB System database, note that the DB System and the Kubernetes cluster must be in the same Virtual Cloud Network (VCN). See Create a Database and Create a JRF-Enabled Domain.

  • Virtual Cloud Network (VCN)

    Oracle WebLogic Server for OKE can create a VCN for you when you create a domain, or you can specify a VCN that you have already created.

    If you let Oracle WebLogic Server for OKE create a new VCN, you must specify a contiguous CIDR block of your choice when you create the domain.

    If you use an existing VCN, you can let Oracle WebLogic Server for OKE create the subnets for you, or you can specify subnets that you have already created.

  • Subnets

    Oracle WebLogic Server for OKE can create regional public and private subnets for the domain resources, or you can specify subnets that you have already created.

    If you let Oracle WebLogic Server for OKE create new subnets, you must specify a contiguous CIDR block of your choice for each subnet when you create the domain.

    If using existing subnets, you can specify either regional or availability domain-specific subnets that are scoped to one availability domain in the region.

  • Network Access

    Oracle WebLogic Server for OKE creates private subnets for the Kubernetes cluster, administration compute instance, and the file system and mount target, and creates public subnets for the bastion instance and the WebLogic cluster load balancer. If using existing subnets, we recommend that you use the same architecture.

  • Load Balancers

    When you create a domain, Oracle WebLogic Server for OKE creates a private load balancer to access administration consoles, and a public load balancer to distribute application traffic to the WebLogic cluster.

    The public load balancer consists of primary and standby nodes but it is accessible from a single IP address. If the primary node fails, traffic is automatically routed to the standby node. The public load balancer is configured for SSL connections (the HTTPS protocol) that terminate at the load balancer.

    The load balancers are assigned to a public subnet, for which you must specify a CIDR block if you let Oracle WebLogic Server for OKE create new subnets during stack provisioning. You must also specify shapes for the private and public load balancers.

    Note:

    By default, the reserved public IP address that you specify as the loadBalancerIP property of the LoadBalancer service in the manifest file is expected to be a resource in the same compartment as the cluster. If you want to specify a reserved public IP address in a different compartment, add the following policy to the tenancy:
    Allow any-user to read public-ips in tenancy where request.principal.type = 'cluster'
    Allow any-user to manage floating-ips in tenancy where request.principal.type = 'cluster'

    See Specifying Load Balancer Reserved Public IP Addresses.