JavaScript in the Cloud

A look at the history of JavaScript and the fun stuff you can do with JavaScript in the cloud!


Traditionally, JavaScript is the language of the web, and it still is. But today, it’s so much more. With the advent of server-side JavaScript and JavaScript support in major cloud platforms, JavaScript’s power increased dramatically. Building, maintaining, optimising, and deploying end-to-end JavaScript applications is possible with JavaScript in the cloud.

Cloud platforms give us the tools, elasticity and scalability to create high performing applications without managing the physical infrastructure. You can take advantage of the cloud while using a language you already know: JavaScript!

What is the Cloud?

The cloud refers to software and services that run on the Internet instead of locally on your computer. The cloud is a server somewhere else, usually in a big data centre. Cloud providers such as Azure, AWS, Google Cloud allow you to rent space on a server and pay for what you use. They let you scale as your business needs change while they manage the physical infrastructure for you. Think of it as renting a house or renting a piece of land, providing different control levels over managing the property, depending on which type of cloud computing you are using.

So really, there is no cloud. It’s just someone else’s computer.

There is no cloud, it's just someone else's computer

What is JavaScript?

JavaScript is a language that allows you to implement complex features on web pages.

It was created in 1995 in just ten days by Brendan Eich, who worked for Netscape. He created JavaScript as a scripting tool to manipulate web pages in the Netscape Navigator browser.

JavaScript took off to become the most popular client-side programming language. Today 97% of the web uses JavaScript!

However, JavaScript is much more than just a client-side programming language. Scott Hanselman, a Partner Program Manager at Microsoft, even went so far as to say that he proposes JavaScript is an operating system. He based the comparison on the fact that JavaScript has the same characteristics as an operating system.

JavaScript is a flexible and robust language. Thus, it makes sense for us to use JavaScript in the cloud.

JavaScript in the Cloud

Initially, Eich wrote JavaScript as both a client and server-side language. However, it didn’t become popular as a server-side language until later on with the creation of Node.js in 2009.

Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser. With the advent of Node.js as a server-side JavaScript programming language, it opened up the ability to use JavaScript in the cloud.

Today, all the major cloud providers support JavaScript in the cloud.

And, in the words of Scott Hanselman:

The cloud doesn’t care about language choice.

Tools for JavaScript in the Cloud

If you are looking to develop JavaScript in the cloud, there are some excellent tools and guides out there to help you. JavaScript IDEs such as Visual Studio Code and WebStorm have extensions that let you integrate with your favourite cloud providers, access quickstart templates, write, debug and deploy your cloud applications.

Create an Azure Function in VS Code

All major providers have a suite of SDKs and client libraries in JavaScript to integrate with their services from your JavaScript application. These libraries allow you to:

And much more!

Power of JavaScript

JavaScript is a powerful language. We can use JavaScript for web, mobile, gaming, artificial intelligence, and so much more.

Watch Scott Hanselman’s talk JavaScript, The Cloud, and The Rise of the New Virtual Machine to see a demo of a complete implementation of Linux and Pentium processor implemented in JavaScript and some other crazy things you can do in JavaScript.

There is a concept called the Rule of Least Power from Tim Berners-Lee, the creator of the web. The rule suggests choosing the least powerful language suitable for a given purpose.

As a corollary to this rule, we get Atwood’s Law.

Any application that can be written in JavaScript, will eventually be written in JavaScript.


In conclusion, I hope if you are not yet using JavaScript, you go out and learn it today. If you already are using JavaScript, I hope you start exploring what you can do with it.

Because the opportunities with JavaScript are endless, especially when paired with the power of the cloud.

Melissa Houghton

Melissa Houghton is a Lead Software Engineer at Azenix and a Microsoft MVP in Developer Technologies.

Her work is focused on application development using Angular, .NET, and Azure, but she has a wide variety of skills and is always open to learning new things.

An advocate for women in tech with a passion for leadership, technology and giving back to the community. She frequents tech events, is an international conference speaker and organiser of DDD Melbourne conference, Melb․NET meetup, and Microsoft AU New Breakpoint Community.

Originally from California, Melissa loves to travel and now lives in Melbourne, Australia.