[01:36] hey what is the best way to track your usage on ec2? [01:40] rightscale has a pretty good usage estimate system [01:54] flaccid: I am wanting to create an ebs instance for some testing but I want to stop it when I am not testing. How much will I have to pay if the ebs instance is stopped? [01:57] iirc you pay the same in terms of the ebs storage allocation because it is still allocated [01:57] but i could be wrong [02:00] yes, you pay for ebs storage, but not ec2 runtime [02:00] erichammond might know this [02:00] cool [02:00] know what? [02:01] flaccid: I am wanting to create an ebs instance for some testing but I want to stop it when I am not testing. How much will I have to pay if the ebs instance is stopped? [02:01] flaccid: iirc you pay the same in terms of the ebs storage allocation because it is still allocated [02:01] yes [02:02] $0.10-$0.11/GB/mo, depending on the region [02:02] plus snapshots if you took any [02:04] erichammond: so if I create one using an AMI from here http://uec-images.ubuntu.com/releases/10.04/release/ in terms of storage size will these AMI's have a predefined disk size or does the ebs just dynamically resize as you put data on to it? [02:05] afaik the ebs amis default to 15GB volume [02:06] erichammond might know better, but afaik amazon charges you for actually allocated disk on their ebs backend [02:06] Nolar: so a default install will mean paying for 15gb per month? [02:07] so even though the ami would have a 15gb root, it may not actually have allocated the full 15 on the ebs backend [02:07] ya, aka $1.50/mo :) [02:07] * erichammond nods [02:07] ah ok [02:08] and the EBS size can be extended? [02:08] http://alestic.com/2009/12/ec2-ebs-boot-resize [02:08] http://alestic.com/2010/02/ec2-resize-running-ebs-root [02:09] erichammond: thank you. [02:09] in my case, a fresh instance only uses 923M of space out of the 15GB, so I *think* i'd only get charged 10c a month if i stopped it [02:10] i've never actually tested that though :) [02:11] so if the instance is not being using i.e. not requests is there even any point in stopping it to save money? [02:11] no requests* [02:13] well, stopped = no instance use hourly charges [02:14] i know some folks who leave their instances stopped most of the day, but turn it back on for occasional jobs [02:15] saves having to re-provision [02:23] so I just started my instance. Do I need to create an Elastic IP? [02:23] no [02:24] flaccid: what is the Elastic IP for? [02:24] you tell me [02:25] flaccid: assign a static IP to your instance? [02:25] oh you don't know what an EIP is ? [02:25] no lol [02:26] its technically not static [02:26] tcliam_: http://aws.amazon.com/amis/1346 [02:28] thanks [02:28] np [02:29] it's 'elastic' ;) [02:29] thats what they call it [02:29] its technically a dynamic ip [02:29] sorta [02:29] thats what it is in the registry [02:29] it's a static address that can move dynamically between instances :) [02:30] technically every address is static, i.e. the IP address doesn't change [02:30] true [02:30] the point is its a dynamic IP, its not marked as static in the global ip registry and they simply route it [02:34] i think the point is, it's an ip which you can re-use as you change backend instances [02:34] whereas the normal address instances get are fixed to only that one instance [02:34] new instance, new ip [02:34] thats the elastic part. i was clarifying the point that its not static which is what tcliam_ asked [02:35] ok [02:35] I'm getting this when trying to ssh into the instance " Permission denied (publickey)." [02:36] tcliam_: make sure you are using an image that supports ssh and are using the correct ssh key [02:37] flaccid: is it the keypair or the private key? [02:37] you use the private key or both [02:37] public key needs to be in ssh on the instance, which is usually done in rc4/boot [02:42] flaccid: this is how I am trying to connect to it "ssh -i keypair.pem \ ubuntu@instancedns.com" is this correct? [02:48] aha it was the "\" that was causing the prob [02:51] rightio [02:52] flaccid: so just to clarify if I want to assign a domain name to my cloud instance I must get an elastic IP point the dns record for the domain name to the elastic IP and them in my ec2 settings route the domain name to the relevant instance? [02:52] then* [02:52] pretty much [02:53] except the last part is called elastic ip attachment [02:55] ok [02:55] so you pay for the elastic ip by how many requests it recieves? [02:56] receives* [03:01] no [03:01] see the ec2 pricing [03:02] No cost for Elastic IP addresses while in use ?? [03:02] correct [03:03] so its free... [03:04] actually i'm wrong [03:04] see this http://aws.amazon.com/ec2/pricing/ [03:04] yes thats what I was looking at but I dont quite understand it... [03:04] No cost for Elastic IP addresses while in use [03:04] * $0.01 per non-attached Elastic IP address per complete hour [03:04] * $0.00 per Elastic IP address remap – first 100 remaps / month [03:04] * $0.10 per Elastic IP address remap – additional remap / month over 100 [03:05] well actually i'm right, because you pay for data transfer on any public ip, elastic or not [09:36] hello [09:37] anybody know where I can find some documentation regarding cloud-init's usage and configuration? [09:38] is this it: https://help.ubuntu.com/community/CloudInit ? [09:39] is cloud-init only configured through user-data scripts? [09:40] or can it be configured inside the instance as well (in the case I want to create a customized public AMI)? [09:41] nIMBVS: hey [09:41] hi [09:41] nIMBVS: no you don't need a custom ami [09:41] cloud-init reads the configs over the user data indeed [09:42] You can find extra docs at: /usr/share/doc/cloud-init/ [09:54] so all configuration for cloud-init is done through user data? what about /etc/cloud? what it's for? [09:56] nIMBVS: I won't claim autoritative knowledge .. but that seems to me to be the implementation of cloud-init itself [09:56] the configuration and templates it needs to do its work [09:57] nothing for you to care about .. [09:57] from all the examples and use cases I've seen .. you only pass info thru user data [09:57] which is really the use case that makes sense [09:58] you might want to idle around through for any of the devs to maybe correct me [10:00] Daviey: kirkland smoser hey folks .. The cloud forums are starting to pick up some steam [10:00] kim0: awesome [10:01] Anyone who can answer technical questions, please follow the forums rss feed [10:01] like for instance http://ubuntuforums.org/showthread.php?t=1597120 [10:01] I am trying to answer as much as I can [10:02] RSS Feed: http://ubuntuforums.org/external.php?type=RSS2&forumids=392 [10:02] kim0: "the front node seems to work fine. The nodes behind the switcher can ping between nodes but can not ping the ip outside the local network." [10:03] Confuses me somewhat [10:03] Daviey: my understanding the cloud controller sees internet [10:03] the rest of the nodes .. don't [10:03] kim0: Hm. that isn't what he said. [10:03] what's "switcher" [10:03] :) [10:03] i assume switch [10:04] but how can you be *behind* a switch [10:04] surely that must mean router? [10:04] might just be physically [10:04] it seems to be two machines only [10:05] Hmm.. then there should be no difference between 'front nodes' and 'nodes behind the switch' [10:05] if that is what he is saying.... [10:05] well .. if it's too unclear .. can you ask him to give more details [10:06] How does this forums lark worj then :) [10:06] work* [10:06] what lark [10:06] what's lark [10:07] Daviey: I can reply asking for more info [10:08] done [10:09] Daviey is awesome [10:09] :D [10:09] heh [10:09] no u [10:09] Daviey is there a way for me to run UEC without needing multiple machines [10:10] I know there was this one node setup thing .. it was mostly a hack huh [10:10] kim0: you really need at least 2 tbh. [10:11] otherwise you are using an unsupported topology, making it less than useful [10:11] Daviey: can it run over ec2 [10:11] would that be supported or close [10:11] close [10:11] you'd be using qemu rather than kvm [10:12] so, sloooooooooooooooooooooow [10:12] so running vms slow as hell [10:12] yeah :) [10:12] Amazon should buy nested virt chips :) [10:19] kim0: you're the same kim0 that made this presentation: http://irclogs.ubuntu.com/2010/10/13/%23ubuntu-classroom.html#t17:00 ? [10:19] nIMBVS: yeah [10:20] cool [10:20] was I that bad :) [10:20] no. it was ok. very helpful ot clarify some things [10:20] cool === nIMBVS is now known as nIMBVS_ === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [16:06] kim0: sorry, i can't keep up with the forums [16:06] kirkland: it's only an RSS [16:06] kim0: irc, mailing lists, LP bugs, and LP answers [16:06] no need to poll for change :) [16:06] that's all i can do [16:06] kim0: sorry, someone else is going to have to cover that [16:06] kim0: i'm out of bandwidth [16:07] ok no worries [16:28] does anybody know what gzip-rsyncable program is? [16:29] I didn't find it anywhere in the repository [16:38] nevermind. I found gzip-rsyncable [16:40] kirkland: in the NC do I also haveb to specify "VNET_CLOUDIP=""" ? [16:40] kirkland: is it relevant if I do? === dendrobates is now known as dendro-afk [17:16] RoAkSoAx: yes, i think that's important === dendro-afk is now known as dendrobates [17:36] kirkland: another question. When you run an instances, the 2GB image store file is stored at the Walrus right? So, what is stored in the NC? [17:37] RoAkSoAx: a local cached copy of that [17:39] kirkland: so what happens if the Walrus dies? will the instance die too? [18:25] kirkland: since the NC is a VM, is it possible to run instances inside that VM? what will it be necessary to do that because I get this error: [Fri Oct 15 13:23:55 2010][001562][EUCAERROR ] libvirt: internal error no supported architecture for os type 'hvm' (code=1) [18:25] [Fri Oct 15 13:23:55 2010][001562][EUCAFATAL ] hypervisor failed to start domain [18:26] RoAkSoAx: you need to make a minor change to the libvirt xml [18:26] RoAkSoAx: replace kvm with qemu for the hypervisor [18:27] kirkland: thanks ;) [18:27] RoAkSoAx: np; it's going to be *really* slow [18:28] kirkland: yeah I just want it to test what would happen if the CLC dies while having running instances [18:37] kirkland: i cant seem to find the xml file, where is it located exactly? [18:48] found it [19:01] kirkland: Ok, Successfully started an image, it running pretty fast. Then I failed CLC1, CLC2 took control, and I runned a euca-describe-instances, and the instace I runned was there... [19:02] RoAkSoAx: sweet ;-) [19:03] kirkland: though, the instances that were previously terminated are no longer there [19:03] kirkland: is that *normal* ? [19:03] or even expected behaviour? === dendrobates is now known as dendro-afk [19:15] Afternoon. [19:16] Does anyone know how to increase the size of the root file system in the default Ubuntu EMI from the image store? [19:24] hggdh: i think i just found a bug. I turned everything off but the CLC, and it still shows that there's a running instance [19:25] RoAkSoAx: no CCs running at all? [19:26] hggdh: nope not at all [19:27] hggdh: here's how I discovered. I had terminated instances and 1 running instances. Then I did a failover (failed CLC1, CLC2 took control) and it showed the running instance but not the terminated ones [19:27] then powered off CC [19:27] still showed running instances [19:27] then powered off walrus [19:28] still showing running instance [19:28] then powered NC off [19:28] still kept on showing running instance [19:29] hggdh: so this is either because of the failover or because there is a real bug there... [19:36] RoAkSoAx: I am not sure either [19:36] but, anyway, interesting results :-) [19:37] hggdh: indeed [19:37] RoAkSoAx: try bring up CC Walrus, and NC -- then see if this "running" instance is actually restarted on teh NC [19:39] hggdh: will do in a bit.. i really need to get off bed xD === dendro-afk is now known as dendrobates === Hussain is now known as Hussain_Away === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [21:58] soren, I'm messing with building a maverick image with vm-builder .. it seems rather simple to extend to Maverick from lucid .. was there any reason this change wasn't included in the Maverick release? [21:59] jeremydei: Not a good one, no. [22:11] soren, cool, i'll let u know how it goes :) then maybe i'll look and see if i can do a pull-req for ya [22:11] right now just editing the files direct, and it seems to be working === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [23:45] kirkland: quick question. the br1 in the CC is used to be able to communicate with the instances only when using --addressing private?