amazon-web-services - AWS EC2 实例在 ELB 注册后是 "Out of Service"

标签 amazon-web-services amazon-ec2

我在 AWS 中遇到了问题。我正在使用 ELB 创建和注册一个实例。虽然它正在注册,但它没有通过健康检查并显示停止服务。错误原因是“Instance has failed at least the Unhealthy Threshold number of health checks”。

我的健康检查值如下:

Ping Target: TCP:80
Timeout: 10 seconds
Interval: 24 seconds
Unhealthy Threshold: 6
Healthy Threshold: 10

感谢您的帮助。

谢谢,

昌丹

最佳答案

您的实例是否在 ELB 后面运行 Web 服务器?如果是,它会返回一个 '200' (OK) 吗?如果没有,那就是你的问题。

如果您正在运行返回 200 的 Web 服务,您的安全组是否对 ELB 开放?这意味着 ELB 的源安全组必须允许进入您实例的安全组。

关于amazon-web-services - AWS EC2 实例在 ELB 注册后是 "Out of Service",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20491337/

相关文章:

linux - AWS Ubuntu 14.04/etc/rc.local 不工作?

amazon-ec2 - 在Amazon EC2上运行NServiceBus

android - AWS s3 TransferListener 未在 Android 中更新

amazon-web-services - AWS DynamoDB GSI查询所有分区

Mysql 和 EBS - 将分区移动到更大的分区

linux - Solr merge 在 amazon ec2 上达到 io 限制

amazon-web-services - 从ec2 docker容器拒绝访问S3存储桶

amazon-web-services - Elastic Beanstalk leader_only 在文件级别

php - 使用 Amazon AWS 服务 PHP 发送短信

amazon-ec2 - Amazon EC 或 'standard' VPS 用于网络托管?