Have you ever thought what to do in-case your EC2 instance is lost. Many people believe thats not possible.
I have been using AWS services & EC2 Instances for my websites for more than a years now.
Two issues that I have faced with EC2 Instance where I need to restore the data or recover the data due to issues in EC2 Instance.
1. Suddenly my running instance got failed for no reason. When I checked its health status check both were getting failed. In that case you can't get same instance running again. Neither AWS support can make that instance run again as happenned the same with me.
2. I have setup auto scaling group with my running instance. When you create auto scaling group there are few options that you need to be alerted. Max Range, Min Range & Desired Instance. If you set min range 0(zero) or you Desired 0. In-case any of them are zero there are high chances to loose the instance.
What to do to recover the data when Instance is terminated, corrupted, lost, etc?
In AWS every instance creates a volume, when an instance is lost, corrupted etc. Their volume exist there. Is is like your system is not in running stage But Hard Disk is still there & intact.
To get latest data of your last running instance, You can create a new instance & Attach the new Volume with this instance.
Procedure for attaching volume & getting latest data.
Hope this will people Looking to recover Data from from Lost EC2 Instance
Comments
Let's collaborate
write to us
contact@ucodice.com
PHP
Laravel
Angular
React Native
React JS
Python
Internet of Things (IOT)
Mobile App Development
Website/Software Development
Hire Dedicated Team/Developers
Artificial Intelligence
Customer Support