/srv/irclogs.ubuntu.com/2010/10/15/#ubuntu-cloud.txt

tcliam_hey what is the best way to track your usage on ec2?01:36
flaccidrightscale has a pretty good usage estimate system01:40
tcliam_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:54
flaccidiirc you pay the same in terms of the ebs storage allocation because it is still allocated01:57
flaccidbut i could be wrong01:57
Nolaryes, you pay for ebs storage, but not ec2 runtime02:00
flacciderichammond might know this02:00
flaccidcool02:00
erichammondknow what?02:00
Nolar<tcliam_> 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
flaccidflaccid: iirc you pay the same in terms of the ebs storage allocation because it is still allocated02:01
erichammondyes02:01
erichammond$0.10-$0.11/GB/mo, depending on the region02:02
erichammondplus snapshots if you  took any02:02
tcliam_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:04
Nolarafaik the ebs amis default to 15GB volume02:05
Nolarerichammond might know better, but afaik amazon charges you for actually allocated disk on their ebs backend02:06
tcliam_Nolar: so a default install will mean paying for 15gb per month?02:06
Nolarso even though the ami would have a 15gb root, it may not actually have allocated the full 15 on the ebs backend02:07
Nolarya, aka $1.50/mo :)02:07
* erichammond nods02:07
tcliam_ah ok02:07
tcliam_and the EBS size can be extended?02:08
erichammondhttp://alestic.com/2009/12/ec2-ebs-boot-resize02:08
erichammondhttp://alestic.com/2010/02/ec2-resize-running-ebs-root02:08
tcliam_erichammond: thank you.02:09
Nolarin 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 it02:09
Nolari've never actually tested that though :)02:10
tcliam_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
tcliam_no requests*02:11
Nolarwell, stopped = no instance use hourly charges02:13
Nolari know some folks who leave their instances stopped most of the day, but turn it back on for occasional jobs02:14
Nolarsaves having to re-provision02:15
tcliam_so I just started my instance. Do I need to create an Elastic IP?02:23
flaccidno02:23
tcliam_flaccid: what is the Elastic IP for?02:24
flaccidyou tell me02:24
tcliam_flaccid: assign a static IP to your instance?02:25
flaccidoh you don't know what an EIP is ?02:25
tcliam_no lol02:25
flaccidits technically not static02:26
flaccidtcliam_: http://aws.amazon.com/amis/134602:26
tcliam_thanks02:28
flaccidnp02:28
Nolarit's 'elastic' ;)02:29
flaccidthats what they call it02:29
flaccidits technically a dynamic ip02:29
Nolarsorta02:29
flaccidthats what it is in the registry02:29
Nolarit's a static address that can move dynamically between instances :)02:29
flaccidtechnically every address is static, i.e. the IP address doesn't change02:30
Nolartrue02:30
flaccidthe point is its a dynamic IP, its not marked as static in the global ip registry and they simply route it02:30
Nolari think the point is, it's an ip which you can re-use as you change backend instances02:34
Nolarwhereas the normal address instances get are fixed to only that one instance02:34
Nolarnew instance, new ip02:34
flaccidthats the elastic part. i was clarifying the point that its not static which is what tcliam_  asked02:34
tcliam_ok02:35
tcliam_I'm getting this when trying to ssh into the instance " Permission denied (publickey)."02:35
flaccidtcliam_: make sure you are using an image that supports ssh and are using the correct ssh key02:36
tcliam_flaccid: is it the keypair or the private key?02:37
flaccidyou use the private key or both02:37
flaccidpublic key needs to be in ssh on the instance, which is usually done in rc4/boot02:37
tcliam_flaccid: this is how I am trying to connect to it "ssh -i keypair.pem \ ubuntu@instancedns.com" is this correct?02:42
tcliam_aha it was the "\" that was causing the prob02:48
flaccidrightio02:51
tcliam_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
tcliam_then*02:52
flaccidpretty much02:52
flaccidexcept the last part is called elastic ip attachment02:53
tcliam_ok02:55
tcliam_so you pay for the elastic ip by how many requests it recieves?02:55
tcliam_receives*02:56
flaccidno03:01
flaccidsee the ec2 pricing03:01
tcliam_No cost for Elastic IP addresses while in use ??03:02
flaccidcorrect03:02
tcliam_so its free...03:03
flaccidactually i'm wrong03:04
flaccidsee this http://aws.amazon.com/ec2/pricing/03:04
tcliam_yes thats what I was looking at but I dont quite understand it...03:04
tcliam_No cost for Elastic IP addresses while in use03:04
tcliam_    * $0.01 per non-attached Elastic IP address per complete hour03:04
tcliam_    * $0.00 per Elastic IP address remap – first 100 remaps / month03:04
tcliam_    * $0.10 per Elastic IP address remap – additional remap / month over 10003:04
flaccidwell actually i'm right, because you pay for data transfer on any public ip, elastic or not03:05
nIMBVShello09:36
nIMBVSanybody know where I can find some documentation regarding cloud-init's usage and configuration?09:37
nIMBVSis this it: https://help.ubuntu.com/community/CloudInit ?09:38
nIMBVSis cloud-init only configured through user-data scripts?09:39
nIMBVSor can it be configured inside the instance as well (in the case I want to create a customized public AMI)?09:40
kim0nIMBVS: hey09:41
nIMBVShi09:41
kim0nIMBVS: no you don't need a custom ami09:41
kim0cloud-init reads the configs over the user data indeed09:41
kim0You can find extra docs at: /usr/share/doc/cloud-init/09:42
nIMBVSso all configuration for cloud-init is done through user data? what about /etc/cloud? what it's for?09:54
kim0nIMBVS: I won't claim autoritative knowledge .. but that seems to me to be the implementation of cloud-init itself09:56
kim0the configuration and templates it needs to do its work09:56
kim0nothing for you to care about ..09:57
kim0from all the examples and use cases I've seen .. you only pass info thru user data09:57
kim0which is really the use case that makes sense09:57
kim0you might want to idle around through for any of the devs to maybe correct me09:58
kim0Daviey: kirkland smoser hey folks .. The cloud forums are starting to pick up some steam10:00
Davieykim0: awesome10:00
kim0Anyone who can answer technical questions, please follow the forums rss feed10:01
kim0like for instance http://ubuntuforums.org/showthread.php?t=159712010:01
kim0I am trying to answer as much as I can10:01
kim0RSS Feed: http://ubuntuforums.org/external.php?type=RSS2&forumids=39210:02
Davieykim0: "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:02
DavieyConfuses me somewhat10:03
kim0Daviey: my understanding the cloud controller sees internet10:03
kim0the rest of the nodes .. don't10:03
Davieykim0: Hm. that isn't what he said.10:03
kim0what's "switcher"10:03
kim0:)10:03
Davieyi assume switch10:03
Davieybut how can you be *behind* a switch10:04
Davieysurely that must mean router?10:04
kim0might just be physically10:04
kim0it seems to be two machines only10:04
DavieyHmm.. then there should be no difference between 'front nodes' and 'nodes behind the switch'10:05
Davieyif that is what he is saying....10:05
kim0well .. if it's too unclear .. can you ask him to give more details10:05
DavieyHow does this forums lark worj then :)10:06
Davieywork*10:06
kim0what lark10:06
kim0what's lark10:06
kim0Daviey: I can reply asking for more info10:07
Davieydone10:08
kim0Daviey is awesome10:09
kim0:D10:09
Davieyheh10:09
Davieyno u10:09
kim0Daviey is there a way for me to run UEC without needing multiple machines10:09
kim0I know there was this one node setup thing .. it was mostly a hack huh10:10
Davieykim0: you really need at least 2 tbh.10:10
Davieyotherwise you are using an unsupported topology, making it less than useful10:11
kim0Daviey: can it run over ec210:11
kim0would that be supported or close10:11
Davieyclose10:11
Davieyyou'd be using qemu rather than kvm10:11
Davieyso, sloooooooooooooooooooooow10:12
kim0so running vms slow as hell10:12
kim0yeah :)10:12
kim0Amazon should buy nested virt chips :)10:12
nIMBVSkim0: you're the same kim0 that made this presentation: http://irclogs.ubuntu.com/2010/10/13/%23ubuntu-classroom.html#t17:00 ?10:19
kim0nIMBVS: yeah10:19
nIMBVScool10:20
kim0was I that bad :)10:20
nIMBVSno. it was ok. very helpful ot clarify some things10:20
kim0cool10:20
=== nIMBVS is now known as nIMBVS_
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
kirklandkim0: sorry, i can't keep up with the forums16:06
kim0kirkland: it's only an RSS16:06
kirklandkim0: irc, mailing lists, LP bugs, and LP answers16:06
kim0no need to poll for change :)16:06
kirklandthat's all i can do16:06
kirklandkim0: sorry, someone else is going to have to cover that16:06
kirklandkim0: i'm out of bandwidth16:06
kim0ok no worries16:07
nIMBVSdoes anybody know what gzip-rsyncable program is?16:28
nIMBVSI didn't find it anywhere in the repository16:29
nIMBVSnevermind. I found gzip-rsyncable16:38
RoAkSoAxkirkland: in the NC do I also haveb to specify "VNET_CLOUDIP="<CLC_ipaddress>"" ?16:40
RoAkSoAxkirkland: is it relevant if I do?16:40
=== dendrobates is now known as dendro-afk
kirklandRoAkSoAx: yes, i think that's important17:16
=== dendro-afk is now known as dendrobates
RoAkSoAxkirkland: 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:36
kirklandRoAkSoAx: a local cached copy of that17:37
RoAkSoAxkirkland: so what happens if the Walrus dies? will the instance die too?17:39
RoAkSoAxkirkland: 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
RoAkSoAx[Fri Oct 15 13:23:55 2010][001562][EUCAFATAL ] hypervisor failed to start domain18:25
kirklandRoAkSoAx: you need to make a minor change to the libvirt xml18:26
kirklandRoAkSoAx: replace kvm with qemu for the hypervisor18:26
RoAkSoAxkirkland: thanks ;)18:27
kirklandRoAkSoAx: np;  it's going to be *really* slow18:27
RoAkSoAxkirkland: yeah I just want it to test what would happen if the CLC dies while having running instances18:28
RoAkSoAxkirkland: i cant seem to find the xml file, where is it located exactly?18:37
RoAkSoAxfound it18:48
RoAkSoAxkirkland: 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:01
kirklandRoAkSoAx: sweet ;-)19:02
RoAkSoAxkirkland: though, the instances that were previously terminated are no longer there19:03
RoAkSoAxkirkland: is that *normal* ?19:03
RoAkSoAxor even expected behaviour?19:03
=== dendrobates is now known as dendro-afk
timwoodAfternoon.19:15
timwoodDoes anyone know how to increase the size of the root file system in the default Ubuntu EMI from the image store?19:16
RoAkSoAxhggdh: i think i just found a bug. I turned everything off but the CLC, and it still shows that there's a running instance19:24
hggdhRoAkSoAx: no CCs running at all?19:25
RoAkSoAxhggdh: nope not at all19:26
RoAkSoAxhggdh: 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 ones19:27
RoAkSoAxthen powered off CC19:27
RoAkSoAxstill showed running instances19:27
RoAkSoAxthen powered off walrus19:27
RoAkSoAxstill showing running instance19:28
RoAkSoAxthen powered NC off19:28
RoAkSoAxstill kept on showing running instance19:28
RoAkSoAxhggdh: so this is either because of the failover or because there is a real bug there...19:29
hggdhRoAkSoAx: I am not sure either19:36
hggdhbut, anyway, interesting results :-)19:36
RoAkSoAxhggdh: indeed19:37
hggdhRoAkSoAx: try bring up CC Walrus, and NC -- then see if this "running" instance is actually restarted on teh NC19:37
RoAkSoAxhggdh: will do in a bit.. i really need to get off bed xD19:39
=== 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
jeremydeisoren, 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:58
sorenjeremydei: Not a good one, no.21:59
jeremydeisoren, cool, i'll let u know how it goes :)  then maybe i'll look and see if i can do a pull-req for ya22:11
jeremydeiright now just editing the files direct, and it seems to be working22:11
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
RoAkSoAxkirkland: quick question. the br1 in the CC is used to be able to communicate with the instances only when using --addressing private?23:45

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!