Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Mongo DB service is deployed in a Azure Virtual machine Using Ubuntu Juju. How to Login to the newly created Virtual Machine?

share|improve this question

1 Answer 1

In your terminal run:

juju status

Locate the machine name and then ssh into it using:

juju ssh <serviceName>/<machineNumber>

ex:

juju ssh mongodb/0

You can get a list of all of the juju commands using:

juju help commands

To get help on a specific command run:

juju help <command>
share|improve this answer
    
I want to allocate the newly deployed virtual machine to the end user. Is it possible to login directly to the newly created Virtual Machine ?? –  Nithin K Anil Feb 22 at 5:01
    
Yes that's exactly what my answer explains how to do. –  hatch Feb 22 at 14:13
    
Did you mean log into some web ui running on the newly created virtual machine? If so then you will need to expose that virtual machine to the world using juju expose <serviceName> which will open up the ports defined in the charm. –  hatch Feb 22 at 14:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.