/srv/irclogs.ubuntu.com/2010/12/17/#ubuntu-cloud.txt

liamwhats the difference between the .pem key you get with your instance to the access keys, X.509 certs and key pairs that are in your account access credentials page in aws?02:46
liamdoes anyone know if you do the api tools steps outlined here https://help.ubuntu.com/community/EC2StartersGuide that you can ssh in to your ec2 instance with having to use the command "-i key.pem" ??02:49
flaccidliam: http://docs.amazonwebservices.com/AWSSecurityCredentials/1.0/AboutAWSCredentials.html02:49
flaccidliam: no, a private key is required by default with images02:50
flaccidyou might like to add the private key to your client ssh02:50
liamthe private key is the .pem right?02:50
flaccidi would assume so02:50
liamflaccid: I still cant find how to add it to the ssh client...02:51
flaccidrtfm02:51
liamis it just ssh add key.pem??02:51
erichammondliam: Instead of having Amazon generate an ssh key, you can simply upload your default to avoid needing "-i"03:00
erichammondliam: I wrote about it here: http://alestic.com/2010/10/ec2-ssh-keys03:00
liamerichammond: thank you.03:01
erichammondThis is my recommended way of working with EC2 now.  There's no need to have Amazon generate ssh keys any more.03:01
flaccidsorry that i am short today. gotta do a release in 2 hours03:01
erichammondflaccid: I often say nothing to avoid saying nothing nice :)03:02
flaccidtrue03:02
erichammond#ubuntu-* channels have higher standards: https://wiki.ubuntu.com/IRC/Guidelines03:06
erichammondIt's one of the things that drew me to Ubuntu03:06
erichammondbesides the fact that it just worked better and didn't break when upgrading.03:07
flaccidlol03:07
flaccidi wasted 3 years with ubuntu, i aint going back03:07
erichammondand the software packages were more recent versions03:08
erichammondand...03:08
flaccidi have much higher standards than ubuntu03:08
progre55hi guys. Is there a way to re-register (deregister - register) walrus without losing any of the already uploaded images, kernels, etc?09:54
TeTeTprogre55: never tried that, but I don't think that this is possible :(10:30
progre55TeTeT: I've managed to change it, from the admin web ui, but still, when I say "euca-describe-images" I get "no route to host" after some time..10:31
progre55TeTeT: Oh, I havent changed the environment variables after I changed the IP address =)10:33
TeTeTprogre55: you probably need to d/l new credentials from the admin interface10:33
progre55TeTeT: it's working now, after I changed the EC2_URL env. variable to the correct one =)10:34
progre55thanks10:34
TeTeTprogre55: was merely reading, didn't do anything10:35
progre55TeTeT: but still, it's nice to know that there are people trying to help you =)10:36
TeTeT:)10:37
progre55TeTeT: a question, if I may =)10:46
progre55I have downloaded one of my images using "euca-download-image" and it's a bunch of 10Mb files with a manifest. how can I convert it to a single image file now?10:47
progre55oops, i.e. euca-download-bundle10:49
progre55oh, euca-unbundle, I guess10:52
TeTeTprogre55: yes, euca-unbundle10:54
progre55TeTeT: thanks =)10:54
TritoLuxhi there, just out of curiosity.. is UEC the only distribution able to make use the POWERSAVE option?10:58
TritoLuxmake use OF the..11:00
gijowhat is the parameter port in boto.connect_ec2()11:58
TeTeTgijo: probably 877312:16
TeTeTgijo: for UEC that is, don't know for Amazon EC212:17
gijothx12:18
TritoLuxthat you know of, is UEC the only distribution able to make use of the POWERSAVE option? since I get powernap error 255 out of the box, is there anything I need to change in the default config to make it work in maverick? is apparmor aware of powernap policies?12:32
=== 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
samuelhey all16:01
kim0samuel: hey16:17
=== 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
TritoLuxis UEC the only distribution able to make use of the POWERSAVE option? since I get powernap error 255 out of the box, is there anything I need to change in the default config to make it work in maverick? is apparmor aware of powernap policies?21:15
mathiazsmoser: hi!21:25
mathiazsmoser: do you know if someone looked at hosting an apt repository in S3?21:25
mathiazsmoser: given that S3 is accessible via http and that apt uses http to download files, I wonder if an apt repository could be hosted in S3?21:26
smoseri had read something about this at one point21:27
smoseriirc there was some issue with it, vut i don't really recall what. i only went as far as seing someone say they had issues...21:27
smoserbut don't let that stop you from trying21:27
smoserhttps://github.com/kyleshank/apt-s3 might have more info21:28
smoserhm.. htat seems to do authetnticated s3... so maybe unautghed s3 "just works"21:28
erichammondmathiaz: I think S3 should be fine for an apt repository as long as you can get the files uploaded in a timely manner and detect which files need to be updated on each refresh (following the correct order).23:08
erichammondmathiaz: I tried a couple years ago using s3fs (and rsync?).  I gave it up because my initial upload was taking forever and RightScale (then Canonical) started mirroring Ubuntu repositories on EC2 instances.23:09
mathiazerichammond: right23:15
mathiazerichammond: I'm looking at hosting my own packages as part of the infrastructure23:15
mathiazerichammond: and I would also need private access to S323:15
mathiazerichammond: as some of the packages may include private data23:15
mathiazerichammond: for a public repository I think that a normal apt repo can just be mirrored to an S3 bucket23:16
mathiazerichammond: if file names in the Packages.gz files are relative23:16
mathiazerichammond: it should even be possible to mirror a pool/ dists/ layout in S3?23:16
mathiazerichammond: if S3 supports sub-directories23:16
erichammondmathiaz: S3 supports "keys" where the key can include slashes.  This means that you can emulate subdirectories as far as HTTP goes, and many tools like s3fs and web UIs also present a subdirectory paradigm.23:18
mathiazerichammond: that's great - so it should possible to host a public apt repository in S3 follow the same structure as a local repo23:18
erichammondmathiaz: I believe so, yes.23:19
mathiazerichammond: however providing a private repo in S3 may be a bit more complicated23:19
erichammondIt won't auto-generate subdirectory listings or replace /dir/ with /dir/index.html, but I don't think apt repositories require those.23:19
mathiazerichammond: correct - apt doesn't require those23:19
erichammondmathiaz: Using the HTTP(S) protocol, the only way you could get private would be to pick a very long, random bucket name and always use SSL.23:20
erichammondThe bucket name would effectively be your password.23:20
erichammondNot a highly recommended approach, but I toss it out for consideration as it may work for some situations.23:24
mathiazerichammond: right - smoser pointed out an apt method that supports authentication23:25
mathiazerichammond: using an access id and a secret key23:25
erichammondmathiaz: Yep, I saw that when it came out (2008) but haven't tried it.23:25

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