compute-nest-best-practice/opensource/stablediffusion/cluster.yaml [141:235]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  EnableRdsStoragePlugin:
    Label:
      en: Enable RDS Storage Plugin
      zh-cn: 开启RDS插件
    Description:
      en: Suggest open RDS storge plugin to store images and prompt
      zh-cn: 建议开启RDS存储插件以保留图片和prompt
    Default: true
    Type: Boolean
  DBInstanceClass:
    Label:
      zh-cn: 实例规格
      en: DB Instance Class
    AssociationProperty: ALIYUN::RDS::Instance::InstanceType
    AssociationPropertyMetadata:
      Engine: MySQL
      EngineVersion: 5.7
      Category: Basic
      Visible:
        Condition:
          Fn::Equals:
            - ${EnableRdsStoragePlugin}
            - true
    Default: 'mysql.n2.medium.1'
    AllowedValues:
      - mysql.n2.medium.1
      - mysql.n4.medium.1
      - mysql.n2.large.1
    Type: String
    Description:
      zh-cn: 根据数据库引擎的类型和可用的区域支持选择实例规格；<br><font color='red'>RDS新客首购2核4G-20GB首月只需8.8元/月</font>
      en: 'Select the instance specification based on the type of database engine and the available area support;<br>see detail: <a href=''https://www.alibabacloud.com/help/doc-detail/26312.html'' target=''_blank''><b><font color=''blue''>Instance specification sheet</font></b></a>'
  DBInstanceStorage:
    Label:
      zh-cn: 实例存储
      en: Storage
    Type: Number
    Description:
      zh-cn: RDS实例大小范围为20-2000，每5个增量，单位为GB
      en: The size range of RDS instances is 20 - 2000, Incrementing in every 5, unit GB
    MinValue: 20
    MaxValue: 2000
    ConstraintDescription:
      zh-cn: RDS实例大小范围为20-2000，每5个增量，单位为GB
      en: The size range of RDS instances is 20 - 2000, Incrementing in every 5, unit GB
    Default: 20
    AssociationPropertyMetadata:
      Visible:
        Condition:
          Fn::Equals:
            - ${EnableRdsStoragePlugin}
            - true
  DBMasterUsername:
    Type: String
    Description:
      en: Primary account name of the database instance.The length cannot exceed 16 characters. Start with an English letter and can contain English letters, numbers and underscores (_).
      zh-cn: 数据库实例的主账号名称。长度不超过16个字符。以英文字母开头，可包含英文字母、数字和下划线（_）。
    ConstraintDescription:
      en: The length cannot exceed 16 characters. Start with an English letter and can contain English letters, numbers and underscores (_)
      zh-cn: 长度不超过16个字符。以英文字母开头，可包含英文字母、数字和下划线（_）
    Label:
      zh-cn: 数据库账号名称
      en: DB Username
    Default: rdsuser
    AllowedPattern: '^[a-zA-Z0-9\_]*$'
    MaxLength: 16
    MinLength: 2
    AssociationPropertyMetadata:
      Visible:
        Condition:
          Fn::Equals:
            - ${EnableRdsStoragePlugin}
            - true
  DBMasterPassword:
    NoEcho: true
    Type: String
    Description:
      en: Server login password, Length 8-30, must contain three(Capital letters, lowercase letters, numbers, ()`~!@#$%^&*_-+=|{}[]:;<>,.?/ Special symbol in)
      zh-cn: 服务器登录密码,长度8-30，必须包含三项（大写字母、小写字母、数字、 ()`~!@#$%^&*_-+=|{}[]:;<>,.?/ 中的特殊符号）
    Label:
      en: Instance Password
      zh-cn: 实例密码
    ConstraintDescription:
      en: Length 8-30, must contain three(Capital letters, lowercase letters, numbers, ()`~!@#$%^&*_-+=|{}[]:;<>,.?/ Special symbol in)
      zh-cn: 长度8-30，必须包含三项（大写字母、小写字母、数字、 ()`~!@#$%^&*_-+=|{}[]:;<>,.?/ 中的特殊符号）
    AllowedPattern: '^[a-zA-Z0-9-\(\)\`\~\!\@\#\$\%\^\&\*\_\-\+\=\|\{\}\[\]\:\;\<\>\,\.\?\/]*$'
    MinLength: 8
    MaxLength: 30
    Default: pleaseChangeThis
    AssociationPropertyMetadata:
      Visible:
        Condition:
          Fn::Equals:
            - ${EnableRdsStoragePlugin}
            - true
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



compute-nest-best-practice/opensource/stablediffusion/template.yaml [135:229]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  EnableRdsStoragePlugin:
    Label:
      en: Enable RDS Storage Plugin
      zh-cn: 开启RDS插件
    Description:
      en: Suggest open RDS storge plugin to store images and prompt
      zh-cn: 建议开启RDS存储插件以保留图片和prompt
    Default: true
    Type: Boolean
  DBInstanceClass:
    Label:
      zh-cn: 实例规格
      en: DB Instance Class
    AssociationProperty: ALIYUN::RDS::Instance::InstanceType
    AssociationPropertyMetadata:
      Engine: MySQL
      EngineVersion: 5.7
      Category: Basic
      Visible:
        Condition:
          Fn::Equals:
            - ${EnableRdsStoragePlugin}
            - true
    Default: 'mysql.n2.medium.1'
    AllowedValues:
      - mysql.n2.medium.1
      - mysql.n4.medium.1
      - mysql.n2.large.1
    Type: String
    Description:
      zh-cn: 根据数据库引擎的类型和可用的区域支持选择实例规格；<br><font color='red'>RDS新客首购2核4G-20GB首月只需8.8元/月</font>
      en: 'Select the instance specification based on the type of database engine and the available area support;<br>see detail: <a href=''https://www.alibabacloud.com/help/doc-detail/26312.html'' target=''_blank''><b><font color=''blue''>Instance specification sheet</font></b></a>'
  DBInstanceStorage:
    Label:
      zh-cn: 实例存储
      en: Storage
    Type: Number
    Description:
      zh-cn: RDS实例大小范围为20-2000，每5个增量，单位为GB
      en: The size range of RDS instances is 20 - 2000, Incrementing in every 5, unit GB
    MinValue: 20
    MaxValue: 2000
    ConstraintDescription:
      zh-cn: RDS实例大小范围为20-2000，每5个增量，单位为GB
      en: The size range of RDS instances is 20 - 2000, Incrementing in every 5, unit GB
    Default: 20
    AssociationPropertyMetadata:
      Visible:
        Condition:
          Fn::Equals:
            - ${EnableRdsStoragePlugin}
            - true
  DBMasterUsername:
    Type: String
    Description:
      en: Primary account name of the database instance.The length cannot exceed 16 characters. Start with an English letter and can contain English letters, numbers and underscores (_).
      zh-cn: 数据库实例的主账号名称。长度不超过16个字符。以英文字母开头，可包含英文字母、数字和下划线（_）。
    ConstraintDescription:
      en: The length cannot exceed 16 characters. Start with an English letter and can contain English letters, numbers and underscores (_)
      zh-cn: 长度不超过16个字符。以英文字母开头，可包含英文字母、数字和下划线（_）
    Label:
      zh-cn: 数据库账号名称
      en: DB Username
    Default: rdsuser
    AllowedPattern: '^[a-zA-Z0-9\_]*$'
    MaxLength: 16
    MinLength: 2
    AssociationPropertyMetadata:
      Visible:
        Condition:
          Fn::Equals:
            - ${EnableRdsStoragePlugin}
            - true
  DBMasterPassword:
    NoEcho: true
    Type: String
    Description:
      en: Server login password, Length 8-30, must contain three(Capital letters, lowercase letters, numbers, ()`~!@#$%^&*_-+=|{}[]:;<>,.?/ Special symbol in)
      zh-cn: 服务器登录密码,长度8-30，必须包含三项（大写字母、小写字母、数字、 ()`~!@#$%^&*_-+=|{}[]:;<>,.?/ 中的特殊符号）
    Label:
      en: Instance Password
      zh-cn: 实例密码
    ConstraintDescription:
      en: Length 8-30, must contain three(Capital letters, lowercase letters, numbers, ()`~!@#$%^&*_-+=|{}[]:;<>,.?/ Special symbol in)
      zh-cn: 长度8-30，必须包含三项（大写字母、小写字母、数字、 ()`~!@#$%^&*_-+=|{}[]:;<>,.?/ 中的特殊符号）
    AllowedPattern: '^[a-zA-Z0-9-\(\)\`\~\!\@\#\$\%\^\&\*\_\-\+\=\|\{\}\[\]\:\;\<\>\,\.\?\/]*$'
    MinLength: 8
    MaxLength: 30
    Default: pleaseChangeThis
    AssociationPropertyMetadata:
      Visible:
        Condition:
          Fn::Equals:
            - ${EnableRdsStoragePlugin}
            - true
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



