Amazon Web Service is the market leader for cloud systems, giving an option to select specific AWS professional services with in their budget. EC2 instance can help in data recovery and many such features, makes AWS best in this trending cloud environment.
Accessing the EC2 instance even if you loose the pem file is rather easy.
1. First, create a new instance by creating new access file, call it 'helper' instance with same region and VPC as of the lost pem file instance.
2. Now stop the lost pem file instance. Remember not to terminate instance but to stop it.
3. Goto EBS volumes, select the root volume of the lost pem file instance and detach.
4. Now again select the detached volume and this time you have to attach this volume to helper instance which we created before. Since helper instance already has a root volume by default as /dev/sda1, the newly attached volume will be secondary(eg: /dev/sdf).
5. Login to your helper instance with its pem file.
6. Execute below commands:
7. Detach the secondary volume from helper instance.
8. Again attach the volume back to our recovery instance. Start the instance. Terminate the helper instance.
Use helper instance pem file to log into recovery instance.
Micropyramid is a software development and cloud consulting partner for enterprise businesses across the world. We work on python, Django, Salesforce, Angular, Reactjs, React Native, MySQL, PostgreSQL, Docker, Linux, Ansible, git, amazon web services. We are Amazon and salesforce consulting partner with 5 years of cloud architect experience. We develop e-commerce, retail, banking, machine learning, CMS, CRM web and mobile applications.
Django-CRM :Customer relationship management based on Django
Django-blog-it : django blog with complete customization and ready to use with one click installer Edit
Django-webpacker : A django compressor tool
Django-MFA : Multi Factor Authentication
Docker-box : Web Interface to manage full blown docker containers and imagesMore...