... more stuff
at
php-app-engine.com

Archive for the ‘GettingStarted’ Category

Thread: How often do EC2 instances crash/vanish, and what happens when they do?

Friday, December 25th, 2009

http://solutions.amazonwebservices.com/connect/message.jspa?messageID=133726


I’m considering moving some of the web sites I run to EC2, but I haven’t yet managed to find out information about how often the virtual machines crash/vanish/go down etc…

Also, what happens when they do? Does the machine get automatically restarted with the same virtual hard disk with data as-saved before the crash/vanish happens?

What about mapped ips, etc?

As you can tell, I’m pretty new at this stuff, but just trying to get a feel for how things work when virutal machines or their physical hosts crash, etc…

AWS for Managers

Friday, December 18th, 2009

http://www.guidelightsolutions.com/blog/aws-managers

When explaining AWS for the first time to managers (or anyone, for that matter) it is best to talk in concepts rather than in concrete terms. I’ve also noticed it is beneficial to try to tangiblize the discussion with familiar terms. Using terms like “Elastic IP” gets quizical looks, but calling it a publicly accessible IP address helps people to get a better overall grasp of concepts before using the AWS terms for things.

Tryst with EC2

Wednesday, December 16th, 2009

http://www.deerwalk.com/article-1243527607.html

Today, we successfully hosted our corporate website (www.deerwalk.com) in Amazon EC2. Amazon EC2 is the premier service in cloud computing and given the excitement around cloud computing these days, we wanted to give it a try.

Before we started, we googled for similar prior experiences and we found these sites extremely helpful:

idiot’s guide to linux on amazon ec2

Tuesday, December 15th, 2009

http://www.equivalence.co.uk/archives/1521

Recently I’ve had the opportunity of setting up a Linux instance on Amazon EC2 for use with Ruby on Rails, Nginx and Rabbit MQ. I suspect much of what I will document is obvious to many but hopefully some of you may find it useful, especially, if like me, you are totally inexperienced with setting up a Linux server.

SolTech Inc – Start, Stop and Restart Amazon EC2 instances – Step by Step

Sunday, December 6th, 2009

http://www.slideshare.net/regenbauma/start-stop-and-restart-amazon-instances

Slideshow

ec2 – Amazon Elastic Compute Cloud tips and howtos

Tuesday, December 1st, 2009

http://flurdy.com/docs/ec2/

I use Amazon’s ec2 for most of my server needs and then some.
And have decided to document some of these uses, for others benefit.

My go at deploying to the cloud, EC2. It’s not *that* easy

Monday, November 16th, 2009

http://olemortenamundsen.wordpress.com/2009/11/16/my-go-at-deploying-to-the-cloud-ec2-its-not-that-easy/

I don’t care, it really annoys me that everybody claims how easy it is, showing you how to launch an instance in a minute. Yes, thats really easy, but you quit too abruptly. Nobody wants to set up an instance, then terminate it and lose everything you did on that instance.

How Create, Bundle, Upload, Register An Image and Start Instance On Amazon EC2

Friday, November 6th, 2009

http://slandizier.blog.with.us/blog/how-create-bundle-upload-register-an-image-and-start-instance-on-amazon-ec2

The way it works is a developer rents a computer from Amazon and creates a virtual server. Once the server has been created, the instance can be launched but more importantly you are able to take that one image of the server and launch as many servers as needed. All the servers will be an exact carbon copy of the virtual image that you created.

In this article we will create a Debian image to keep it as general and light as possible.

Tips: Deploying a web application to the cloud

Friday, October 30th, 2009

http://www.mooreds.com/wordpress/archives/000549

The biggest attraction of the cloud was the ability to spin up and spin down extra servers as the expected traffic on the site increased or decreased. We choose Amazon’s EC2 for hosting. They seem a bit like the IBM of the cloud–no one ever got fired, etc. They have a rich set of offerings and great documentation.

Exactly.


Fork your AMI
Use Capistrano
Use EBS
EC2 Persistence
Use ElasticFox
Consider CloudFront
Use Internal Network Addressing where possible
Consider reserved instances

Some right, some not.

The Amazon EC2 Blog Migration Project

Tuesday, October 27th, 2009

