Browsing articles in "EC2"
Sep
1
2010

Remote debugging using Zend Studio 8 and EC2

Putty Session

Been looking at alternatives to PHPEd and thought I would install Zend Studio to see what it is like. After install I wanted to debug direct on a EC2 instance I had set up for testing purposes, however I was having great trouble with it, I kept getting errors such as it stalling on “testing communication with client host/IP” What was happening is that because I am at work the firewall was not allowing data [...]

Sep
1
2010

Could not stat /dev/sdf

Was playing aound with some Fedora 12 instances I had created on Amazon EC2. However I was coming across a problem where I created a volume, attached it in the Management Console but when I ran the following to format it, it didn’t work giving the error: could not stat /dev/sdf mkfs -t ext2 /dev/sdf To solve this, and this is just a workaround as far as I know, don’t use it for production servers [...]

Jul
13
2010
Amazon // EC2 // S3

Backup MySQL and Files on Amazon EC2 to S3

I was looking for a way to do daily and weekly backups from my EC2 Instances to Amazon’s fantastic S3 service. Finally worked out a way of getting it to all work, works pretty well if I say so myself To do this you will need to have set up a S3 account and got your key and secret handy. Step 1 – Download required Files I am using the S3 PHP class file from [...]

Jul
13
2010

Restarting Apache on EC2

To restart Apache from the command line from a Amazon EC2 Instance simply type: /sbin/service httpd restart