...
- 1st time it need formating
- Browser: Create volume , using 'Volumes', pick 300GB (it is small and not pricy)
- Browser: right click on the volume, attache it to running Instance of VM, remember name, e.g.: /dev/sdf
- ssh to VM
- partition this disk , e.g. using fdisk
- fdisk /dev/sdf
n : new partition
p : primary
1 : partion #1
1 : (default begin)
enter : (default end)
p : print
w : write partition
- fdisk /dev/sdf
- format disk using mkfs
mkfs.ext3 /dev/sdf1 ('1' is partition selected earlier)
agrre on any question by pressing 'enter' - mount disk as home dir named storage
mkdir /storage
mount /dev/sdf1 /storage
cd /storage
ls
SCP file from AMI to local machine
scp -i ~/janAmazonKey.pem root@ec2-174-129-63-11.compute-1.amazonaws.com:"/bla_lis" .
- partition this disk , e.g. using fdisk
You are done. Well, you need to pay for it. This is my 1st bill:
...
|
...
Bundling/spawning AMI
- copy X.509 certificate
scp -i ~/janAmazonKey.pem ~/pk-KL6G2VUC25RUKKMKXUPTKRHHPAAM5Z3C.pem ~/cert-KL6G2VUC25RUKKMKXUPTKRHHPAAM5Z3C.pem root@ec2-174-129-63-11.compute-1.amazonaws.com:"/mnt/" - bundle external image
ec2-bundle-vol -d /mnt -k /mnt/pk-KL6G2VUC25RUKKMKXUPTKRHHPAAM5Z3C.pem -c /mnt/certKL6G2VUC25RUKKMKXUPTKRHHPAAM5Z3C.pem -u AKIAJATKPFP7TANBRIAA -r i386 -p star-sl08b-image -v /bla_image --generate-fstab