If you want to purchase instances that have the same configuration as an existing instance, you can use the Purchase Same Specifications feature in the Elastic Compute Service (ECS) console to go to the instance buy page and quickly create instances that are identical to the existing instance. Alternatively, you can modify instance parameters on the instance buy page to create instances that suit your business requirements.
Log on to the ECS console.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
Find an instance and choose in the Actions column.
Check the settings that are automatically configured.
In the Management section, configure the Logon Credential parameter.
Logon Credential: specifies the credential that is used to securely log on to the instance. For the description of this parameter, see Create an instance on the Custom Launch tab.
Specify time-related parameters based on the billing method.
Subscription instance: Set Duration and optionally select Enable Auto-renewal.
Pay-as-you-go instance: Optionally select Set Automatic Release Time. If you select Set Automatic Release Time, specify a point in time at which to automatically release the instance.
Read and select the ECS Terms of Service and Terms of Service and then click Create Order.
You can modify the settings.
You can call an API operation to create ECS instances that have the same configuration. For more information, see RunInstances.
You can also use a launch template to create ECS instances that have the same configuration. For more information, see Create an instance by using a launch template.
If you create multiple ECS instances that have the same configuration to improve high availability, you may need to perform further configurations, such as load-balancing the instances. For more information, see Deploy a highly available architecture.