In this Blog Post, we will cover about How to Create a custom service instance using Java Cloud Service – Virtual Image. It’s Developer level service and Supports Oracle Java Cloud Service instance creation and monitoring.
In my last blog post, I covered JCS Overview and Create JCS Instance with the Quick template for which you do not need to fulfill any prerequisites and quick way to create and JCS instance. But if you are working for a client or working in a production environment and they have a specific requirement for like Memory, Storage, Database then we use JCS – Virtual Image for creating an instance.
Prerequisite for Instance with JCS – Virtual Image
- Creating a Database using the Virtual image service level
- Add SSH Public key
- Creating an Object storage Container
- Set up database environment according to your database version
Creating a Database using the Virtual image service level
In this Blog we are using Oracle Database software releases Oracle Database 12c Release 2, make sure you do not use Oracle Database 18c as it is not supported by JCS
Note: In order to use a Oracle Database Cloud Service – Virtual Image database deployment when creating an Oracle Java Cloud Service – Virtual Image instance, you must set up the Oracle Database Cloud Service environment appropriately. Otherwise, Oracle Java Cloud Service instance provisioning fails.
Step 1: First choose the Database Software edition as the standard edition, it delivers unprecedented ease of use, power, and performance for workgroup, department-level, and Web applications. It includes all the facilities necessary to build business-critical applications.
Step 2: Create the Database type as a single instance, A single Oracle Database instance and database data store hosted on one compute node.
Step 3: Choose the computing power for the associated compute node or nodes from a list of supported OCPU (Oracle CPU) and processor RAM combinations.
For more details check the Pricing VM. Standard shapes in the Compute – Virtual Machine Instances table are available in Oracle Database Cloud Service.
Step 4: Choose the amount of usable data storage you want for your database.
Step 5: Choose Automatic Backup Configuration
Note: In order to get the SSH public Key Please click here
Create Oracle Cloud Database Service may take 40-45 minutes
Once creation completes, you will see Service Status changed from Creating Service to Ready. Don’t forget to stop Database Cloud Service at end of this document after using it else
you will dry up your 300 USD Credit in few days.
Adding an SSH Public Key
Add a new SSH public key to a service instance if the SSH private key that you use to access the service instance becomes lost or corrupted.
Creating 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
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.
Once you create the Database deployment, SSH Keys, Object Storage Container then set up the database environment according to your database release.
You can now successfully create an Oracle Java Cloud Service – Virtual Image instance using the Oracle Database Cloud Service – Virtual Image database deployment.
What is the Difference Between JCS V/S JCS – VM?
- JCS is Full Featured service though JCS – VM is simple, hosted Weblogic Instance, Oracle controlled, updated.
- JCS – VM service level does not support backup and restoration; patching; or scaling. You cannot provision a domain partition if you specify this service level.
- You cannot specify an application schema database if your software edition is Oracle Java Cloud Service—Virtual Image.
Oracle recommends using Oracle Java Cloud Service rather than Oracle Java Cloud Service—Virtual Image for better flexibility, control, and rapid availability of new features.
Future is Java Cloud Service – SaaS Extension, Designed for building extension to one of the Oracle Software as a Service Offering Like Oracle Sales Cloud, Oracle Service Cloud, Oracle Marketing Cloud and so on..
The full JCS offering seems the most logic one to use for full customizations.
This post is from our Oracle Java Cloud Service – Weblogic on Cloud, in which we cover AdminTool, JCS Instance, Configure & Deployment, Monitoring, Security, AppToCloud & Logt More.
- JCS Overview and Create Quick JCS Instance: Weblogic on Cloud Click Here
Next Task For You
Click on the image below to download your FREE Guide, 5 Java Cloud Serice Docs, Every Oracle DBA, Cloud DBA or Weblogic Administrator Must Read, & Learn More.