AWS EC2 is a core part of AWS’s cloud platform, allowing users to spin up virtual machines for a variety of tasks; however, EC2’s offerings can be overwhelming. Learn the basics with our new AWS cheat sheet – this time on EC2!
Learning AWS can be a very long and daunting experience. There are dozens of primary services, each with hundreds of features to learn. However, very few things can be more frustrating than having connectivity issue when trying to access a provisioned AWS resource, like an EC2 instance. After all, you just spent hours learning about AMIs, instance types, IP addresses, user-data, storage volumes, security groups, and key pairs. Now you just want to actually access the damn instance and have some fun with it. But as you try to access the instance, whether by SSH or HTTP, you get one of these dreaded errors: “access denied,” or “operation timed out,” or some other variation. Regardless of the error – you can’t log-in.
Ok, so you vent a little bit – perhaps even yell at your computer. Regardless of your frustration, you still need to figure out what is wrong. With that in mind, I present some of the common (perhaps even simple) issues that cause many connectivity issues. (more…)
In this screencast we are going to start from the very beginning and create our own EC2 cloud hosted Drupal installation. This will allow us to have full control of our Linux server and Drupal installation. We will walk through the process of setting up an Amazon EC2 instance, download and install Apache2, MySQL, PHP5, and phpmyadmin. Using these tools, we can create a Drupal database and host a Drupal website. Finally, we will download and install Drupal to our web server, create a Drupal database, configure the Apache site directory and install our Drupal website. At the end of the screencast we will have a running server and working Drupal website.
There are several different ways to manage time in Linux. This quick tip will show you how to quickly change the local time to the correct time zone for the server. In this Linux tip I’ll show you how to change the localtime to your (or a) current time zone.
Location of the local time file
Linux looks at /etc/localtime to determine the current time of your machine. This can either be a symbolic link to the correct time zone or a direct copy of the time zone file.
S3cmd is a program that allows you to backup your Linux box to Amazon S3. Amazon S3 allows you basically unlimited storage and, as long as you have the bandwidth, you can use it from any location. There are two options in a backup that you can use: you can either copy all the files over to an S3 bucket (called put) or you can use the sync command to sync file changes on a regular basis.