LoginSignup
5
5

More than 5 years have passed since last update.

AWSのEC2インスタンスの停止、再起動の違い

Posted at

※ 勉強中につき間違いがあるかもしれません

停止

  • データ:インスタンスストア内データは削除されます。
  • 料金の扱い:停止した時点で課金時間stop。次に起動した時点で新しく1h開始。

再起動

  • データ:インスタンスストア内データも含め保持される。
  • 料金の扱い:新しく課金時間が開始されるわけではなく、そのまま課金時間が継続される。

課金時間例

12:00に起動開始。

  • 12:20に停止、12:30に起動した場合。
    12:00 - 12:20で1h分の課金時間。
    12:30 - 13:30で1h分の課金時間。

  • 12:20に再起動した場合。
    12:00 - 13:00で1h分の課金時間。

結論

停止→起動はやめて再起動の方がよさ気。

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