From the course: Learning Infrastructure for Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Run an application on a server in the cloud

Run an application on a server in the cloud

From the course: Learning Infrastructure for Developers

Start my 1-month free trial

Run an application on a server in the cloud

- [Instructor] With access to a remote server via SSH, we can use the command line to build a simple application on the remote machine, making our application accessible to users all around the world. Let's create a new folder and we'll call it code. We'll cd into this directory and create a new file called index.html. To create and edit the file, I'll be using nano on this remote machine, but you are welcome to use Vim or any other editor that can be used in the command line. In this file will be adding a Famous Quotes header, and a few paragraph tags with famous quotes. The brs break up each line, and we could add CSS here, but the focus is on how this file will be served with our infrastructure. With the content of our application done, we just need to write some code so that the computer will serve this HTML page. We could use nojs or other server-side frameworks or languages, but since we know about the Python command…

Contents