- Newest
- Most votes
- Most comments
When you create an AMI from an instance, the ephemeral storage attachments are included in the AMI. This can cause issues when you launch instances from the AMI, as the ephemeral storage attachments may not be compatible with the instance type or the specific use case. You can create an instance store-backed AMI. Instance store-backed AMIs do not include ephemeral storage attachments, which can help avoid the issues you are experiencing. If your Lambda function requires ephemeral storage, you can try using a different instance type that better suits your needs. Some instance types have more or different ephemeral storage configurations than others. Also, consider refactoring your application to decouple the Lambda function from the specific instance configuration. This may involve storing any necessary data in a more persistent storage service, such as Amazon S3 or Amazon DynamoDB, instead of relying on ephemeral storage.
Relevant content
- asked 2 years ago

Worth adding that the volume type for that volume is EBS