Launch EC2 with storage requirements

0

I have to launch an EC2 instance, running RHEL 8, with some storage requirements. And I was wondering how to set it up.

  1. >= 60 GB free storage for requirements:
    • >= 50 GB of free storage on the partition that contains /var/lib/<name>. The partition mountpoint should not have the noexec option.
    • >= 5 GB of additional space in /var/log
    • >= 5 GB of additional space in /var/lib/<othername>
  2. >= 500 GB of dedicated storage
已提問 1 年前檢視次數 171 次
1 個回答
0

It depends on whether you want those directories as separate partitions/file systems or not (in order to limit their growth). If you want a single large filesystem then you can launch an EC2 instance with an EBS volume of a size that meets your requirements (60 + 50 + 5 + 5 + 500 = 620 GB).

But you can also launch the instance with four EBS volumes of appropriate sizes and mount them using the options that you want - or any option in between. It's completely up to you.

Note that you can expand EBS volumes if you need to.

profile pictureAWS
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南