Creating a simple Hello World web application

Now that we are connected to our EC2 instance, we are ready to start playing around with it. In this book, we will focus on the most common use case for using AWS in tech companies: hosting an application. In terms of languages, we will use JavaScript, which in the last few years has become the most popular language on GitHub. That said, this application is more there to give support to demonstrate how to best use AWS using the DevOps principles. Having any kind of knowledge about JavaScript isn't required to understand this book:

Some of the main advantages that JavaScript offers with regards to this book are that it:

  • Is fairly easy to write and read, even for beginners
  • Doesn't require to be compiled
  • Can be run server side thanks to node.js (https://nodejs.org)
  • Is officially supported by AWS and therefore the AWS SDK for JavaScript is a "first-class citizen"

For the rest of the chapter, all the commands and code are to be run on our instance via ssh.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset