Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

In your terminal run:

juju status

Locate the machine name and then ssh into it using:

juju ssh <serviceName>/<machineNumber>


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 '14 at 5:01
Yes that's exactly what my answer explains how to do. – hatch Feb 22 '14 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 '14 at 14:19

Your Answer


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.