After an end user launches a product, a product instance is created. If the system fails to create a product instance, an end user can troubleshoot the issue based on the causes and solutions that are described in this topic.
The launch role is not granted the required permissions in the Resource Orchestration Service (ROS) console.
The Terraform templates in Service Catalog are run by using ROS. The AliyunROSFullAccess policy must be attached to the launch role. The AliyunROSFullAccess policy grants the permissions on ROS.
The launch role is not granted the required permissions on specific resources.
If an end user wants to launch a product, the launch role of the end user must be granted the permissions to create, view, and update the cloud services that are defined in the Terraform template of the product.
If the administrator creates a product based on the Terraform template that is used to create Elastic Compute Service (ECS) instances, the administrator must attach the AliyunECSFullAccess policy to the launch role to allow the end user to launch the product. The AliyunECSFullAccess policy grants the permissions on ECS.
The system fails to create a resource.
If the system fails to create a resource after an end user launches a product, the system fails to create a product instance. The system may fail to create a resource due to one of the following reasons:
- The zone of the resource does not match the region that is specified. If the Terraform template of a product specifies that the zone of a resource is cn-beijing-h, and an end user selects the China (Shanghai) region when the user launches the product, the system fails to create a product instance. When an end user launches a product, the end user must specify a region that matches the zone specified in the Terraform template of the product.
- The resources of the specified instance type are insufficient. If an end user wants to create an ECS instance in the China (Shanghai) region and the resources of the specified instance type are insufficient, the ECS instance fails to be created. As a result, the system fails to create a product instance. In this case, the end user can select another region to create an ECS instance or change the instance type of the ECS instance to be created.
- An attribute of a resource to be created does not meet the requirements. If a RAM role needs to be created, but the name of the RAM role does not meet the naming conventions or is used, the system fails to create a product instance. In this case, the end user can specify a RAM role name based on the naming conventions.
The number of the product instances exceeds the upper limit.
A maximum of 200 product instances can be created within an Alibaba Cloud account in the Service Catalog console. If the number of the product instances exceeds the upper limit, the system fails to create a product instance. In this case, the end user can delete the product instances that are no longer in use.