m1.xlarge 를 선택했는데…
Spec. 은 다음과 같음.
- 15 GB memory
- 8 EC2 Compute Units ( 4 Virtual cores with 2 EC2 Compute Units each )
- 1,690 GB instance storage
- 64-bit platform
- I/O Performance : High
- API name : m1.xlarge
문제는 1,690 GB 를 그냥 곱게 주지 않는다는 것.
http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?InstanceStorage.html
|
Extra Large |
m1.xlarge |
64-bit |
15GiB |
1690GiB instance storage (4 x 420GiB plus 10GiB root partition) |
여기 문제입니다. 4개의 ephemeral 로 나눠서 줍니다.
|
1 |
Locate an Amazon EBS-backed Linux/UNIX AMI. |
|||
|
2 |
Using command lines tools, launch an m1.large instance and add the following instance store mapping: /dev/sdb=ephemeral0 and /dev/sdc=ephemeral1. |
|||
|
3 |
Connect to the instance. |
|||
|
4 |
Check out the instance stores currently mounted on the disk. |
|||
|
5 |
Notice a 10GiB root partition mounted on the root and 420GiB mounted on an ephemeral0 device. Your m1.large instance comes with 2x420GiB instance storage. The other 420GiB is available but is unformatted and unmounted. |
|||
|
6 |
To format and mount the other 420GiB:
|
|||
|
7 |
Check to see if the device has been mounted. |
|||
|
8 |
Optionally, list the files on the root device. |
이대로 잘 안됨. -_-;
결국
http://stackoverflow.com/questions/448794/how-does-an-amazon-ec2-instance-select-its-kernel
여기 하단 답 중에
ec2-register --snapshot snap-12345678 -K pk-XXXXXXXXXXX.pem -C cert-XXXXXXXXXXX.pem \
--description "EBS CentOS 5.5 i386" --name "base-image-i386-4" --architecture i386 \
--root-device-name /dev/sda1 -b /dev/sdb=ephemeral0 -b /dev/sdc=ephemeral1 \
-b /dev/sdd=ephemeral2 -b /dev/sde=ephemeral3 --region us-east-1 \
--kernel aki-6eaa4907 --ramdisk ari-e7dc3c8e
이것을 응용했습니다.
실제 접속해보고 /dev/xvd* 를 확인해봐야 합니다.
끝!!!





댓글을 달아 주세요