Enable Communication Between a Compute Instance and a Service Instance

Not Oracle Cloud Infrastructure This topic does not apply to Oracle Cloud Infrastructure. Identify the Cloud Infrastructure Used by a Service Instance.

The default access rules in an Oracle Java Cloud Service instance only permit communication between Managed Server nodes and the database, and between Managed Server nodes and the load balancer (if enabled). Use custom access rules to enable communication between an Oracle Cloud Infrastructure Compute Classic instance and your Managed Servers.

If you provisioned the service instance in an Oracle Cloud Infrastructure region, instead you must use the Oracle Cloud Infrastructure Console to create security lists instead of access rules. See Security Lists in the Oracle Cloud Infrastructure Services documentation.

If the compute instance is not on the shared network, and the compute instance and the Oracle Java Cloud Service instance were created on different IP networks, then you must also connect the two IP networks to the same IP network exchange.

  1. Access the Oracle Cloud Infrastructure Compute Classic console.
  2. From the Instances page, identify the IP address of the compute instance that will communicate with your Oracle Java Cloud Service instance.
    • If your Oracle Java Cloud Service instance was created with public IP addresses, then use the public IP address of the compute instance.

    • If your Oracle Java Cloud Service instance was created without public IP addresses, then use the private IP address of the compute instance.

    • If your compute instance and Oracle Java Cloud Service instance are using custom IP networks, then be sure to use the IP address for the appropriate network.

  3. Access the Oracle Java Cloud Service Console.
  4. Beside your service instance, click Manage this instance Menu icon, and then select Access Rules.
  5. On the Access Rules page, click Create Rule.
  6. Enter a Rule Name, such as compute1–to-myjcs1.
  7. For Source, select <custom>. Enter the IP address of the compute instance.

    Note:

    You can specify the IP addresses of multiple compute instances as a comma-separated list (203.0.113.13,203.0.113.14,203.0.113.15), or using CIDR format (203.0.113.1/24).
  8. For Destination, select WLS_MS
  9. For Destination Port(s), enter 8001.

    Note:

    If you configured your Managed Servers to listen on additional ports, you can specify them as a comma-separated list such as 8001,9001.
  10. Accept the default Protocol (TCP).
  11. Click Create.

To return to either the Instances page or the Overview page for the selected service instance, click the locator links at the top of the page.