How-to guides
Users can analyze the configuration status and utilization metrics of resources in use on Samsung Cloud Platform through Resource Optimizer to review Rightsizing recommendations and identify idle resources.
Opt in
When the Resource Optimizer service is opted in, it begins the analysis for generating recommendations.
To opt in, follow these steps.
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Opt In button. 2. The Opt-in Settings popup opens.
- If the opt-in status is Inactive, the opt-in button is enabled.
- In the pop-up window, select Resource Optimizer service opt-in and then click the OK button.
- Click the Confirm button in the notification window. 4. The opt-in request is completed.
- After opt-in and analysis are complete, you can check the results via the notification in the upper-right corner of the screen.
- After opting in, it may take up to 24 hours to generate the initial data analysis and recommendations.
- Once the analysis results are generated, you can check the resource status and search for resources.
Category Detailed Description Rightsizing Status Displays the number of target resources for the Resource Optimizer service - Total: Displays the total number of target resources
- Optimized: Displays the number and percentage of optimized resources
- Not Optimized: Displays the number and percentage of resources that are not optimized
Idle Resource Status Displays the number of idle resources. Clicking the total count or the resource list navigates to the Idle Resources menu list. - Total: Displays the total number of idle resources.
- Virtual Server: Displays the number of Virtual Server resources.
- Block Storage: Displays the number of Block Storage resources.
- Database: Displays the number of Database resources.
Resource Search Enter a resource name to search. - Click a search result to navigate to the detailed recommendations page for that resource.
Table. Resource Optimizer service home widget items
- When you opt out, all recommendation and metric analysis data for the specified Account is deleted.
- Use the CLI to opt out.
- Recommendations are updated once daily (after midnight).
View the dashboard
You can view the overall optimization and idle status of all resources on the Resource Optimizer dashboard.
To check the dashboard, follow these steps.
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Dashboard menu. 2. Navigates to the Dashboard page.
- On the Dashboard page, review the resource optimization status analysis.
Category Detailed Description Advanced Search You can filter and search by region and tag key. Overall Resource Optimization Status Area Displays the number of target resources for the Resource Optimizer service - Total: Displays the total number of target resources
- Optimized: Displays the number and percentage of resources in the Optimized state
- Not Optimized: Displays the number and percentage of resources in the Not Optimized state
Areas by Resource Type Displays the total number of Virtual Server, Block Storage, and Database resources, as well as the count and percentage based on their optimization status. - Clicking a resource navigates to the recommendations list for that resource type, where you can view detailed information.
Idle Resource List Area Displays a list of idle resources. - You can view the resource type, resource name, resource ID, and idle duration.
- Clicking a resource navigates to the detailed recommendations page for that resource, where you can view detailed information.
Table. Dashboard details
Checking Rightsizing Recommendations
You can view a list of recommendations and detailed information for each resource based on the rightsizing status of the resources currently in use. The detail page consists of the Detail Information, Recommended Option Comparison, and Metric Analysis tabs.
To view the list and detailed information for each resource, follow these steps.
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Rightsizing > {Resource Name} Recommendations menu. 2. Navigates to the {Resource Name} Recommendations page.
- Virtual Server Recommendations: View the list of recommendations for Virtual Server resources.
- Block Storage Recommendations: View the list of recommendations for Block Storage resources
- Database Recommendations: View the list of recommendations for Database resources
- The top of the list page displays information about additional features.
Category Detailed Description Recommendation Creation Date Time when resource recommendations were generated Account name Opted-in user account - You can select from the opted-in accounts within the organization.
- Available for selection when the account is a Management Account or an account with delegated administrator permissions.
Search input field Enter a search term to search Advanced Search Filter and search by the desired item. - Basis for the result is available when Over-provisioned or Under-provisioned is selected for the analysis result.
Settings icon Configure the column items to display in the list Table. Additional features
- Click a resource in the list of recommendations for the selected resource to view its details. 3. Navigates to the {Resource Name} Recommendation Details page.
- The {Resource Name} Recommendations Details page displays the optimization status of the resource and consists of the Details, Recommended Options Comparison, and Metrics Analysis tabs.
- Click the Go to {resource name} resource details button to navigate to the details page for that resource.
Detailed Information
You can view the detailed information of the selected resource.
Virtual Server Recommendations Details
| Category | Detailed Description |
|---|---|
| Server name | Server name |
| Server ID | Server unique ID |
| Server Type | Display vCPU and memory information for the resource |
| Status | Display the Virtual Server status as the status value defined (mapped) in Resource Optimizer |
| Account name | Account name |
| Legion | Region information for the resource |
| Analysis Results | Optimization Status Indicators
|
| Basis for the Result | Basis for analysis results
|
| Idle | Indicates whether the resource is idle
|
| Recommendation Creation Date | Time when resource recommendations were generated |
| Recommendation Criteria (Lookback Period) | The lookback period based on the recommendation criteria applied to the resource |
| Recommendation Criteria (Usage Rate Settings) | Usage rate based on the recommendations applied to the resource |
| Connect Block Storage | List of SSD_Provisioned volumes connected to the specified Virtual Server |
The following table defines the status of VM instances in a Virtual Server as displayed in Resource Optimizer. By default, the status is displayed as Pending, Running, Stopping, or Stopped. If a resource is deleted after a recommendation is generated in Resource Optimizer, the status is displayed as Terminated.
| VM instance status of the Virtual Server | Definition | Resource Optimizer status |
|---|---|---|
| BUILD | The BUILD command has been dispatched | Pending |
| BUILDING | BUILD in progress | Pending |
| NETWORKING | Instance creation in progress | Pending |
| SCHEDULING | Instance creation in progress | Pending |
| BLOCK_DEVICE_MAPPING | Connecting Block Storage while creating an instance | Pending |
| SPAWNING | The instance creation process is in progress. | Pending |
| ACTIVE | Available | Running |
| POWERING_OFF | Status upon cancellation request | Stopping |
| DELETING | Instance deletion in progress | Pending |
| REBOOT_STARTED | Process in progress during REBOOT | Pending |
| ERROR | Error state | Pending |
| MIGRATING | The state in which an instance is being migrated to another host | Pending |
| REBOOT | The REBOOT command has been delivered. | Pending |
| REBOOTING | Restart in progress | Pending |
| REBUILD | The REBUILD command has been issued | Pending |
| REBUILDING | Status when a REBUILD request is made | Pending |
| REBUILD_SPAWNING | The REBUILD process is in progress | Pending |
| RESIZE | The RESIZE command has been delivered | Pending |
| RESIZING | RESIZE in progress | Pending |
| RESIZE_PREP | Status when requesting a server type change | Pending |
| RESIZE_MIGRATING | The instance is in the process of being migrated to another host while a resize operation is in progress. | Pending |
| RESIZE_MIGRATED | The instance has completed migration to another host while a RESIZE operation is in progress. | Pending |
| RESIZE_FINISH | RESIZE is complete | Pending |
| REVERT_RESIZE | For some reason, the server RESIZE or migration failed. The target server was cleaned up, and the original source server was restarted. | Pending |
| SHUTOFF | Status upon completion of powering off | Stopped |
| POWERING_ON | Status upon start request | Pending |
| VERIFY_RESIZE | After RESIZE_PREP is initiated in response to a server type modification request, the server type can be either confirmed or reverted. | Pending |
| RESIZE_REVERTING | Status when requesting a server type rollback | Pending |
| RESIZE_CONFIRMING | Checking the RESIZE request for the instance | Pending |
Block Storage Recommendations Details
| Category | Detailed Description |
|---|---|
| Volume Name | Block Storage volume name |
| Volume ID | Block Storage volume unique ID |
| Disk Type | Block Storage Performance (Hardware) Type |
| Type | Block Storage Role (Purpose) Type |
| Capacity | Block Storage Volume Capacity |
| Max IOPS | The Max IOPS (maximum input/output operations per second) value in the Rightsizing recommendation |
| Account name | Account name |
| Legion | Region information for the resource |
| Analysis Results | Optimization Status Indicators
|
| Idle | Indicates whether idle resources exist
|
| Lookback period | Lookback period applied to the resource |
| Recommendation Creation Date | Time when resource recommendations were generated |
| Connect to server | List of servers connected to the specified Block Storage |
Database Recommendations Details
| Category | Detailed Description |
|---|---|
| Server name | Server name |
| Server Type | Server unique ID |
| Cluster Name | Cluster name configured for the database servers |
| Engine | Database engine |
| Image version | Engine image and version information |
| Account name | Account name |
| Legion | Region information for the resource |
| Analysis Results | Optimization Status Indicators
|
| Basis for the Result | Basis for analysis results
|
| Idle | Indicates whether the resource is idle
|
| Recommendation Creation Date | Time when resource recommendations were generated |
| Recommendation Criteria (Lookback Period) | The lookback period based on the recommendation criteria applied to the resource |
| Recommendation Criteria (Usage Rate Settings) | Usage rate based on the recommendations applied to the resource |
Recommended Options Comparison
You can compare the current and recommended options for a resource and review whether to upsize or downsize it.
| Category | Detailed Description |
|---|---|
| Virtual Server | Display server type, vCore, and memory information |
| Block Storage | Display Max IOPS and Max Throughput information |
| Database | Display server type, vCore, and memory information |
Metric Analysis
You can analyze resource utilization metrics by setting statistical criteria and time ranges.
| Category | Detailed Description |
|---|---|
| Statistics | You can select the statistical basis for the data as either maximum or average. |
| Time range | You can select from the last 1 day, 3 days, 1 week, 2 weeks, or 32 days based on the lookback period rather than the current time. |
| Settings icon | Configure the metric widgets to display on the screen
|
| Metrics widget | Metric widget items by resource type
|
- To measure the Memory Usage metric for a Virtual Server, installing the ServiceWatch Agent is required. The namespace name and metric name must be registered in accordance with the naming standard, which includes rules for spacing, symbols, and case sensitivity.
- Namespace name: Virtual Server Agent
- Metric name: memory_usage
- For details on installing the ServiceWatch Agent, see Installing the ServiceWatch Agent.
Checking Idle Resources
You can review the list of idle resources by analyzing the resources currently in use.
To view a list of idle resources, follow these steps.
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Idle Resources menu. 2. Navigates to the Idle Resource List page.
- Check the detailed information of a resource on the Idle Resources List page.
Category Detailed Description Recommendation Creation Date Time when resource recommendations were generated Account name Name of the opted-in Account - You can select from the opted-in Accounts within the organization.
- Available for selection if the Account is a Management Account or an Account with delegated administrator permissions.
Search input field Enter a search term to search Advanced Search You can filter and search by Resource Type, Resource Name, Idle, Region, and Tag Key. Resource Details You can view the type, name, ID, idle status, utilization, idle duration, lookback period, region, and tag information for idle resources. - Resource Type: The type of the idle resource.
- Resource Name: If a recommendation has been generated for the idle resource, clicking the resource name navigates to the recommendation details screen.
- Resource ID: The resource ID is not displayed for Databases because they do not have a server ID.
- Idle: The idle status for Block Storage is displayed as Idle or Unattached, while Virtual Servers and Databases are displayed as Idle only.
- Utilization: Click Details to display utilization metrics for each resource.
- Idle Duration: The duration counted from the day the resource was determined to be idle.
- Lookback Period: The lookback period for determining idle resources is fixed at 14 days. However, for Block Storage resources determined to be Unattached, the period is 32 days.
Settings icon Configure the column items to display in the list Table. Idle resource list items
Manage opt-ins
You can manage the opt-in status of accounts for the Resource Optimizer service.
To manage the opt-in status, follow these steps.
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Basic Settings > Opt-in Management menu. 2. Go to the Opt-in Management page.
- Check the opt-in status on the Opt-in Management page.
- If the opt-in status is Active, you can view the opt-in list and status for each account.
- If the opt-in status is Inactive, click the Edit button and then opt in to the service.
- View detailed information in the Account Opt-in Management list.
- The Management Account and accounts with delegated administrator permissions can opt in for Member Accounts within the organization.
Category Detailed Description Opt-in Check the following cases where the opt-in button is enabled: - When the signed-in account is a Management Account, and you select an Inactive Management Account (your account) or a Management Account (your account) along with Member Accounts simultaneously.
- When the signed-in account is a Management Account that has opted in, and you select an Inactive Member Account.
- When the signed-in account is a Delegated Account, and you select an Inactive Member Account.
More button Review the following to determine when you can delegate or revoke administrative permissions. - Delegate administrative permissions: When the signed-in account is a Management Account and opted in, and an Active Member Account is selected
- Revoke administrative permissions: When the signed-in account is a Management Account and opted in, and a Delegated Account is selected
Search input field Enter a search term to search Advanced Search Filter and search by account name, ID, and opt-in status Opt-in List Details You can view the name, ID, opt-in status, status reason, and last modified time of an Account. - Account Name: The name of the Account. Management Accounts and Accounts with delegated permissions are indicated by a badge icon.
- Account ID: The Account ID.
- Opt-in Status: Displays the status as Active, Inactive, Pending, or Failed.
- Status Reason: Displayed when the Account is pending deletion or when the maximum number of security roles that can be created per Account is exceeded.
- Last Modified Time: The most recent time among the opt-in status change, delegation, or undelegation.
Table. Account-specific opt-in list items
- The Management Account and accounts with delegated administrator permissions can opt in for Member Accounts within the organization.
Set up Rightsizing
You can configure the lookback period and resource performance levels for rightsizing analysis differently by region and resource type. The settings page consists of the Recommended Criteria and Long-Term Infrastructure Metrics tabs.
Recommendation Criteria
You can view and manage the Rightsizing recommendation criteria at the organization or account level.
To check the recommendation criteria, follow these steps.
- The following content regarding management based on recommendations is described from the perspective of the Management Account and accounts to which management permissions have been delegated.
- Criteria for added, modified, or deleted recommendations are applied when recommendations are generated once daily (after midnight).
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Basic Settings > Rightsizing Settings menu. 2. Navigate to the Rightsizing Settings page.
- Click the Recommended Criteria tab. 3. Opted-in Accounts within the organization are displayed as a list of the hierarchy.
- For Member Accounts, the hierarchy list is not displayed, and the Organization-based and Account-based buttons are shown.
- Recommendations at lower levels of the hierarchy take precedence. If no recommendations are configured, the Resource Optimizer defaults are applied.
Category Default Detailed Description Lookback period Day 14 Provides lookback period options of 14 days (default), 32 days, or 93 days. To set it to 93 days, you must enable the long-term infrastructure metrics option. CPU Usage Threshold P99.5 Removes maximum usage data that exceeds the configured threshold. - Example: When P99.5 is selected, the top 0.5% of peaks are removed.
CPU utilization headroom 20% Additional CPU capacity to be added to the recommendation to account for unexpected increases in CPU usage requirements Memory usage headroom 20% Additional memory capacity to be added to the recommendation to account for unexpected increases in memory usage requirements Table. Resource Optimizer defaults
- Click an organization or Account to view the recommended criteria. 4. The baseline list by resource type for Virtual Server and Database is displayed.
- When you select an organization, you can set criteria that apply to all accounts within that organization. * When selecting an Account, you can set the criteria that apply to that Account.
- For Member Account, click the Organization-based or Account-based button.
Add based on recommendations
To add a recommendation criterion, follow these steps.
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Basic Settings > Rightsizing Settings menu. 2. Navigate to the Rightsizing Settings page.
- Click the Recommended Criteria tab.
- Click the organization or Account to which you want to add the criteria. 4. The baseline list by resource type for Virtual Server and Database is displayed.
- Click the Add button for the resource to which you want to add a criterion. 5. Go to the Add {Resource Type Name} Recommendation Criteria page.
- On the Add Criteria Based on {Resource Type Name} Recommendations page, enter the information required to create the criteria and select the detailed options.
Category RequiredDetailed Description Legion Required Available regions to provide - Regions that already exist in the configured recommendations cannot be selected.
Lookback period Required Select the baseline period for optimization analysis - **Not set**: If at the organization level, the Resource Optimizer default is applied. If at the account level, the baseline from the parent organization level is applied.
- **14 days (default)**: The Resource Optimizer default.
- **32 days**
- **93 days (uses long-term infrastructure metrics)**: Long-term infrastructure metrics must be enabled first.
- **Not set**: If at the organization level, the Resource Optimizer default is applied. If at the account level, the criteria of the parent organization level are applied.
- **Maximum savings, Savings priority, Performance priority (default), Maximum performance**: The CPU and memory settings are selected based on the default values of the chosen option.
- **User-defined**: Users can select the CPU and memory settings.
Table. Additional items based on recommendations - Review the configuration values generated in the Summary panel, and then click the Done button.
- Once generation is complete, you can verify it on the baseline list page.
Fix Based on Recommendations
To modify the recommendation criteria, follow these steps.
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Basic Settings > Rightsizing Settings menu. 2. Navigate to the Rightsizing Settings page.
- Click the Recommended Criteria tab.
- Click the organization or Account for which you want to modify the criteria. 4. The baseline list by resource type for Virtual Server and Database is displayed.
- Select the criterion you want to modify from the list, and then click the Modify button. 5. Go to the {Resource Type Name} Recommendation-Based Edit page.
- Modify the required information and detailed options on the {Resource Type Name} Recommendation Criteria page.
- Review the modified settings in the Summary panel, and then click the Done button. 7. The correction is complete.
Delete based on recommendations
To delete a recommendation criterion, follow these steps.
- Click the All Services > Management > Resource Optimizer menu. 1. Navigates to the Service Home page.
- On the Service Home page, click the Basic Settings > Rightsizing Settings menu. 2. Navigate to the Rightsizing Settings page.
- Click the Recommended Criteria tab.
- Click the organization or account for which you want to delete the criteria. 4. The baseline list by resource type for Virtual Server and Database is displayed.
- Select the criteria to remove from the list, then click the Delete button. 5. It opens in the deletion notification popup.
- Click the Confirm button in the pop-up window. 6. Deletion is complete.