Search⌘ K

Starting from Scratch: Basic Web Application

Explore how to build and run a basic Hello World web application on a single AWS EC2 instance. This lesson guides you through manual setup using node.js, npm, git, and pm2 for process management. You will also push your code to GitHub, preparing for automated deployment in later lessons.

In this part, we will walk you through getting a basic web application running in the cloud on AWS. We will start with a blank project, and build the application and its infrastructure step by step. Each step focuses on a single aspect of the infrastructure, and we will try to explain in detail what’s happening, and why.

All the source code shown in this guide is available on GitHub. Each commit represents a code checkpoint from the book, and you can find it all here: AWS Bootstrap.

When interacting with AWS, we will use both the AWS console and the AWS CLI. In addition, we will also make use of the following tools:

GitHub as the source code repository for our application and infrastructure code.

node.js and npm to build our application.

git for version control.

...