share folders on windows azure - azure

I recently opened an Windows Azure account, and setup a Azure Virtual Machine. I would like to share few folders in the virtual machine and have those accessed locally on my pc. How can I achieve this ?

Quick and dirty? Install the Skydrive client, and select "Make files on this PC available to me on my other devices" during the install.
You could also setup some sort of RDP solution, but the above is fastest.

You could enable the FTP server feature in the VM. I once wrote a manual how to do so on my blog - you could adapt it to current OSs that run on Azure VMs.

Related

Unable to connect to Azure Virtual Machine

I created a virtual machine using an Ubuntu image with Discourse preloaded from the Azure gallery. After the automatic setup completed, I can see that the VM is running but I can't connect to it in order to view the machine remotely. I don't see any setting that can resolve this for me. Does anyone know what is happening?
You should use a client like Bitvise SSH Client, which is recommended by Microsoft, to perform tasks on your ubuntu VM.

How to Create cloud service with Ubuntu OS on Microsoft azure

I have a PHP application which runs on Ubuntu.
I am looking for Cloud service on Azure which has Ubuntu OS so I can deploy my application over there.
I am able to find WAMP (Windows + Apache + My SQL + PHP) Cloud service on Azure but I am looking for LAMP (Linux + Apache + My SQL + PHP).
Appreciate for Any help.
I assume you're talking about Azure Virtual Machines rather than Azure Cloud Services, which are two different compute options. You can check this article to get the details about the different compute options on Azure. Cloud Services are a Platform-as-a-Service (PaaS) concept and only run on Windows Server. Azure Virtual Machines are basically hosting of VMs and these come in both Linux and Windows Server.
You can find ready-made Ubuntu-based VM images containing the LAMP stack in the Azure Marketplace or you can check the VM Depot, which contains community-provided VM images.
Alternatively, you can prep your own Virtual Machine and save it as a VM image, which you can then use to create new VMs off of it.
Azure Cloud Services (worker and web roles) are Windows only. Virtual Machines can be Windows or Linux.
However, if you are just looking to host your web front end you could use an Azure Web App (previously named Azure Websites) which has first class support for PHP, but the underling OS is still Windows.
In addition to the answer from Nick Trough you might want to try an ARM Template, e.g. https://github.com/Azure/azure-quickstart-templates/tree/b1908e74259da56a92800cace97350af1f1fc32b/lamp-app
This allows you to deploy a simple LAMP server (like marketplace or VM Depot) but has the added benefit of providing the configuration as an ARM Template (i.e. code) so you can easily modify it.

Uploading a file to a specif server in azure

I have a site to site connection established in Azure to a machine, and I have created a shared folder in that machine and now I have created an application where I am trying to upload a file and when I am running from visual studio I am able to upload the file in to the specific server but when I am deploying to Azure cloud services, it is giving an error as \10.1.0.xxxx\abc path not found. what can be the issue.
Thanks in Advance.
Regards,
Suresh
I was confused a bit from your question. When you said 'site to site connection' did you mean you created a virtual network and point to site VPN between your virtual machine and your desktop?
Well if you are using windows azure virtual machine you should be able to create a shared folder and upload files from your local desktop. Just need to create a virtual network and build a VPN between that machine and your desktop. But it might be impossible if you wanted to upload file to your cloud service. You might be able to open the firewall port on your cloud service virtual machine through powershell and startup task but all files you uploaded will be cleared when your cloud service virtual machine was moved by azure fabric controller.

azure - linux virtual machine stuck at "stopping"

i have been experimenting with azure services using my msdn account. i created a suse enterprise linux virtual machine. deployed sonar+mysql and a few simple java applications. everything was fine for almost a month, until last weekend. i tried to connect via ssh and could not get a response. i tried accessing the sonar website, again no response. i used the axure portal to restart the vm, it seemed to restart but still no response. i used the azure portal to stop the service. its status has been at "stopping" for several days. any thoughts about what i can do to regain connectivity?
It is very much possible that something in your virtual machine had caused this issue and your best bet is to report this problem to following dedicated forum realted with Windows Azure Linux Virtual Machine so you will get proper assistance to troubleshoot your problem:
http://social.msdn.microsoft.com/Forums/en-US/WAVirtualMachinesforLinux/threads

