Summary
Autoscaling can be done based on either a metric (usually CPU usage or memory usage), or a schedule.
Reference
Lab for Capacity Reservation
This topic is covered by Lab 8-1: Compute: Create a Capacity Reservation and Launch Instances:
Overview
The capacity reservations allow you to reserve compute capacity in advance and use this capacity when you create instances against the reservation. There is no minimum time or size commitment. You can create, modify, and terminate your capacity reservation at any time.
In this lab, you will:
- Create a Virtual Cloud Network and a subnet
- Create a capacity reservation
- Add a capacity configuration
- Create instances in a capacity reservation
- Move an instance out of a capacity reservation
- Add an instance to a capacity reservation
Lab for Metric-Based Autoscaling
This topic is covered by Lab 9-1: Compute: Configure Metric-Based Autoscaling:
Overview
Autoscaling lets you automatically adjust the number or the lifecycle state of compute instances in an instance pool. This helps you provide consistent performance for your end users during periods of high demand, and reduce your costs during periods of low demand.
In this lab, you will:
- Create a Virtual Cloud Network and a subnet
- Create a load balancer
- Create a compute instance and a custom image
- Create an instance configuration
- Create an instance pool
- Create a metric-based autoscaling configuration
- Test autoscaling