Recently i got a project which need me to deploy on a cloud infrastructure. After spending some time finding the right cloud provider, finally i choose Microsoft’s product Windows Azure. According to Wikipedia, Windows Azure is a Microsoft cloud computing platform used to build, host and scale web applications through Microsoft data centers.
Actually, i was a little suprised because Microsoft provided Ubuntu Server images for its VM OS selection. I tought the only OS available for Mcrosoft’s cloud platform would be from windows server family.
Okay, first i start by picking New Virtual Machine,and pick Ubuntu from list of Virtual Machines.
Next is selecting your VM name, username and password, and your virtual machine’s size, For this example, im trying a small size server.
Select your DNS name and region and your availability set. Finish your configuration, and start creating your Ubuntu VM on Azure.
Next is connect to your Ubuntu via SSH, and start downloading apache tomcat using this command.
sudo apt-get install tomcat7
It will install Apache Tomcat 7, and start your tomcat using this command,
sudo services tomcat7 start
check whether your Tomcat’s port (8080) has opened yet or not,
netstat -aon | grep 8080
Next is adding your tomcat port to your VM’s endpoints.
After youve add your endpoint, it’s time to test your tomcat server. Try accessing your public virtual ip address via browser and see whether your Tomcat Server is ready. 😉