Which azure service, i should choose for my node.js app?

I am new to Microsoft windows azure cloud and want to run my node.js app in azure cloud. I read the windows azure Node.js Developer Center site ( https://www.windowsazure.com/en-us/develop/nodejs/ ) and it seems my app can run in azure cloud multiple ways.
Which azure option is good for my node.js app if i want to deploy quick with less azure knowledge?
If you are new to Windows Azure but knowledgeable a Node.js developer, you sure can use Windows Azure to write your Node.js application.
You have following choices:
Windows Azure Websites (Preview) –
FREE only if shared and if RESERVED there is some cost associated with it
Great if you are a Linux or Mac User
Your node.js application will run on Windows Server Farm
You can use git to deploy your Node.js Application
Windows Azure Cloud Services
Ideal for applications that separate logic into multiple tiers using both Web and Worker Roles
It is a PAID service
You can use PowerShell to deploy directly from a Windows Machine
Your Node.js application will runs on Windows Server 2008 OS
You will have capability to RDP your Windows Azure VM.
Windows Azure Virtual Machines (Preview)–
This way you can create run your node.js application on a Microsoft Windows or Linux (Suse, CentOS, Ubuntu) machines or upload your own Linux VM already fully installed with Node.js application
With Windows machine, you can RDP to your machine and install your Node.js application
With Linux machine you can use Putty to connect your Linux Machine on command like and then install your application and other packages
Currently even with Preview mode, there is some price associated with it
As you are new to Windows Azure, I would suggest you to give a try using FREE Windows Azure Websites Shared because this way you really don’t need to learn a lot about Windows Azure and you can start running your application instantly. This could be the easiest method among above 3 options and then you can jump to other by just migrating your application If needed.
IF you decide to use Cloud Service, you can use Cloud9 IDE to publish your Node.js application directly to Windows Azure Cloud Services in your subscription.
You can find a decision tree here: http://msdn.microsoft.com/en-us/magazine/jj991974.aspx
What are the options you're considering? I can think of two: "cloud services" or "web sites." The latter is probably the easier and cheaper option, assuming you're building a web app. The former gives you full-blown VMs backing your app, on which you can run anything (including "workers" that process data in the background or apps that communicate via web sockets or even raw TCP). It's more powerful, but it's also more difficult to use, slower to deploy, and costs more money than a shared "web site."
Sign up for the Windows Azure 90-day free trial https://www.windowsazure.com/en-us/pricing/free-trial/
Login into the Portal at: https://manage.windowsazure.com
Click the Virtual Machines tab then click Create a Virtual Machine to create a Windows VM.
On the slide-out panel, select Quick Create then specify your DNS Name, Image [Windows Server 2008 R2 SP1], Administrator Password, Size [Small (1 core, 1.75GB Memory)], Location (West US). Finish by clicking the Create Virtual Machine button.
Once provisioning is complete, you can connect to your VM via Remote Desktop Protocol by clicking the Connect button on the toolbar at the bottom of the screen.
Be sure to install a modern browser like Firefox to avoid the annoying default security settings of IE then proceed to download and install the node-js msi like you would on your desktop.
Happy hacking!
The fastest way to get started is to use Windows Azure Web Sites. You get a web site that is already configured to run node.js. You merely use ftp or git commands to push your code to the drop folder for your site.
You can use a Mac, PC, or Linux as your development machine. This tutorial (using a mac) shows the fastest way to get started: https://www.windowsazure.com/en-us/develop/nodejs/tutorials/create-a-website-(mac)/
Cheers!

Resources