2. Install AWS CLI if not installed
3. Configure AWS CLI - set region, Access Key
4. run this command, replacing name, description and snapshot ID:
aws ec2 register-image --architecture "x86_64" --description "descr" --ena-support --name "name" --root-device-name "/dev/sda1" --block-device-mappings "[{\"DeviceName\": \"/dev/sda1\",\"Ebs\": {\"SnapshotId\": \"snap-123\"}}]" --virtualization-type "hvm"
5. Launch new instance from new AMI
5. Launch new instance from new AMI
No comments:
Post a Comment