0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【備忘録】AWS EC2・EBS概要 + 構築手順

Posted at

EC2概要

AWS上に仮想サーバを建てるサービス

AMI

EC2インスタンスの元になるイメージ

インスタンスタイプ

仮想サーバーのスペックを指定できる

IPアドレス

  • プライベートIPアドレス → サブネット内のIPが勝手に固定で割り当てられる
  • パブリックIPアドレス → 可変グローバルIPを任意で割り当てられる.無料
  • ElasticIPアドレス → 固定グローバルIPを任意で割り当てられる.有料

セキュリティグループ

AWSリソースの仮想ファイルウォールのこと

キーペア

公開鍵秘密鍵ペア

EBS

EC2のデータを保存出来るブロックストレージ
ネットワーク経由でアクセスしているので、デタッチ可能・同じAZのEC2にしかアタッチできない

EC2構築手順

1.キーペアを作成
2.Elastic IPを取得
3.EC2インスタンスを構築

1-1.キーペア名・キーペアのタイプを指定してキーペアを作成する
image.png

1-2.キーペアが正常に作成されましたと表示されればOK
image 1.png

2-1.EIPのタグを指定する(そのまま名前になって使いやすい)
image 2.png

2-2.EIPが正常に割り振られましたと表示されればOK
image 3.png

3-1.インスタンス名・AMI・インスタンスタイプ・キーペア・ネットワーク設定(どのVPCのどのサブネットに属すのか・どのリクエストを通すのかを指定する)・EBSをそれぞれ指定する
image 4.png

3-2.ステータスチェックが通っていればOK
image 5.png

3-3.EIPを関連付けるをクリックする
image 6.png

3-4.EIPを関連付けるインスタンス・プライベートIPアドレスを指定する
image 7.png

3-5.teratermのIPにEIPを指定して接続する
image 8.png

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?