Changes between Version 7 and Version 8 of InstallationGuidelines/Amazon


Ignore:
Timestamp:
06/10/11 11:46:30 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Amazon

    v7 v8  
    5353# --region ap-southeast-1
    5454set EC2_URL=https://ec2.ap-southeast-1.amazonaws.com
     55set DEV=i-9546edc0
    5556# Stop Host
    56 ec2stop i-c75af292
     57ec2stop %DEV%
    5758# Create a snapshot
    5859ec2-create-snapshot vol-e189e88c
     
    6061ec2-create-volume -z ap-southeast-1b --size 3 --snapshot snap-63f89d08
    6162# Attach new volume as secondary
    62 ec2-attach-volume -i i-c75af292 vol-a9c2a3c4 -d /dev/sdb1
     63ec2-attach-volume -i %DEV% vol-a9c2a3c4 -d /dev/sdb1
    6364# Start Host
    64 ec2start i-c75af292
     65ec2start %DEV%
    6566ec2-describe-instances
    6667# Login (Remember different IP!)
     
    7374ec2stop i-c75af292
    7475# Unattach volumes
    75 ec2-detach-volume -i i-c75af292 vol-e189e88c
    76 ec2-detach-volume -i i-c75af292 vol-a9c2a3c4
     76ec2-detach-volume -i %DEV% vol-e189e88c
     77ec2-detach-volume -i %DEV% vol-a9c2a3c4
    7778# Attach volume as boot
    78 ec2-attach-volume -i i-c75af292 vol-a9c2a3c4 -d /dev/sda1
     79ec2-attach-volume -i %DEV% vol-a9c2a3c4 -d /dev/sda1
    7980# Start Host
    80 ec2start i-c75af292
     81ec2start %DEV%
    8182ec2-describe-instances
    8283# Login (Remember different IP!)