How To Add Instance Stores To EC2 Instances
Many EC2 instance types come with fast local storage. One way to take advantage of this fast local storage is to use it as a disk cache for ObjectiveFS. This article describes how to add instance store to your EC2 instance, so you can use SSD or hard drive for local storage.
Open your Amazon EC2 console at https://console.aws.amazon.com/ec2 and click "Launch instance".
Enter a name, choose your AMI, and choose an instance type that comes with instance store.
Note: Instance types with a d suffix (e.g. m5d, c5d) and the storage-optimized families (e.g. i3, i4i) include local NVMe SSD instance store.
In the "Configure storage" section, switch to the "Advanced" view. The instance store volumes available for your instance type are listed there. Click "Add new volume" to attach one, e.g. Instance Store 0 on /dev/sdb.
Repeat this step to add all available instance stores.
Complete the rest of your settings and click "Launch instance".
Note: Instance stores can only be added to an EC2 instance before launch.
To use the newly added instance store as a disk cache, see how to mount an instance store on EC2 for disk cache
Useful Links
Last updated ObjectiveFS staff
ObjectiveFS is a shared file system for macOS and Linux that automatically scales and gives you scalable cloud storage. If you have questions or article idea suggestions, please email us at support@objectivefs.com