[01:36] <RoAkSoAx> kirkland: HA for the CLC is a reality :)
[01:48] <kirkland> RoAkSoAx: whoa
[01:48] <kirkland> RoAkSoAx: sweet :-)
[01:51] <RoAkSoAx> kirkland: indeed.. been working on it all day
[01:51] <RoAkSoAx> kirkland: btw.. do you have any scripts that monitor the status of eucalyptus?
[01:51] <kirkland> RoAkSoAx: negative, i don't
[01:55] <RoAkSoAx> kirkland: ok np :) that'd be the next step.
[02:02] <kirkland> RoAkSoAx: cool, okay, back to my holiday ;-)
[02:03] <RoAkSoAx> kirkland: enjoy dude ;)
[02:15] <liam> hi I am new to using the cloud and I am wanting to create an ubuntu instance on ec2 and need some clarification to understand better. When I launch an ubuntu instance and ssh in to it can I use apt and install whatever I want?
[02:19] <maruq> hi
[02:19] <maruq> according to press release (http://www.canonical.com/news/ubuntu-10.10-server), it's possible to run AMIs offline in KVM. anyone know how to do it?
[02:20] <maruq> I'm assuming I run Ubuntu Server locally, then somehow setup KVM with the AMI & push from there?
[02:20] <maruq> can't find any docs on the server / cloud pages
[02:29] <smoser> maruq, https://help.ubuntu.com/community/UEC/Images
[02:29] <smoser> liam, yes. you can do whatever you want. you'll go in as the 'ubuntu' user, and have password less sudo
[02:30] <smoser> liam, you can test drive (for 55 minutes) for absolutely free by going to http://10.cloud.ubuntu.com
[02:31] <smoser> liam, maruq i'm out for the night. feel free to post questions here and i'll look for your responses tomorrow, or ping tomorrow.
[02:31] <maruq> @smoser thanks.
[02:32] <maruq> @smoser if I install the ec2-ami-tools, can I then bundle the image up & push back to EC2?
[02:34] <liam> smoser: thank you
[02:41] <liam> smoser, you still here?
[03:38] <liam> so whats the story with hosting databases on the cloud? Do you have to use a special instance for your db and another for your os image/web app?
[03:40] <smoser> liam, you could.
[03:40] <smoser> you dont have to
[03:40] <smoser> you could (on ec2) use their amazon rds.
[03:40] <liam> smoser: so what is the advantage?
[03:40] <smoser> basically they're just "virtual machines"
[03:40] <liam> is it faster?
[03:41] <smoser> amazon rds basically gives you a mysql server. you dont have to worry about managing the OS or the server.
[03:41] <smoser> its just there and you can connect to it (i've never actually used it)
[03:41] <liam> ok
[03:41] <liam> smoser: so I want to create and ubuntu 10.04 server instance now which ami should I use?
[03:46] <smoser> liam http://uec-images.ubuntu.com/releases/10.04/release/
[03:48] <liam> ok thanks
[03:51] <smoser> liam, note, that those do suffer from https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/649591
[03:51] <smoser> (see workaround there in my comment 3)
[03:54] <liam> smoser: so it requries a change to a config file? (sorry not too familiar with this)
[03:54] <smoser> liam, sorry. comment 5 is better.
[03:55] <smoser> basically, just start the instance, then ssh in and
[03:55] <smoser> sudo perl -pi -e 's/(nobootwait),(\S+)/$2,$1/' /etc/fstab
[03:55] <liam> ok
[04:10] <liam> smoser: so if I run this command from the cli ec2-run-instances ami-52794c26 --instance-type m1.small --region eu-west-1 --key ${EC2_KEYPAIR_EU_WEST_1}  it will start an instance??
[04:10] <liam> smoser: so I dont have to start one in the management console?
[04:14] <erichammond> liam: You may also have to specify --private-key and --cert or set the equivalent environment variables.
[04:15] <erichammond> liam: See: ec2-run-instances --help
[04:15] <liam> erichammond, yes I downloaded the key and cert
[04:15] <erichammond> (aside: I don't know why these modern programmers avoid man pages)
[04:16] <liam> erichammond, quick question can I stop the instance whenever I want and restart it?
[04:16] <erichammond> liam: EC2 has different concepts of run/terminate and stop/start.
[04:17] <erichammond> If you terminate an instance, you cannot restart it, though you can run a new instance of the same AMI.
[04:17] <erichammond> If you stop an instance, you can start it again with the same disks attached.  However, this is only possible if you run an EBS boot AMI from the beginning.
[04:18] <erichammond> Unless there is a particular reason not to, I recommend using EBS boot instances.
[04:18] <liam> erichammond: The reason I am asking is that I am only going to start this instance for testing a web app so the web app wont actually be used. So can I start/stop it only when I need to test or does it have to be running 24/7 meaing I have to be always for it?
[04:18] <liam> I have to be paying for it always*
[04:19] <erichammond> You do not pay for the instance if it is stopped.  You do, however, continue to pay for the EBS volume (say, around $1.50/month)
[04:20] <erichammond> I should say: You do not pay for the instance *while* it is stopped.
[04:20] <liam> so the command ec2-terminate-instances completely wipes it?
[04:21] <erichammond> Yes, a terminated instance cannot be recovered, nor can the ephemeral (local) storage (/ and /mnt) that were mounted on that instance.
[04:22] <erichammond> By default, when you terminate an EBS boot instance, EC2 automatically deletes the EBS root disk for you as well.
[04:22] <erichammond> It is possible to override this, and it is possible to take snapshots of the disk for more secure, long term storage.
[04:25] <liam> erichammond: I have a magazine here with an article on starting an ec2 instance that says "you'll want to terminate or shut down your instances when they're not in use to save money. That's done via the ec2-terminate-instances command. Simply run it with the ID number of your instance (which can be determined via the ec2-describe-instances command), and your instance will terminate:" So is this info wrong??
[04:28] <liam> here it is here http://www.linuxjournal.com/content/put-your-servers-cloud-amazon-ec2-and-ubuntu
[04:47] <erichammond> liam: That info applies to S3 based or instance store AMIs.
[04:47] <erichammond> EBS boot have added features that let you stop/start the instance and not pay for the instance hours while it is stopped.
[04:48] <liam> erichammond: ok but that article says ec2 and shows an apache2 server running
[04:49] <liam> so if I launch an ebs instance and want to stop it I run ec2-stop-instances "instance"
[04:52] <erichammond> liam: The terminology is very confusing.  "S3 based" simply means that the image (AMI) is stored in S3 buckets. Instances run from these AMIs are sometimes called "instance store" instances because the root disk is stored on storage local to the instance, also called "ephemeral storage".
[04:53] <erichammond> With "EBS boot" AMIs the image (AMI) is stored in an EBS snapshot (which, confusingly is also in S3, but not in way that you can tell it is).  Instances run from these might be called "EBS boot" or "EBS root" instances because the root disk is stored on an EBS volume created from the EBS snapshot.
[04:54] <erichammond> To keep things simple, I just recommend starting with "ebs" AMIs and instances and know that you can stop and start them.
[04:54] <liam> erichammond: ok thank you that is very helpful
[04:55] <erichammond> In my opinion there are very few situations where you really need to use anything but an EBS boot instance and it relates to high IO on the root disk that cannot, for some reason, be moved over to an ephemeral disk like /mnt
[04:57] <erichammond> Even then, it's likely not the performance but the cost that would be a factor.
[04:57] <erichammond> but I digress.
[05:00] <liam> I g2g so thanks all for your help.
[14:38] <smoser> erichammond, natty versions are coming with man pages for ec2-api-tools
[14:38] <smoser> (basically just help2man like output)
[16:29] <kim0> hey folks, can somone please help this guy out http://ubuntuforums.org/showthread.php?t=1593645 Unable to ssh into instances started over UEC