my ec2 instance is failing instance check and not coming up.
Disk was 100% full and i rebooted the server after increasing the root EBS as it was in modifying stage for 3 hours. Now my ec2 instance is failing instance check . How can i recover my ec2 instance.
Was able to resolve the issue but with some downtime.
1.) Brought the instance down
2.) Detach the root volume
3.) Took the snapshot
4.) Modify the volume to increase the disk size and create it in same region i will have instance to attach the root volume back.
5.) Here you can have two scenerios - In case of some Linux flavors it will auto increase the disk size after attachment i.e file system. For few linux flavors one need to use test instance and attach it as secondary volume and manually increase the file system.
In this case one will be able to keep ip consistent