Azure Arc Recourse Bridge to VMware / Appliance Machine (control plane)

Ilya Ochnev 20 Reputation points
2024-08-01T13:47:45.7166667+00:00

I configured Azure Arc Resource Bridge to VMware via script. As part of the process, it created a Linux Appliance Machine (control plane). According to the documentation (If I understood correctly), the root/Admin user account was created for this device and can be found in one of the .yaml (<appliance-name>-resource.yaml, <appliance-name>-appliance.yaml, and <appliance-name>-infra.yaml) files generated during configuration. However, I cannot find it anywhere, and as a result, I cannot access or log into this machine. Is there a way I can find those credentials, or do I have to rebuild the Resource Bridge? Thanks

Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
360 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
437 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sina Salam 12,086 Reputation points
    2024-08-01T18:19:10.49+00:00

    Hello Ilya Ochnev,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    Problem

    Regarding your explanation, I understand that you are unable to locate the credentials for the Linux Appliance Machine created during the Azure Arc Resource Bridge configuration.

    Solution

    Few things you can do to recover it:

    • Ensure you're examining the correct YAML files. Look for sections like adminUsername and adminPassword or sshPublicKey in the <appliance-name>-resource.yaml, <appliance-name>-appliance.yaml, and <appliance-name>-infra.yaml files.
    • If the credentials were not explicitly defined or saved during the setup, they might still be retrievable using the Azure CLI. You can try running the following command to view the deployment logs and configuration:
         az deployment group show --name <your-deployment-name> --resource-group <your-resource-group> --query properties.outputs
      
    • Also, you can log in to the Azure portal and navigate to the Resource Bridge resource. Look under the "Settings" or "Properties" sections for any information about the credentials or access details.
    • If SSH access was configured with a public key, ensure you have the corresponding private key. You can attempt to SSH into the appliance using the username specified during setup (mostly admin or a similar default).
    • If the credentials are not recoverable, you may need to rebuild the Resource Bridge. Make sure to document or securely store any credentials or keys generated during this process.

    References

    Accept Answer

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful ** so that others in the community facing similar issues can easily find the solution.

    Best Regards,

    Sina Salam


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.