VMware Cloud on AWS

 View Only
  • 1.  How do you get the AWS ARN for a VM that resides in VMC-on-AWS?

    Posted Nov 07, 2022 10:11 PM

    Exactly like the title says. How do I get the AWS ARN (Amazon Resource Name) for the VMs that reside in VMC?

    Thanks.



  • 2.  RE: How do you get the AWS ARN for a VM that resides in VMC-on-AWS?
    Best Answer

    Posted Nov 11, 2022 03:32 AM

    I got this figured out. 

    (this all assumes you're already authenticated)

    aws backup-gateway list-hypervisors (and get the ARN of the hypervisor where your VM resides)

    Copy the value from the K/V pair of ResourceArn, with the quotes.

    Then:

    aws backup-gateway list-virtual-machines --hypervisor-arn "arn:aws:backup-gateway:us-west-2:987654321098:hypervisor/hype-12345678" (these are obviously bogus numbers, but you get the idea)

    And then you will see the ResourceArn values for your VMs in the results!

    Thank you AWS Support. They were the ones that helped me with this. I figured it would be VMware I'd need to contact first.