Skip to content

Latest commit

 

History

History
86 lines (62 loc) · 2.99 KB

README-CN.md

File metadata and controls

86 lines (62 loc) · 2.99 KB

Terraform Module for creating ECS HPC cluster on Alibaba Cloud.

terraform-alicloud-hpc-cluster

English | 简体中文

本 Module 用于在阿里云创建高性能集群(E-HPC)。

本 Module 支持创建以下资源:

用法

module "example" {
  source                     = "terraform-alicloud-modules/hpc-cluster/alicloud"
  #alicloud_ecs_hpc_cluster
  create_cluster             = true
  cluster_name               = "tf-name"
  #alicloud_instance
  create_instance            = true
  availability_zone          = "cn-hangzhou-k"
  instance_name              = "tf-test-name"
  security_group_ids         = ["sg-123456xxx"]
  vswitch_id                 = "vsw-123456xxx"
  instance_type              = "ecs.sccg7.32xlarge"
  system_disk_category       = "cloud_efficiency"
  system_disk_name           = "tf-system_disk_name"
  system_disk_description    = "system_disk_description"
  image_id                   = "centos_7_9_uefi_x64_20G_scc_20210727.vhd"
  internet_max_bandwidth_out = 50
  data_disks  = {
    name        = "data_disks_name"
    size        = 120
    category    = "cloud_efficiency"
    description = "tf-test-description"
    encrypted   = true
  }
}

示例

注意事项

  • 本 Module 使用的 AccessKey 和 SecretKey 可以直接从 profileshared_credentials_file 中获取。如果未设置,可通过下载安装 aliyun-cli 后进行配置.

要求

Name Version
terraform > = 0.13.0
alicloud > = 1.116.0

Providers

Name Version
alicloud > = 1.116.0

提交问题

如果在使用该 Terraform Module 的过程中有任何问题,可以直接创建一个 Provider Issue,我们将根据问题描述提供解决方案。

注意: 不建议在该 Module 仓库中直接提交 Issue。

作者

Created and maintained by Alibaba Cloud Terraform Team([email protected]).

许可

MIT Licensed. See LICENSE for full details.

参考