You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, cloudinfo does not support the c7 instance family for Alibaba Cloud. This causes errors when trying to scrape product data or map categories for instances like ecs.c7.2xlarge. Describe the solution you'd like to see
Add support for the c7 instance family under the Compute Optimized category in the categoryMap. Specifically:
• Update the categoryMap in the Alibaba provider code to include c7 as part of the types.CategoryCompute.
• Ensure the c7 family is processed correctly in the mapCategory function.
Describe alternatives you've considered
Manually patch the categoryMap locally, but this solution is not maintainable for long-term use.
• Create a fallback mechanism in mapCategory to assign a default category for unknown families, such as General, but this would reduce accuracy. Additional context
The c7 instance family represents Compute Optimized instances in Alibaba Cloud. These instances are suitable for high-performance computing tasks, and their inclusion is critical for accurate cost analysis and reporting.
• Instances like ecs.c7.2xlarge also require a specific SystemDisk.Category to fetch pricing, such as cloud_essd.
failed to get virtual machine category: could not determine the category: c7
failed to scrape products for region: failed to get products: failed to get price
Is your feature request related to a problem? Please describe.
Currently, cloudinfo does not support the c7 instance family for Alibaba Cloud. This causes errors when trying to scrape product data or map categories for instances like ecs.c7.2xlarge.
Describe the solution you'd like to see
Add support for the c7 instance family under the Compute Optimized category in the categoryMap. Specifically:
• Update the categoryMap in the Alibaba provider code to include c7 as part of the types.CategoryCompute.
• Ensure the c7 family is processed correctly in the mapCategory function.
Describe alternatives you've considered
Manually patch the categoryMap locally, but this solution is not maintainable for long-term use.
• Create a fallback mechanism in mapCategory to assign a default category for unknown families, such as General, but this would reduce accuracy.
Additional context
The c7 instance family represents Compute Optimized instances in Alibaba Cloud. These instances are suitable for high-performance computing tasks, and their inclusion is critical for accurate cost analysis and reporting.
• Instances like ecs.c7.2xlarge also require a specific SystemDisk.Category to fetch pricing, such as cloud_essd.
The text was updated successfully, but these errors were encountered: