* Container for Amazon EC2?
@ 2010-02-15 10:43 Jun OKAJIMA
[not found] ` <2c2629fa1002150243n4c91d93ctee4509912228f3ea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Jun OKAJIMA @ 2010-02-15 10:43 UTC (permalink / raw)
To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Somebody know any Amazon EC2 Image which
supports any container technology?
Vserver/LXC/OpenVZ... Any technology is Okay,
I want to use pre-created image for EC2.
I found many images for Ubuntu 9.10,
but it lacks some support for LXC.
Fedora12 supports all functions of LXC,
but did not find any image.
--- Okajima, Jun. Tokyo, Japan.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Container for Amazon EC2?
[not found] ` <2c2629fa1002150243n4c91d93ctee4509912228f3ea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-02-15 14:39 ` Serge E. Hallyn
[not found] ` <20100215143905.GD28038-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Serge E. Hallyn @ 2010-02-15 14:39 UTC (permalink / raw)
To: Jun OKAJIMA; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
It's been a little while (probably a year) since I played with
EC2, but generally the problem is that you don't have much of
a choice for underlying kernels. So you can't pick vserver/openvz
kernels, and the available kernels are too old to have containers
features. As kernels get updated, whether you can use lxc or not
will only depend on whether CONFIG_{containers} features are compiled
in.
It couldn't hurt to write the amazon folks and ask about it...
-serge
Quoting Jun OKAJIMA (okajima-og82NyAXoxRpnGNL948N7c8NsWr+9BEh@public.gmane.org):
> Somebody know any Amazon EC2 Image which
> supports any container technology?
> Vserver/LXC/OpenVZ... Any technology is Okay,
> I want to use pre-created image for EC2.
>
> I found many images for Ubuntu 9.10,
> but it lacks some support for LXC.
> Fedora12 supports all functions of LXC,
> but did not find any image.
>
> --- Okajima, Jun. Tokyo, Japan.
> _______________________________________________
> Containers mailing list
> Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> https://lists.linux-foundation.org/mailman/listinfo/containers
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Container for Amazon EC2?
[not found] ` <20100215143905.GD28038-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2010-02-17 15:19 ` Serge E. Hallyn
[not found] ` <20100217151943.GA9159-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Serge E. Hallyn @ 2010-02-17 15:19 UTC (permalink / raw)
To: Jun OKAJIMA; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
So I tried running one of the public ubuntu karmic images in
ec2 (ami-bb709dd2). I could sudo apt-get install lxc. The
default kernel (aki-5f15f636) didn't support namespaces. Now
you can specify kernels at boot, but I'm not sure if there is
an easy way to find kernels with specific CONFIG_ options.
I'll let you know if I find one with all namespaces and
veth+bridge+macvlan enabled, bc that would then give you
everything you'd need.
-serge
Quoting Serge E. Hallyn (serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org):
> It's been a little while (probably a year) since I played with
> EC2, but generally the problem is that you don't have much of
> a choice for underlying kernels. So you can't pick vserver/openvz
> kernels, and the available kernels are too old to have containers
> features. As kernels get updated, whether you can use lxc or not
> will only depend on whether CONFIG_{containers} features are compiled
> in.
>
> It couldn't hurt to write the amazon folks and ask about it...
>
> -serge
>
> Quoting Jun OKAJIMA (okajima-og82NyAXoxRpnGNL948N7c8NsWr+9BEh@public.gmane.org):
> > Somebody know any Amazon EC2 Image which
> > supports any container technology?
> > Vserver/LXC/OpenVZ... Any technology is Okay,
> > I want to use pre-created image for EC2.
> >
> > I found many images for Ubuntu 9.10,
> > but it lacks some support for LXC.
> > Fedora12 supports all functions of LXC,
> > but did not find any image.
> >
> > --- Okajima, Jun. Tokyo, Japan.
> > _______________________________________________
> > Containers mailing list
> > Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> > https://lists.linux-foundation.org/mailman/listinfo/containers
> _______________________________________________
> Containers mailing list
> Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> https://lists.linux-foundation.org/mailman/listinfo/containers
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Container for Amazon EC2?
[not found] ` <20100217151943.GA9159-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2010-02-17 15:23 ` Jun OKAJIMA
[not found] ` <2c2629fa1002170723o43aed18as7745b2ce4217474b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Jun OKAJIMA @ 2010-02-17 15:23 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
This is my result.
I dont know very well about lxc,
but this is usable?
--- Okajima, Jun. Tokyo, Japan.
ubuntu@domU-12-31-39-06-28-B2:~$ lxc-checkconfig
Kernel config /proc/config.gz not found, looking in other places...
Found kernel config file /boot/config-2.6.31-302-ec2
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: disabled
User namespace: disabled
Network namespace: disabled
Multiple /dev/pts instances: disabled
--- Control groups ---
Cgroup: enabled
Cgroup namespace: enabled
Cgroup device: disabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled
--- Misc ---
Veth pair device: enabled
Macvlan: enabled
File capabilities: enabled
ubuntu@domU-12-31-39-06-28-B2:~$ uname -a
Linux domU-12-31-39-06-28-B2 2.6.31-302-ec2 #7-Ubuntu SMP Tue Oct 13
19:55:22 UTC 2009 x86_64 GNU/Linux
ubuntu@domU-12-31-39-06-28-B2:~$
2010/2/18 Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>:
> So I tried running one of the public ubuntu karmic images in
> ec2 (ami-bb709dd2). I could sudo apt-get install lxc. The
> default kernel (aki-5f15f636) didn't support namespaces. Now
> you can specify kernels at boot, but I'm not sure if there is
> an easy way to find kernels with specific CONFIG_ options.
> I'll let you know if I find one with all namespaces and
> veth+bridge+macvlan enabled, bc that would then give you
> everything you'd need.
>
> -serge
>
> Quoting Serge E. Hallyn (serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org):
>> It's been a little while (probably a year) since I played with
>> EC2, but generally the problem is that you don't have much of
>> a choice for underlying kernels. So you can't pick vserver/openvz
>> kernels, and the available kernels are too old to have containers
>> features. As kernels get updated, whether you can use lxc or not
>> will only depend on whether CONFIG_{containers} features are compiled
>> in.
>>
>> It couldn't hurt to write the amazon folks and ask about it...
>>
>> -serge
>>
>> Quoting Jun OKAJIMA (okajima-og82NyAXoxRpnGNL948N7c8NsWr+9BEh@public.gmane.org):
>> > Somebody know any Amazon EC2 Image which
>> > supports any container technology?
>> > Vserver/LXC/OpenVZ... Any technology is Okay,
>> > I want to use pre-created image for EC2.
>> >
>> > I found many images for Ubuntu 9.10,
>> > but it lacks some support for LXC.
>> > Fedora12 supports all functions of LXC,
>> > but did not find any image.
>> >
>> > --- Okajima, Jun. Tokyo, Japan.
>> > _______________________________________________
>> > Containers mailing list
>> > Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
>> > https://lists.linux-foundation.org/mailman/listinfo/containers
>> _______________________________________________
>> Containers mailing list
>> Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
>> https://lists.linux-foundation.org/mailman/listinfo/containers
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Container for Amazon EC2?
[not found] ` <2c2629fa1002170723o43aed18as7745b2ce4217474b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-02-17 15:31 ` Jun OKAJIMA
[not found] ` <2c2629fa1002170731l4f58f5c7p64caccb8e662d6e5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-17 15:36 ` Serge E. Hallyn
1 sibling, 1 reply; 8+ messages in thread
From: Jun OKAJIMA @ 2010-02-17 15:31 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
My AMI/Kernel is this.
AMI ID: ami-7d43ae14
Kernel ID: aki-fd15f694
--- Okajima, Jun. Tokyo, Japan.
2010/2/18 Jun OKAJIMA <okajima@digitalinfra.co.jp>:
> This is my result.
> I dont know very well about lxc,
> but this is usable?
>
> ツꀀ ツꀀ ツꀀ --- Okajima, Jun. Tokyo, Japan.
>
>
> ubuntu@domU-12-31-39-06-28-B2:~$ lxc-checkconfig
> Kernel config /proc/config.gz not found, looking in other places...
> Found kernel config file /boot/config-2.6.31-302-ec2
> --- Namespaces ---
> Namespaces: enabled
> Utsname namespace: enabled
> Ipc namespace: enabled
> Pid namespace: disabled
> User namespace: disabled
> Network namespace: disabled
> Multiple /dev/pts instances: disabled
>
> --- Control groups ---
> Cgroup: enabled
> Cgroup namespace: enabled
> Cgroup device: disabled
> Cgroup sched: enabled
> Cgroup cpu account: enabled
> Cgroup memory controller: enabled
> Cgroup cpuset: enabled
>
>
>
> --- Misc ---
> Veth pair device: enabled
> Macvlan: enabled
> File capabilities: enabled
> ubuntu@domU-12-31-39-06-28-B2:~$ uname -a
> Linux domU-12-31-39-06-28-B2 2.6.31-302-ec2 #7-Ubuntu SMP Tue Oct 13
> 19:55:22 UTC 2009 x86_64 GNU/Linux
> ubuntu@domU-12-31-39-06-28-B2:~$
>
> 2010/2/18 Serge E. Hallyn <serue@us.ibm.com>:
>> So I tried running one of the public ubuntu karmic images in
>> ec2 (ami-bb709dd2). ツꀀI could sudo apt-get install lxc. ツꀀThe
>> default kernel (aki-5f15f636) didn't support namespaces. ツꀀNow
>> you can specify kernels at boot, but I'm not sure if there is
>> an easy way to find kernels with specific CONFIG_ options.
>> I'll let you know if I find one with all namespaces and
>> veth+bridge+macvlan enabled, bc that would then give you
>> everything you'd need.
>>
>> -serge
>>
>> Quoting Serge E. Hallyn (serue@us.ibm.com):
>>> It's been a little while (probably a year) since I played with
>>> EC2, but generally the problem is that you don't have much of
>>> a choice for underlying kernels. ツꀀSo you can't pick vserver/openvz
>>> kernels, and the available kernels are too old to have containers
>>> features. ツꀀAs kernels get updated, whether you can use lxc or not
>>> will only depend on whether CONFIG_{containers} features are compiled
>>> in.
>>>
>>> It couldn't hurt to write the amazon folks and ask about it...
>>>
>>> -serge
>>>
>>> Quoting Jun OKAJIMA (okajima@digitalinfra.co.jp):
>>> > Somebody know any Amazon EC2 Image which
>>> > supports any container technology?
>>> > Vserver/LXC/OpenVZ... Any technology is Okay,
>>> > I want to use pre-created image for EC2.
>>> >
>>> > I found many images for Ubuntu 9.10,
>>> > but it lacks some support for LXC.
>>> > Fedora12 supports all functions of LXC,
>>> > but did not find any image.
>>> >
>>> > ツꀀ ツꀀ ツꀀ --- Okajima, Jun. Tokyo, Japan.
>>> > _______________________________________________
>>> > Containers mailing list
>>> > Containers@lists.linux-foundation.org
>>> > https://lists.linux-foundation.org/mailman/listinfo/containers
>>> _______________________________________________
>>> Containers mailing list
>>> Containers@lists.linux-foundation.org
>>> https://lists.linux-foundation.org/mailman/listinfo/containers
>>
>
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Container for Amazon EC2?
[not found] ` <2c2629fa1002170723o43aed18as7745b2ce4217474b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-17 15:31 ` Jun OKAJIMA
@ 2010-02-17 15:36 ` Serge E. Hallyn
1 sibling, 0 replies; 8+ messages in thread
From: Serge E. Hallyn @ 2010-02-17 15:36 UTC (permalink / raw)
To: Jun OKAJIMA; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Quoting Jun OKAJIMA (okajima-og82NyAXoxRpnGNL948N7c8NsWr+9BEh@public.gmane.org):
> This is my result.
> I dont know very well about lxc,
> but this is usable?
I'm not sure which you mean as usable: lxc is very usable, and
lets you run multiple application and system containers of various
distros. The lxc-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org mailing list was
recently started to accomodate its growing user base.
The kernel on the ec2 instance, however, is not :)
It might be worth jumping onto #ubuntu-virt and asking whether
they have, or can publish, a kernel with, at the least:
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_FREEZER=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_VETH=y
CONFIG_MACVLAN=y
CONFIG_BRIDGE=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
Those should be sufficient to start using lxc very nicely
-serge
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Container for Amazon EC2?
[not found] ` <2c2629fa1002170731l4f58f5c7p64caccb8e662d6e5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-02-17 16:30 ` Serge E. Hallyn
[not found] ` <20100217163029.GA24119-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Serge E. Hallyn @ 2010-02-17 16:30 UTC (permalink / raw)
To: Jun OKAJIMA; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
Quoting Jun OKAJIMA (okajima-og82NyAXoxRpnGNL948N7c8NsWr+9BEh@public.gmane.org):
> My AMI/Kernel is this.
>
> AMI ID: ami-7d43ae14
> Kernel ID: aki-fd15f694
>
> --- Okajima, Jun. Tokyo, Japan.
Oh I assume in your zone you have different ami's? But the latest
lucid testing ami has a good kernel! In US east zone my ami was
ami-071ff36e
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Container for Amazon EC2?
[not found] ` <20100217163029.GA24119-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
@ 2010-02-17 16:39 ` Jun OKAJIMA
0 siblings, 0 replies; 8+ messages in thread
From: Jun OKAJIMA @ 2010-02-17 16:39 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
My zone is this.
Zone: us-east-1d
I think this is US East, Virginia iDC.
--- Okajima, Jun. Tokyo, Japan.
2010/2/18 Serge E. Hallyn <serge-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>:
> Quoting Jun OKAJIMA (okajima-og82NyAXoxRpnGNL948N7c8NsWr+9BEh@public.gmane.org):
>> My AMI/Kernel is this.
>>
>> AMI ID: ami-7d43ae14
>> Kernel ID: aki-fd15f694
>>
>> --- Okajima, Jun. Tokyo, Japan.
>
> Oh I assume in your zone you have different ami's? But the latest
> lucid testing ami has a good kernel! In US east zone my ami was
> ami-071ff36e
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-02-17 16:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 10:43 Container for Amazon EC2? Jun OKAJIMA
[not found] ` <2c2629fa1002150243n4c91d93ctee4509912228f3ea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-15 14:39 ` Serge E. Hallyn
[not found] ` <20100215143905.GD28038-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-02-17 15:19 ` Serge E. Hallyn
[not found] ` <20100217151943.GA9159-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-02-17 15:23 ` Jun OKAJIMA
[not found] ` <2c2629fa1002170723o43aed18as7745b2ce4217474b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-17 15:31 ` Jun OKAJIMA
[not found] ` <2c2629fa1002170731l4f58f5c7p64caccb8e662d6e5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-17 16:30 ` Serge E. Hallyn
[not found] ` <20100217163029.GA24119-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
2010-02-17 16:39 ` Jun OKAJIMA
2010-02-17 15:36 ` Serge E. Hallyn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.