xvdca=ephemeral0 - 25 being created without reason

0

So we are creating AMIs for our instances and there are references to xvdca=ephemeral0, 1, 2 and so on

This is causing issues with Lambda functions we are running, any ideas why it is doing this? See image for examples under block storage for the AMI

Also worth adding, it is not doing it to all AMIs that are being created, but is happening to most of them

已提问 1 年前63 查看次数
1 回答
0

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.

profile picture
专家
已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则