-
-
Notifications
You must be signed in to change notification settings - Fork 127
Unable to create the EC2 instance #12
Comments
hi @oskarszoon |
I found the following in /var/log/messages
So i'll try and redeploy using a different ec type, default from the stack config is t2.micro |
Switching to t2.small fixed the issue, so it was definitely a memory issue during the initialization. @michaelwittig Thanks for pointing me in the right direction. Maybe you can add this new minimum requirement for the instances to your documentation or as a default value in the stack config? |
@oskarszoon thanks four your work here. Just to make sure that I get it right. |
@michaelwittig Correct |
To use t2.micro (free tier) you can add this to the UserData as workaround:
|
I am facing difficulty when I try to launch stack for s3 virus scan...its creating an instance but I am not able to see where is the instance its not displaying on ec2 dashboard. If anybudy have experience to complete this implementation than pls explain |
Hi there,
I've successfully used this setup in the past, worked perfectly.
But now I am unable to create the stack, it fails with a message about
AWS::AutoScaling::AutoScalingGroup ScanAutoScalingGroup Received FAILURE signal with UniqueId i-00aeb0f212a7dd7ef
I disabled the rollback and debugged the EC2 instance, in /var/log/cfn-init.log I found the following error message:
The weird thing is that in the machine itself
sudo service clamd.scan restart
works fine and properly starts the clamd service (and shows it as stopped when first running). But the stack is of course still showing asCREATE_FAILED
Any help with further debugging, assistance or manually finishing the setup is greatly appreciated.
The text was updated successfully, but these errors were encountered: