Tag: aws

Comparison: AWS, DigitalOcean, Vultr & Linode

Over the years, I have used several dedicated and cloud hosting companies. I thought that I would share my opinions on them (as far as the features that I’ve used among them).

Although I have tried Microsoft Azure and the Google Cloud Platform, I preferred the interface of AWS and/or the price of other options, so I did not give them much of a trial. As a result, they will not be included much in this article. I also do not have a DevOps background so I will not be discussing HA or load balancing a lot.

Amazon Web Services (AWS)

I used to be a die-hard promoter of AWS (I still use them for some of their specialty services, and recommend them depending on infrastructure needs).

Pros:

  • Speed – I have always gotten impressive transfer speeds while using Amazon’s

Tag: aws

Installing Node.js, Nginx, PHP 5.6 & MongoDB on an Amazon Linux AMI EC2 Instance

This guide gives step-by-step instructions for installing Node.js, Nginx, PHP 5.6 and MongoDB on an AWS EC2 instance running the Amazon Linux AMI. If you notice any errors, changes or have suggestions for alternatives/clarifications, please let me know.

Assumptions

This guide assumes that you are familiar with Amazon Web Services and using the Linux command line. This guide also assumes that you are performing these tasks on a fresh Amazon Linux AMI instance.

Setup

This guide was written using a fresh Amazon EC2 instance with the following configuration:

  • Instance type: t2.micro
  • Operating System: Amazon Linux AMI 2015.09.1 (HVM), SSD
  • Storage: 8GB (default)

If you are using a newly-created instance, don’t forget to install the latest updates:

Node.js & NPM

This section shows the commands used to install and update Node.js and NPM.

Install Node.js and NPM