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
gefragt vor einem Jahr171 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen