Extensions are plug-ins that enhance and extend the features of Elastic Compute Service (ECS) instances to meet various application and business requirements. Extensions include runtime environments (such as Java, Python, and PHP), monitoring tools (such as the CloudMonitor agent), and management tools (such as the BT panel). In Quick Setup, you can configure extensions for ECS instances across multiple regions in a single operation. Both public extensions and custom extensions are supported. This improves the efficiency of installing and uninstalling software and simplifies complex installation processes.
If you want to configure extensions (public extensions or custom extensions) for ECS instances across multiple regions in a single operation, see this topic. To configure extensions (public extensions or custom extensions) for ECS instances in a single region, see Extensions.
Supported public extensions
Limits
-
The ECS instance must be in the Running state.
-
The Cloud Assistant agent is installed on the ECS instance and has a status of Normal.
-
Supported operating systems include Alibaba Cloud Linux, CentOS, Ubuntu, Debian, Fedora, and Windows Server. The operating systems that are supported by a specific extension are displayed in the console.
-
You can install or uninstall application performance acceleration only on the product pages of Yitian instances (g8y, c8y, and r8y).
The preceding limits apply to public extensions. To install a custom extension, you must also meet the following requirements:
A custom extension is created, and the installation package of the extension is stored in an Object Storage Service (OSS) bucket.
To install a custom extension across accounts, the account that owns the extension must first share the extension with the target account, which must be an Alibaba Cloud account. For more information, see Share extensions.
Procedure
If you want to install a custom extension across accounts, you must share the extension first: use the account that owns the extension to go to the details page of the extension, click Add Sharing in the Sharing Status section, and then share the extension with the target account, which must be an Alibaba Cloud account. Then, use the target account to perform the following operations. For more information, see Share extensions.
Log on to the OOS console.
In the left-side navigation pane, click Quick Setup.
On the Configuration Library tab, click Create in the Extensions section.
On the Extensions page, configure the parameters, and then click Create.
The following table describes the main parameters.
Parameter
Description
Configuration Description
The description of the main content configured for this feature. The description must be 1 to 256 characters in length.
Cross-account Configuration
Current Account
The default option. You can select resources that belong to the current logged-on account.
Across Accounts (Resource Directory)
You can manage resources that belong to multiple accounts. Before you use this option, you must enable Resource Directory and complete the settings by using the management account or a delegated administrator account. When you enable trusted access, set Resource Orchestration Service (ROS) as a trusted service. For more information, see Manage delegated administrator accounts.
Select Instances
Select Region
The region selection. The following methods are supported:
Deploy in Current Region: Only the managed instances in the region that is selected in the current console are used as the targets.
Deploy in Another Region: Select the regions to which you want to apply the configuration.
Target Instance
Select the target instances. The available selection methods vary based on the region selection method:
If you deploy the configuration in the current region, you can manually select instances, specify tags, specify a resource group, or select all instances.
If you deploy the configuration in specified regions, you can specify tags or select all instances.
Configure Parameters
Extension Type
Select the type of the extension that you want to install. The following types are supported:
Public Extension: an extension that is provided by Alibaba Cloud.
Custom Extension: an extension that you create. To install the extension across accounts, you must first share the extension with the target account.
Extensions to install
The extensions that are available for selection vary based on the selected extension type and target instances. The actual options that are displayed on the page prevail.
Action
Install, uninstall, and update operations are supported.
Extension Version
The extension version is automatically selected. No action is required.
Command Parameters
The parameters that you must configure vary based on the selected extension. Configure the parameters as prompted on the page.
NoteIf No parameters are required for the extension. is displayed, no additional parameters are required for the selected extension.
To configure the concurrency ratio for task execution, go to Advanced.
In the Confirm Configuration dialog box that appears, verify the configuration parameters and click OK.
If you install a custom extension across accounts, the OSS Bucket Policy Confirmation page appears. To install an extension across accounts, you must configure an OSS bucket policy that allows the stack group execution role of the member account to read the installation package of the extension in the Alibaba Cloud account. After you verify the bucket name and the policy content that are displayed on the page, click Confirm and Create.
NoteAfter you confirm the operation, the policy that is displayed on the page is merged into the existing policy of the bucket. Other statements are not overwritten.
After the configuration is complete, you can view the extension configuration on the Configurations tab.