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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则