1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
The volume you are trying to attach (not the root volume, which is running Amazon Linux and is fine) sounds like it's in-scope of this:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html
If a volume has an AWS Marketplace product code:
- You can attach a volume only to a stopped instance.
- You must be subscribed to the AWS Marketplace code that is on the volume.
- The instance's configuration, such as its type and operating system, must support that specific AWS Marketplace code. For example, you cannot take a volume from a Windows instance and attach it to a Linux instance.
- AWS Marketplace product codes are copied from the volume to the instance.
Hopefully the fix will be as simple as the first bullet point (stopping the instance and attaching the new volume while it's down), the others sound like you'll need to start going through the documentation around the Bitnami Lampstack Ubuntu image that the original host was built with.
Conteúdo relevante
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 5 anos
I should have specified, the instance is stopped when I try to attach the volume. Can you tell me how to identify if the volume has an "AWS Marketplace product code?"
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/paid-amis.html#get-product-code
I guess this means spinning up the old Classic EC2 instance (if you can).
The third bullet point - you cannot take a volume from a Windows instance and attach it to a Linux instance - might be relevant too, there may be a restriction in mounting a Bitnami Lampstack Ubuntu volume onto an Amazon Linux instance.