LoginSignup
1
1

More than 5 years have passed since last update.

Amazon EC2にディスク(EBS)を追加してEC2にアタッチする手順

Last updated at Posted at 2012-12-26

EBSの追加

EC2 Management Consoleにて

  1. 左にあるNavigationより「ELASTIC BLOCK STORE」->「Volumes」を選択
  2. EBS Volumesより一番上の方にある「Create Volume」を選択
  3. 必要な項目を入力
    • Availability Zoneはディスクを利用予定のEC2インスタンスがある場所と同じ場所を選択
    • Snapshotは取得済みのスナップショットからコピーしてディスクを使う場合に選ぶ(と思われる。試してない)
    • Volume TypeはProvisioned IOPSにするとIO waitに合わせたチューニングが出来るようになるらしい。(試してない)
  4. 作成が済んだらEBS Volumesより今作成したVolumeを選択して右クリックして「Attach Volume」を選択
  5. InstancesよりアタッチしたいEC2インスタンスを選択する

以上によりEC2インスタンスの/dev以下にアタッチしたディスクのデバイスファイルが作成される。
注) Management Console上では/dev/sdfのデバイスファイルと表示されていたが、実際は/dev/xvdfが生成されている様子

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1