每日快报!Moldex3D远端计算之AWS-Connect使用步骤ListEC2AvailabilityZones
二. AWS-Connect使用步骤 (User Guide)
选项E: ListEC2AvailabilityZones: 列出AWS EC2指定区域内的可用性区域 (Option E: ListEC2AvailabilityZones: List availability zones within AWS EC2 specified region)
请到cmd.exe. 执行MDXAWSDeploymentConsole.exe -ListEC2AvailabilityZones us-west-1
(资料图片)
接着请打开..\Config\aws_ec2_availabilityzones.log 即可看到目前指定区域内的AWS EC2可用性区域.
选项F: ListEC2InstanceTypes: 列出指定区域内的EC2实例类型 (Option F: ListEC2InstanceTypes: List the types of EC2 instances in the specified region)
请到cmd.exe.执行MDXAWSDeploymentConsole.exe -ListEC2InstanceTypes {区域名称}{VCPU数量} 如: MDXAWSDeploymentConsole.exe -ListEC2InstanceTypes us-west-1 8
接着请打开..\Config\aws_ec2_instance_types.log 即可看到目前区域us-west-1中, VCPU=8的EC2实例类型.
选项G: CheckEC2InstanceAdminPasswordValidity: 检查EC2之Administrator帐户的密码是否合乎规则 (Option G: CheckEC2InstanceAdminPasswordValidity: Check EC2 instance Administrator password is valid.)
请到cmd.exe. 执行MDXAWSDeploymentConsole.exe -CheckEC2InstanceAdminPasswordValidity {EC2之Administrator账号的密码}
如: MDXAWSDeploymentConsole.exe -CheckEC2InstanceAdminPasswordValidity abc123
由上图可知, abc123并不合乎密码规则.
密码规则为: 长度8~128字符, 且包含大小写,数字,特殊字符.
选项H: CheckVPNSharedKeyValidity: 检查VPN shared key是否合乎规则 (Option H: CheckVPNSharedKeyValidity: Check VPN shared key is valid)
请到cmd.exe. 执行MDXAWSDeploymentConsole.exe -CheckVPNSharedKeyValidity {VPN shared key}
如: MDXAWSDeploymentConsole.exe -CheckVPNSharedKeyValidity 00abc123
选项I: ListIAMPolicy 列出布署Cluster之AWS账号所需IAM权限 (Option I: ListIAMPolicy:List the IAM permissions required for the AWS account to deploy the Cluster)
请到cmd.exe. 执行mdxawsdeploymentconsole.exe -listiampolicy
接着请用任何文本编辑器打开..\config\moldex3d_aws-connect_2023_iam_policy.json即可看到所需的iam权限, 请联络您的aws账号管理员进行设定. 再次强调若您之前已设定过moldex3d aws-connect 2023r0所需的iam policy, 请您必须针对moldex3d aws-connect 2023r1更新iam policy, 以免布署失败.
选项J: Version版本说明 (Option J: Version:Release Notes)
请到cmd.exe. 执行MDXAWSDeploymentConsole.exe -Version
以上即为MDXAWSDeploymentConsole.exe各选项的说明.