Amazon EC2

Getting Started and Setting up a Micro Instance AWS (Amazon Web Services) Free Usage Tier

Here is a brief introduction to Amazon's new Free Usage Tier.

This is what you get for free with EC2:
* 750 hours of Amazon EC2 running Linux/Unix Micro Instance usage (613 MB of memory and 32-bit and 64-bit platform support) - enough hours to run steady state each month
* 750 hours of Elastic Load Balancing plus 15 GB data processing
* 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests
* 15 GB of bandwidth in and 15 GB of bandwidth out aggregated across all AWS services

Setting up MySQL and using MySQL Workbench (via SSH Tunnel) on Amazon EC2

Here are the instructions on how to get MySQL Workbench up and running on Amazon EC2 after creating a "Getting Started on Fedora Core 8" AMI instance.

1. ssh into your instance forwarding port 3306
ssh -i ~/ec2key.pem root@your-ec2-ip-or-hostname
I normally put localhost instead of 127.0.0.1, but OSX gives me grief by
2. Install MySQL
yum install mysql-server
3. Configure MySQL to start on startup
ntsysv
check "mysqld"
4. Start up MySQL
/etc/init.d/mysqld start
5. Set root password
mysqladmin -u root password new-password-here

Now, Launch MySQL Workbench

Building, Installing and Sharing a Repository with Git 1.7

Prerequisites:
packages gcc, zlib-devl, and perl-ExtUtils-MakeMaker, and python-devel must be installed.

yum install gcc
yum install zlib-devel
yum install perl-ExtUtils-MakeMaker
yum install python-devel

First, let's build git. I am assuming you want it installed for all users so let's switch to root and build it:
su -
cd /usr/local/src
wget http://kernel.org/pub/software/scm/git/git-1.7.1.tar.gz
tar xvfh git-1.7.1.tar.gz
cd git-1.7.1
./configure
make
make install

Now, verify the install:
git --version

You should see:
git version 1.7.1

Syndicate content