If you’re interested in Node.js this is a helpful tutorial in its use from Rising Stack.
This is the first post of an upcoming Node.js tutorial series called Node Hero – in these chapters, you can learn how to get started with Node.js and deliver software products using it.
Update: as a sequel to Node Hero, we have started a new series called Node.js at Scale. Check it out if you are interested in more in-depth articles!
We are going to start with the basics – no prior Node.js knowledge is needed. The goal of this series is to get you started with Node.js and make sure you understand how to write an application using it, so don’t hesitate to ask us if anything is unclear!
In the world of cloud hosted computing platforms it is fair to say that Amazon have taken the lead with their Elastic Compute Cloud (ECC). The newest contender to their crown comes from Microsoft. The Azure infrastructure provides a global backbone suitable for building, deploying and managing applications and services.
As a test of the suitability of Azure for these types of deployments I chose to deploy and build a new WordPress instance from scratch. This seemed a reasonable, albeit fairly simplistic, way of testing each part of the processes in turn:
Implementing a new computing instance
Installing a standard piece of open source software
While Azure as a platform supports many more technologies including XML, ASP.NET and Node.js the standard WordPress combination of PHP and MySQL provides a test that will cover a large percentage of implementations.
Sign Up
The sign up process for Azure is reasonably simple for those with one of the many incarnations of a Live account. (If not creating a new account at outlook.com is fairly painless.)
Once logged in the sign up requires verification delivered via either a texted code of a phone call followed by payment details. Payment is only required where usage exceeds the fairly generous trial limits.
Shortly after you find yourself confronted with the management portal.
Azure Management
Azure instances fall into four general themes:
Compute: including web services and virtual machines
Creating a new instance of one of these is as simple as following the options. For this test I chose to create a new web service form the app gallery. This is a continually expanding set of pre-cast applications such as ASP.NET, Drupal and Joomla. Creating my new WordPress site is easy.
Choose WordPress and click next
Give the database a name
Keep the default “Create new MySQL database” option
Choose the region where the database is to be stored. For those of us in Europe that have to comply with data protection legislation this step should be given some serious thought
Press the tick and off you go
The new web site is then created and made available. (I’ve skipped over the WordPress setup.)
I’m sad to report that that’s it. The new instance is made available and is ready to go right here
In some ways I would have preferred a longer, more tortuous set-up. As an IT guy I can always charge more for obfuscation but in this case that won’t be possible. The only thing that remains is to try the other facilities.