I am trying to create swap memory on an EC2 instance as RAM utilization is quite high.
As per recommendations to do it on ephemeral storage, I am trying to find out which mount point is ephemeral storage?
This is the fstab entry on my instance:
Now I need to know which one is ephemeral storage so that I can use it for swap. If any of these is not ephemeral then how can I get it?
You are using a t2.small
instance type.
The T2 instance family does not have an Instance Store (also known as Ephemeral Storage ).
To discover which instance types have Instance Store, see: Amazon EC2 Instance Types
On that page, you will notice that the T2 instances say EBS-Only in the Storage column. If you wish to have an Instance Store, select a different instance type that includes an Instance Store. Alternatively, just use a normal Amazon EBS volume for swap space, since the main reason for using a T2 instance is for cost savings.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.