mabbacc.com

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:

a. Create a file system of your choice on the device /dev/sdc (requires root privileges).
b. Create a directory on which to mount the device.
c. Mount the device on the newly created directory.

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* 를 확인해봐야 합니다.

끝!!!

크리에이티브 커먼즈 라이센스
Creative Commons License
2011/11/08 21:04 2011/11/08 21:04
Posted by mabbacc
분류없음 l 2011/11/08 21:04

텍스트가 아래처럼 보일때,

a 201111040923.jpg

변환:e ++enc=ucs-bom
저장:set fileencoding=utf-8
:w [newfile]

원본글 : 원본은 여기입니다.
원본의 코드를 .vimrc 에 삽입.
into
.vimrc

그래도, 직접 해보니..저정하기 전에는:set fileencoding=utf-8 을 해줘야 하네… 음.
크리에이티브 커먼즈 라이센스
Creative Commons License
2011/11/04 00:21 2011/11/04 00:21
Posted by mabbacc
My VIM l 2011/11/04 00:21
1 2 3 4 5  ... 42 

카테고리

전체 (83)
Notice (1)
My Angels (0)
My Space (38)
My Entertainments (10)
My Spirits are made of ... (10)
Do not touch me. (0)
My VIM (5)
My Workstation (11)
My Mac Life (3)
My Will (0)

달력

«   2012/02   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      
Textcubeget rsslazylogs

공지 사항

최근에 달린 댓글

최근에 받은 트랙백

Statistics Graph