

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 排查 Lightsail 负载均衡器问题
<a name="troubleshooting-lightsail-load-balancer-issues"></a>

您可能会遇到一些 Lightsail 负载均衡器错误。本主题介绍了常见问题以及这些错误的解决方法。

## 常规负载均衡器错误
<a name="general-load-balancer-errors"></a>

在下面选择与您的错误最相符的问题，然后访问这些链接以修复该问题。如果在列表中不包含您遇到的问题，请使用该页面底部的 **Questions? Comments?**（问题与意见）链接位于本页底部用以提交反馈，或者与亚马逊云科技客户支持联系。

**我无法创建证书。**  
您可以在 AWS 账户中创建的证书数量存在配额。有关更多信息，请参阅《Amazon Certificate Manager 用户指南》中的[配额](https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html)。相同的配额适用于负载均衡器的 Lightsail 证书。  
*实际错误消息：***Sorry, you've requested too many certificates for your account. (抱歉，您已为账户请求的证书过多。)**

**我无法将任何其他实例连接到我的负载均衡器。**  
您可以将所需数量的 Lightsail 实例连接到负载均衡器，但前提是不超过每个 Lightsail 账户总共 20 个 AWS 实例的配额。  
*实际错误消息：***Sorry, you've reached the maximum number of instances you can attach to this load balancer.**

**我无法将特定实例连接到我的负载均衡器。**  
首先，检查以确保您的 Lightsail 实例正在运行。如果该实例已停止，您可以从实例管理页面中启动该实例。Lightsail 实例必须正在运行，才能成功连接到负载均衡器。  
可能是将相同实例连接到太多的负载均衡器。  
*实际错误消息：***Sorry, you've reached the maximum number of times an instance can be registered with a load balancer.**

**Lightsail 找不到我尝试连接到负载均衡器的实例。**  
您正在尝试连接的实例可能不再存在，或者没有位于与目标组相同的 VPC 中。  
*实际错误消息：***Sorry, the instance you specified doesn't exist, isn't in the same VPC as the target group, or has an unsupported instance type.**