Before you create an Oracle Java Cloud Service instance, you may need to satisfy one or more prerequisites depending on your requirements.
Prerequisites for Instances in Oracle Cloud Infrastructure
Oracle Java Cloud Service instances in Oracle Cloud Infrastructure require certain networking and storage resources that you must create in Oracle Cloud Infrastructure.
To learn about these resources, see Prerequisites for Oracle Platform Services in the Oracle Cloud Infrastructure documentation.
For step-by-step instructions to create these resources, see Creating the Infrastructure Resources Required for Oracle Platform Services.
Create an SSH Key Pair
In order to use Secure Shell (SSH) to access the VMs that make up your Oracle Java Cloud Service instance, you need a public/private key pair.
Choose from one of these options:
Let Oracle Java Cloud Service generate the keys for you as part of the process of creating a new service instance. You will be prompted to download the generated public key.
Generate your own keys prior to creating a service instance, and then upload your public key when you create a service instance. See Generate a Key Pair with OpenSSH or Generate a Key Pair with PuTTY.
Create an Object Storage Container
If you enable backups on an Oracle Java Cloud Service instance, backups of the service instance are stored in an object storage container.
The steps for creating an object storage container for an Oracle Java Cloud Service instance vary depending on whether you create the instance in Oracle Cloud Infrastructure Classic or Oracle Cloud Infrastructure.
Oracle Cloud Infrastructure
You must create a storage bucket before you attempt to provision an Oracle Java Cloud Service instance. See Prerequisites for PaaS Services on Oracle Cloud Infrastructure in the Oracle Cloud Infrastructure documentation.
Oracle Cloud Infrastructure Classic
When you create an Oracle Java Cloud Service instance, you are prompted to supply the name of a storage container along with the credentials for an Oracle Cloud user who has read/write access to the container. You can either provide an existing storage container that you previously created, or Oracle Java Cloud Service can create the specified storage container for you.
Before you can create containers and objects, you must have an active subscription to Oracle Cloud Infrastructure Object Storage Classic. Be sure you also select a Replication Policy before you create your first storage container. See About Replication Policy in Using Oracle Cloud Infrastructure Object Storage Classic.
To create a storage container, choose from one of these options:
Use Oracle Java Cloud Service to create the container. See Specify the Service Instance Details and refer to the Create Storage Container checkbox.
Use Oracle Cloud Infrastructure Object Storage Classic to create the container. See Creating Containers in Using Oracle Cloud Infrastructure Object Storage Classic, or the Creating Oracle Storage Cloud Service Containers Using the REST API tutorial.
A storage container is not required if you are creating Oracle Java Cloud Service—Virtual Image instances and using the Virtual Image service level of Oracle Database Cloud Service only.
Do not use a storage container that you use for backups of Oracle Java Cloud Service instances for any other purpose. For example, do not use it to back up Oracle Database Cloud Service database deployments. Using the container for multiple purposes can result in billing errors.
Select an IP Network for a Service Instance with a Managed Load Balancer
This topic does not apply to Oracle Cloud Infrastructure. Identify the Cloud Infrastructure Used by a Service Instance.
This topic does not apply to Oracle Cloud at Customer.
Enabling authentication with Oracle Identity Cloud Service when you provision a Oracle Java Cloud Service instance automatically configures an instance of Oracle Cloud Infrastructure Load Balancing Classic, a managed load balancer. In this case, you must first attach an internet-facing load balancer to the IP network, if one is not already attached. In order for traffic from outside the Cloud to reach the managed load manager, this traffic must first pass through the internet-facing load balancer.
You must create a public or private load balancer on the IP network before you provision an Oracle Java Cloud Service with a public or private load balancer, respectively.
If the IP network selected for the service instance doesn’t have a load balancer, but is connected to an IP Network Exchange that has another IP network that does have a load balancer, then that load balancer will be used.
The Create New Instance wizard allows you to select an IP network when an internet-facing load balancer does not exist on the IP network, but an error occurs during the provisioning process. Create the internet-facing load balancer before you attempt to provision the Oracle Java Cloud Service instance again.
See Creating a Load Balancer in Using Oracle Cloud Infrastructure Load Balancing Classic.