Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Trouble Adding Virtual Machine to existing cloud service

$
0
0

Hi,

I am trying to create a bunch of virtual machines in a cloud service using azure command line tools. I first created a cloud service.

azure service create mycloudservice

Then I created virtual machines by following the instructions given at the following link:

http://azure.microsoft.com/en-us/documentation/articles/command-line-tools/#Commands_to_manage_your_Azure_virtual_machines

The problem is that each virtual machine is creating a new cloud service. It is not getting added to the cloud service I created in the first step. My command to create virtual machine is as follows:

azure vm create "myvmdnsname" "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04-LTS-amd64-server-20140416.1-en-us-30GB" "myusername" Password123@b -n "myvmmachinename" -l "West US" -c "mycloudservice" -t "my/cert/path" -P -e -v

Basically, by running the above command I expect the vm to be added to mycloudservice.But the vm is creating its own cloud service myvmdnsname.It is not respecting the -c option. My expectation is that-c should add the vm to the existing cloud service.





Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>