How to attach EBS volume from original EC2 instance to a new EC2 instance?
currently my website is running under a t3a.small EC2 instance (Origin - N California) and the volume size is 10 GIB. Now i have launched a new EC2 t2.micro instance (Origin - Mumbai) and the volume size is 8 GIB. All i'm doing for avoiding charges as i am a free tier user and the original instance is not cover the free tier promotion. So how can i attach EBS volume from original instance to new instance without losing any data?
If you shut the original instance down (not terminate!) then the EBS volume will no longer be attached to an instance; you can attach it to your new instance then.
However: That will give you two volumes; a "new" root volume and the original root volume attached to a different mount point/drive letter.
Note that in some circumstances it will be possible just to change the instance type and boot on the original root volume: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
Relevant questions
How is aws cost explorer calculate report for EC2 instances by billing tag?
tutunakasked 3 years agounable to connect to my instance !
AWS-User-2888882asked a month agoEC2 Instance Not Connecting / Status Error
Iyvanasked 2 months agoAttaching EBS Volume fails: Thinks it is attached to another instance but is not.
AWS-User-9447521asked 4 months agoHow do I report a bug present with EBS snapshot feature in "AWS console"?
sandeep tuppadasked a month agoIssue on EC2 stopping
kostastheocharoulisasked a year agoCannot restart EC2 instance
charlesmiasked 3 years agoHow to run my website under free tier promotion?
Accepted AnswerAWS-User-9592127asked 14 days agoHow to attach EBS volume from original EC2 instance to a new EC2 instance?
AWS-User-9592127asked 12 days agoVolume can't be detached
AWS-User-5854074asked 4 months ago