Changes between Version 7 and Version 8 of InstallationGuidelines/Amazon
- Timestamp:
- 06/10/11 11:46:30 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/Amazon
v7 v8 53 53 # --region ap-southeast-1 54 54 set EC2_URL=https://ec2.ap-southeast-1.amazonaws.com 55 set DEV=i-9546edc0 55 56 # Stop Host 56 ec2stop i-c75af29257 ec2stop %DEV% 57 58 # Create a snapshot 58 59 ec2-create-snapshot vol-e189e88c … … 60 61 ec2-create-volume -z ap-southeast-1b --size 3 --snapshot snap-63f89d08 61 62 # Attach new volume as secondary 62 ec2-attach-volume -i i-c75af292vol-a9c2a3c4 -d /dev/sdb163 ec2-attach-volume -i %DEV% vol-a9c2a3c4 -d /dev/sdb1 63 64 # Start Host 64 ec2start i-c75af29265 ec2start %DEV% 65 66 ec2-describe-instances 66 67 # Login (Remember different IP!) … … 73 74 ec2stop i-c75af292 74 75 # Unattach volumes 75 ec2-detach-volume -i i-c75af292vol-e189e88c76 ec2-detach-volume -i i-c75af292vol-a9c2a3c476 ec2-detach-volume -i %DEV% vol-e189e88c 77 ec2-detach-volume -i %DEV% vol-a9c2a3c4 77 78 # Attach volume as boot 78 ec2-attach-volume -i i-c75af292vol-a9c2a3c4 -d /dev/sda179 ec2-attach-volume -i %DEV% vol-a9c2a3c4 -d /dev/sda1 79 80 # Start Host 80 ec2start i-c75af29281 ec2start %DEV% 81 82 ec2-describe-instances 82 83 # Login (Remember different IP!)