AWS

Viewing SDB Data

If you want a tool for generically looking at and modifying data in Amzaon SimpleDB (SDB), the only tool I have found to date is a Chrome Browser Addon called SDBNavigator.

Tags:

Set the region for AWS SDK for PHP

If you are using the PHP SDK for AWS, by default, all operations are done on their Virginia data center.

If you want to use a different data center, you must define it with the set_hostname command

Tags:

Drupal Modules:

Using AWS SDK for PHP

So I want to divide the raw data being collected in my current project from the administrative data. The situiation is there will be thousands of small devices gathering data and sending that back to a data repository. A series of polling servers will request ("pull") data from the dumber of the devices and place them in this database. The smarter devices will "push" straight to an "API" server that then does the same. There is going to be a massive amount of data and I don't want the front end site slowed down.

Tags:

Drupal Modules:

Resize a disk to the full partition on Linux

Recently I resized a disk in AWS from 10GB to 30GB - but when I restarted the instance, the disk was still only 10GB.

This command will resize the partition to use up the spare space on the disk

sudo resize2fs /dev/sda1

Tags:

Installing s3sync

s3sync is a ruby based software that synchronises files from a local computer to/from Amazons S3 service.

s3sync requires ruby. 

yum install ruby

The easy solution now is to just install the gem

gem install s3sync

However, this sometimes does not work and you need to do it the long way...

Run these commands

Tags:

Delete a Credit Card from AWS

There is no link to delete a Credit Card with AWS. To do so you need to follow this link

Tags:

Make an Entire S3 Bucket Readable

By default, a new Amazon AWS S3 bucket is non-readable and all objects placed inside it cannot be accessed publically. You can change each object individually and make it public, or you can set a rule for the entire bucket.

Tags:

Backup all MySQL Databases to S3

Here is a simple script that backs up all accessible databases and sends them to an S3 bucket with the date as a prefix.

Tags:

Create a Post-Backup script for WHM to S3

If you have a WHM/cPanel based server, then you probably already have a daily backup running that keeps daily, weekly and monthly backups in another folder. But this does not help if the server disappears - you also need an offsite backup and Amazons S3 is perfect for this.

The good news is that there already exists a 'hook' that is run after an cPanel backup that we can use to do this.

Note: The functionality already exists to FTP backups to an external FTP server.

First you need to set up backups in WHM

Setup a Backup Folder on Ubuntu using Amazon S3

These instructions show you how to use s3fs to have a path on your Ubuntu server that keeps data on Amazons S3 solution. This can be used as a backup path, so any files added here are stored on a remote file system.

The first step is to create a bucket in your Amazon S3 account and get the security credentials. It is suggested to use IAM to create a user with limited access to Amazon Account features.

Subscribe to RSS - AWS

Your IP Info

IP Address Locator

Speed Test

Test how fast your Internet connection really is.

DropBox

Use this link to get DropBox http://db.tt/iQHWaaF