{
  "id": "aws/ec2-instance-connect-ip-not-authorized",
  "signature": "An error occurred (SerialConsoleAccessNotEnabled) when calling the SendSerialConsoleSSHPublicKey operation: Serial console access is not enabled for the account or is not supported for the instance type",
  "signature_zh": "调用 SendSerialConsoleSSHPublicKey 操作时发生错误 (SerialConsoleAccessNotEnabled)：账户未启用串行控制台访问，或实例类型不支持此功能",
  "regex": "Serial console access is not enabled for the account or is not supported for the instance type",
  "domain": "aws",
  "category": "auth_error",
  "subcategory": null,
  "root_cause": "EC2 Serial Console access is not enabled at the account level, or the instance type does not support serial console connections (e.g., bare metal or older instances).",
  "root_cause_type": "generic",
  "root_cause_zh": "EC2 串行控制台访问未在账户级别启用，或者实例类型不支持串行控制台连接（例如裸金属或较旧的实例）。",
  "versions": [
    {
      "version": "EC2 API 2016-11-15",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "AWS CLI 2.14.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Enabling serial console access via IAM policies alone doesn't work; the account-level feature must be explicitly enabled using the EC2 console or CLI.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Trying to use serial console on unsupported instance types (e.g., t2.micro, m5.metal) will always fail, even with account-level enablement.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Enable EC2 Serial Console for the account in the AWS Region: 'aws ec2 enable-serial-console-access --region us-east-1' (requires ec2:EnableSerialConsoleAccess permission). Then retry the connection.",
      "success_rate": 0.9,
      "how": "Enable EC2 Serial Console for the account in the AWS Region: 'aws ec2 enable-serial-console-access --region us-east-1' (requires ec2:EnableSerialConsoleAccess permission). Then retry the connection.",
      "condition": "",
      "sources": []
    },
    {
      "action": "If the instance type is unsupported, launch a new EC2 instance with a supported type (e.g., t3, m5, c5 families) that supports serial console. Check the AWS documentation for the full list.",
      "success_rate": 0.8,
      "how": "If the instance type is unsupported, launch a new EC2 instance with a supported type (e.g., t3, m5, c5 families) that supports serial console. Check the AWS documentation for the full list.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "在 AWS 区域中为账户启用 EC2 串行控制台：'aws ec2 enable-serial-console-access --region us-east-1'（需要 ec2:EnableSerialConsoleAccess 权限）。然后重试连接。",
    "如果实例类型不受支持，启动一个支持串行控制台的新 EC2 实例（例如 t3、m5、c5 系列）。查看 AWS 文档获取完整列表。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html",
  "official_doc_section": null,
  "error_code": "SerialConsoleAccessNotEnabled",
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.85,
  "resolvable": "true",
  "first_seen": "2024-02-28",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}