ASG Won't Put Healthy EC2 Instances InService. Stuck in Pending.

0

I am having trouble getting ASG's to put healthy EC2 instances in service after it starts them. There are no lifecycle hooks. The instances are healthy, passed the EC2 status checks. I can shell into them. But the ASG never moves them from Pending to InService, and eventually it shuts them down.

I tried with a different AMI, subnet, VPC, spot instances, normal ones, and I get the same result. But this only appears to be happening in N. California. Things in N. Virginia seem to be working normally.

Can anyone help resolve this? Thank you!

seanls
已提問 4 年前檢視次數 452 次
1 個回答
0

I figured it out. When creating a launch config, DON'T check the box labeled "Link to VPC" if you're launching instances INTO a VPC. This is for classic instances that will be linked to a VPC.

It would be nice if there was some sort of error or status message to let the user know about this mismatch.

seanls
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南