http://www.rayacayan.com/blog/projects/the-amazon-ec2-blog-migration-project/

This side project presents my procedure for migrating my WordPress blog from a web hosting provider running cPanel to an Amazon EC2 instance.

This project builds on the environment created in my previous blog post, “The Mobile Cloud Project, Part 1.1: Basic AWS”, where I presented an overview of Amazon Web Services and a procedure for creating virtual servers (Reserved and On-Demand instances) on Amazon EC2.

How to create private AMI “copy” from a public one ?

Monday, October 26th, 2009

http://groups.google.com/group/ec2ubuntu/browse_thread/thread/a0de7cbf8dba62cf?hl=en#


Two days ago I started playing around with amazon EC2. The goal I want
to reach is to take an existing umbuntu based AMI, e.g ami-0db89079,
install some additional stuff I want to play around with (couchdb,
java, subversion) and make a private AMI out of that, so that my
changes won’t get lost when I terminate the instance.

Can anyone of you explain to me the basic steps I have to do, or send
me some useful links pointing to tutorials, videos – I would really
appreciate that.

Moving to Amazon Web Services

Monday, October 19th, 2009

http://vastpark.posterous.com/moving-to-amazon-web-services

I have been administrating LAMP web servers in some form or another for more than a decade either in support of a business or for personal use. I seem to never have so few projects that shared hosting made sense. So instead, solutions like virtual private servers, managed dedicated hosting and, in some cases, my own rack of equipment have served up my projects over the years.

Most recently I had been using dedicated managed servers on Rackspace and GoDaddy to host a few dozen sites. Because I no longer run my own DNS or mail servers, it made my migration focused on making MySQL and Apache work on AWS. (I no longer host DNS or mail because as I have found services like EveryDNS and Gmail to be far superior.)

Amazon EC2 Introduction – Useful info and tricks

Wednesday, October 14th, 2009

http://www.freemindsystems.com/amazon-ec2-introduction-useful-info-and-tricks/

I’m sure many people think the cloud is the future, and more or less have migration plannings. Also, some of these people point to Amazon as supplier for their price, stability and capabilities. This first post of EC2 are things you need to know from the standpoint of a sysadmin.

For a System Administrator, Amazon EC2 is a big challenge, mostly because their ephemeral nature:

Ubuntu EC2StartersGuide

Saturday, October 10th, 2009

https://help.ubuntu.com/community/EC2StartersGuide

This page gives you the first keys to using Ubuntu’s official images on Amazon EC2. Please follow the instructions below to use them.

Running Ubuntu Server Edition on Amazon Web Services requires you to go through the following steps that are described below:

1. Create your account on Amazon (if you do not already have one) and setup your keys
2. Install Amazon EC2 API Tools
3. Instantiate your images(s)
4. Configure your instance

One more: “Getting started”. Customizing an EC2 AMI

http://www.philsergi.com/2009/10/customizing-ec2-ami.html

One more: “Getting Started”. Rails and Amazon EC2 – Beginners guide

http://pandejo.blogspot.com/2009/01/rails-and-amazon-ec2-beginners-guide.html

Shell script for automated Amazon EC2 personal proxy server

Friday, October 9th, 2009

http://sprayfly.com/2009/06/28/shell-script-for-automated-amazon-ec2-personal-proxy-server/


I then came accross a post on Duane Storey’s blog which described how he created an Amazon EC2 instance which could be used to make a proxy server available that was only to Iranian web users. Duane’s solution involves his own custom Fedora image which has Apache setup to run as a web proxy. This setup was pretty much exactly what I needed – except that I would need to make sure the Proxy server only allowed my own computer to connect rather than making it a public proxy server accessible to Iranians. After a bit of testing, I managed to get something going and was pleased to see that the proxy was very speedy indeed!

Amazon EC2 Core Tools

Friday, October 9th, 2009

http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=88

API tools, AMI tools. All that jazz.

http://gehrcke.de/awsac/docs/06_slsetup.html – hacking tar, setting vars, hacking deps e t.c.

http://gehrcke.de/awsac/docs/index.html – priceless

http://linuxsysadminblog.com/2009/06/howto-get-started-with-amazon-ec2-api-tools/ this is for the keys and initial bootstrap of aux node.