Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cloudformation error: Received 1 FAILURE signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement

Good day, I am using the AWS quick start for linux-bastion. On changing the QSS3BucketName and QSS3KeyPrefix to the ones in my account it throws the error

Received 1 FAILURE signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement

everything else in the stack is getting created, the script being pulled from the s3 bucket and user data being on the instance. The only issue is, autoscaling group fails to create despite providing the instance and running the user data. My guess is something is happening in the s3accesscreds which i am not able to fathom.

WHAT CAN BE THE CATCH?? would really appreciate any help, thank you

like image 438
Ritwik Singh Avatar asked Nov 29 '17 06:11

Ritwik Singh


1 Answers

I had a similar problem. You need to make sure that the bastion_bootstrap.sh file here is placed under the correct location in your bucket:

your-bucket-name/your-prefix/scripts/bastion_bootstrap.sh

And, of course, that the bastion_bootstrap script itself doesn't throw any errors. If it does, you'll see them in /var/log/cfn-init.log

like image 138
mmagician Avatar answered Sep 28 '22 01:09

mmagician