top of page

Step By Step Auto scale ODI, Autonomous Database, Apex on OCI

To auto-scale Oracle Data Integrator (ODI), Oracle Application Express (APEX), and Autonomous Database on Oracle Cloud Infrastructure (OCI), you need to configure scaling policies and monitor resource usage. Here's a step-by-step guide for setting up auto-scaling and checking billing based on autoscaling:


Step 1: Auto-Scaling Autonomous Database


  1. Access OCI Console:

  1. Navigate to Autonomous Database:

  • Go to "Autonomous Database" under "Databases".

  1. Select Your Autonomous Database Instance:

  • Click on the instance you want to configure auto-scaling for.

  1. Enable Auto-Scaling:

  • In the "Database" details page, find the "Scaling" section.

  • Toggle the "Auto Scaling" option to enable it.

  • Save the changes.


Step 2: Auto-Scaling Oracle APEX


Oracle APEX runs on Autonomous Database, so enabling auto-scaling for the Autonomous Database instance will automatically scale resources for APEX as well. Follow the steps in Step 1 to enable auto-scaling for the Autonomous Database instance that hosts your APEX application.



Step 3: Auto-Scaling Oracle Data Integrator (ODI)



Auto-scaling for ODI on OCI is typically managed by configuring the underlying compute resources to scale based on demand. Here's how you can set it up:

  1. Access OCI Console:

  1. Navigate to Compute Instances:

  • Go to "Compute" and select "Instances".

  1. Select Your ODI Compute Instance:

  • Click on the compute instance running ODI.

  1. Configure Instance Pool for Auto-Scaling:

  • To auto-scale the compute instance, it's best to use an instance pool. Go to "Instance Pools" under "Compute".

  • Click "Create Instance Pool".

  • Provide necessary details like name, instance configuration, and initial size.

  1. Set Up Auto-Scaling Policy:

  • Under the instance pool details, find the "Auto-Scaling" section.

  • Click "Create Auto-Scaling Configuration".

  • Define the auto-scaling policy, specifying the minimum and maximum number of instances and the scaling rules (e.g., based on CPU utilization).


Step 4: Check Billing Based on Auto-Scaling



  1. Navigate to Billing and Cost Management:

  • In the OCI Console, go to the menu and select "Billing & Cost Management".

  1. View Cost Analysis:

  • Click on "Cost Analysis".

  • Use filters to view costs by service (e.g., Autonomous Database, Compute) and time period.

  1. Monitor Auto-Scaling Costs:

  • Look for the cost impact of auto-scaling by analyzing the resource usage patterns.

  • Use the "Service" filter to isolate costs associated with Autonomous Database, Compute instances, and other services that were scaled.

  1. Set Budgets and Alerts:

  • To manage and monitor costs effectively, set budgets and configure alerts.

  • In the "Budgets" section, click "Create Budget".

  • Define the budget amount and the services it applies to.

  • Set up alerts to notify you when the spending approaches or exceeds the budget.


Step 5: Monitor Auto-Scaling



  1. Monitor Autonomous Database Scaling:

  • In the Autonomous Database details page, check the "Service Console" for performance metrics.

  • Review the "Activity" and "Service Health" sections to see how the database scales in response to load.

  1. Monitor Compute Instance Pool Scaling:

  • In the instance pool details page, review the "Scaling Activity" to see when and why instances were added or removed.

  • Use OCI Monitoring to set up custom metrics and alarms to track resource utilization and scaling events.


Step 6: Adjust Scaling Policies as Needed


  1. Review Performance and Costs Regularly:

  • Regularly review the performance metrics and cost analysis to ensure that auto-scaling policies are effective and cost-efficient.

  1. Adjust Policies:

  • Based on the review, adjust the scaling policies to optimize performance and control costs.

  • Update the auto-scaling configuration to better align with the application's workload patterns.


By following these steps, you can effectively configure auto-scaling for Oracle Data Integrator, Oracle APEX, and Autonomous Database on OCI, and monitor the billing impact of these configurations.



12 views

Recent Posts

See All

Comments


AiTech

©2023 by AiTech

bottom of page