[Devel] Re: Container for Amazon EC2?

Jun OKAJIMA okajima at digitalinfra.co.jp
Wed Feb 17 07:23:29 PST 2010


This is my result.
I dont know very well about lxc,
but this is usable?

       --- Okajima, Jun. Tokyo, Japan.


ubuntu at 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 at 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 at domU-12-31-39-06-28-B2:~$

2010/2/18 Serge E. Hallyn <serue at 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 at 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 at 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 at lists.linux-foundation.org
>> > https://lists.linux-foundation.org/mailman/listinfo/containers
>> _______________________________________________
>> Containers mailing list
>> Containers at lists.linux-foundation.org
>> https://lists.linux-foundation.org/mailman/listinfo/containers
>
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list