This is a screencast showing you the following step by step for re-starting your wordpress ubuntu LAMP server after a t1.micro spot instance was terminated by a higher bid.
Here is the screencast of the presentation I gave at the Trivalley Drupal Users Group at Webthingee in Livermore, CA. It is a live demo that shows how to install Drupal 7.10 on AWS EC2′s t1.micro spot instance with an RDS back end.
Hint: It is NOT to use ec2-create-image command from command line.
Most of my previous posts on AWS have focused on Linux AMI’s specifically (Ubuntu) on EC2. This time I have decided to focus to default Windows AMIs from Amazon which are EBS backed (t1.micro, et al) and how to clone them to enable instant starts from previously known state or elastic load balancing for auto scaling. Continue reading
Here is the screencast of my Bay Area LAMP MeetUp presentation. Continue reading
So do you remember my flagship Amazon Web Services EC2 post “How to start an AWS EC2 Ubuntu Server for your developer in 6 minutes?”
I showed you step by step how to start yourself on AWS and then how to create keypairs and logon to your instance on the command prompt, add new user, give the new user sudo access and finally configure ssh access without keypair and opening up ssh access for any machine using a user id and password. Continue reading
Here is the video of my presentation at the 2010 WordCamp LA: Continue reading
Originally Posted: 29 Jul 2010 10:38 AM PDT
Once you are up with your Amazon EC2 instance of Ubuntu 9.10 (Karmic Koala) using Alestic’s ami-bb709dd2, I will show you how to install Drupal 7 with Postgres 8.4 instead of Mysql database.
Here are the steps you take: Continue reading
Originally Posted: 18 Jul 2010 12:18 PM PDT
As noted before, I started a reserved instance for hosting an online game project. I also need a processing machine every other day to run 3 processes: my game import, upload game swf and image to S3 and translator for the game meta. I use Amazon’s spot instances to accomplish this. A spot instance is a cheaper instance than an on-demand instance and its pricing is based on availability of excess capacity that Amazon has at any given point in time.
First of all why would you want to do that? For many many reasons. One of the reasons I have was to bring up a machine every night which had all the code that I need to import and translate games. And I needed a dedicated machine with the base EC2 instance m1.small horsepower. I know of people who bring up 20-50 instances every night to do some heavy weight data processing before shutting down and killing those instances.
Here is what I would do:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo vi /etc/apt/sources.list
Here is the file content of sources.list:
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ karmic main universe
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ karmic main universe
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ karmic-updates main universe
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ karmic-updates main universe
deb http://security.ubuntu.com/ubuntu karmic-security main universe
deb-src http://security.ubuntu.com/ubuntu karmic-security main universe
After you start your AWS EC2 Ubuntu 9.10 Karmic Koala server in 6 mins, if you had to install a full LAMP (Apache PHP and Mysql) stack here is how you do it in under 4 minutes: