[01:36] kirkland: HA for the CLC is a reality :) [01:48] RoAkSoAx: whoa [01:48] RoAkSoAx: sweet :-) [01:51] kirkland: indeed.. been working on it all day [01:51] kirkland: btw.. do you have any scripts that monitor the status of eucalyptus? [01:51] RoAkSoAx: negative, i don't [01:55] kirkland: ok np :) that'd be the next step. [02:02] RoAkSoAx: cool, okay, back to my holiday ;-) [02:03] kirkland: enjoy dude ;) [02:15] 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] hi [02:19] 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] I'm assuming I run Ubuntu Server locally, then somehow setup KVM with the AMI & push from there? [02:20] can't find any docs on the server / cloud pages [02:29] maruq, https://help.ubuntu.com/community/UEC/Images [02:29] liam, yes. you can do whatever you want. you'll go in as the 'ubuntu' user, and have password less sudo [02:30] liam, you can test drive (for 55 minutes) for absolutely free by going to http://10.cloud.ubuntu.com [02:31] 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] @smoser thanks. [02:32] @smoser if I install the ec2-ami-tools, can I then bundle the image up & push back to EC2? [02:34] smoser: thank you [02:41] smoser, you still here? [03:38] 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] liam, you could. [03:40] you dont have to [03:40] you could (on ec2) use their amazon rds. [03:40] smoser: so what is the advantage? [03:40] basically they're just "virtual machines" [03:40] is it faster? [03:41] amazon rds basically gives you a mysql server. you dont have to worry about managing the OS or the server. [03:41] its just there and you can connect to it (i've never actually used it) [03:41] ok [03:41] smoser: so I want to create and ubuntu 10.04 server instance now which ami should I use? [03:46] liam http://uec-images.ubuntu.com/releases/10.04/release/ [03:48] ok thanks [03:51] liam, note, that those do suffer from https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/649591 [03:51] Launchpad bug 649591 in mountall "mountall spins eating cpu when 'nobootwait' option exists in fstab followed by a comma" [High,Fix committed] [03:51] (see workaround there in my comment 3) [03:54] smoser: so it requries a change to a config file? (sorry not too familiar with this) [03:54] liam, sorry. comment 5 is better. [03:55] basically, just start the instance, then ssh in and [03:55] sudo perl -pi -e 's/(nobootwait),(\S+)/$2,$1/' /etc/fstab [03:55] ok [04:10] 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] smoser: so I dont have to start one in the management console? [04:14] liam: You may also have to specify --private-key and --cert or set the equivalent environment variables. [04:15] liam: See: ec2-run-instances --help [04:15] erichammond, yes I downloaded the key and cert [04:15] (aside: I don't know why these modern programmers avoid man pages) [04:16] erichammond, quick question can I stop the instance whenever I want and restart it? [04:16] liam: EC2 has different concepts of run/terminate and stop/start. [04:17] If you terminate an instance, you cannot restart it, though you can run a new instance of the same AMI. [04:17] 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] Unless there is a particular reason not to, I recommend using EBS boot instances. [04:18] 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] I have to be paying for it always* [04:19] 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] I should say: You do not pay for the instance *while* it is stopped. [04:20] so the command ec2-terminate-instances completely wipes it? [04:21] Yes, a terminated instance cannot be recovered, nor can the ephemeral (local) storage (/ and /mnt) that were mounted on that instance. [04:22] By default, when you terminate an EBS boot instance, EC2 automatically deletes the EBS root disk for you as well. [04:22] It is possible to override this, and it is possible to take snapshots of the disk for more secure, long term storage. [04:25] 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] here it is here http://www.linuxjournal.com/content/put-your-servers-cloud-amazon-ec2-and-ubuntu [04:47] liam: That info applies to S3 based or instance store AMIs. [04:47] 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] erichammond: ok but that article says ec2 and shows an apache2 server running [04:49] so if I launch an ebs instance and want to stop it I run ec2-stop-instances "instance" [04:52] 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] 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] To keep things simple, I just recommend starting with "ebs" AMIs and instances and know that you can stop and start them. [04:54] erichammond: ok thank you that is very helpful [04:55] 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] Even then, it's likely not the performance but the cost that would be a factor. [04:57] but I digress. [05:00] I g2g so thanks all for your help. === dendro-afk is now known as dendrobates [14:38] erichammond, natty versions are coming with man pages for ec2-api-tools [14:38] (basically just help2man like output) [16:29] hey folks, can somone please help this guy out http://ubuntuforums.org/showthread.php?t=1593645 Unable to ssh into instances started over UEC === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates