AWS Cloud9: Making Express.js Server Publicly Available

When you create an EC2 Cloud9 instance, out of the box your preview will only be available in your native browser. IE it will be unavailable to anyone else you send the link to and you also will not be able to work with applications like Postman.

To make the application publicly available follow two steps.

1. Follow the AWS instructions here (Share a Running Application Over the Internet).

2. Modify the app.listen() listening port in your application to the remove the IP Address. I will look something like this

// set listen port
app.listen(8080, function(){
    console.log("Server Running");

Express + EJS: Styles and Partials

Express + Postman: Writing and Testing Routes