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
asked a year ago167 views
1 Answer
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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions