[BNM] UML or V-Server on EC2

29 views
Skip to first unread message

Jay Caines-Gooby

unread,
Feb 9, 2009, 10:44:57 AM2/9/09
to Brighton New Media
Now that we have (I'm going to curse it now, by writing this) a nice
stable EC2 architecture and are getting a feel for what works and what
doesn't, I'm looking at what else we can do with it.

The most immediate issue is that we have a single nginx server
proxying both mongrel and fast-cgi. Stopping nginx means *everything*
stops however briefly. I'd like a bit of separation here. Because EC2
uses Xen, we can't use another system-level virtualisation technology
(no Xen-on-Xen and "its turtles all the way down" action possible) but
anecdotally, it seems that UML or Linux V-Server OS virtualisation
seems to be do-able with little performance penalty.

What's V-Server like to administer? Can the host OS continue with its
own functionality, or is it all given over to running V-Server virtual
instances?

Ideally, I'd like to add a basic virtual host which just runs its own
nginx and fastcgi servers, and keep the rest of the existing server's
functionality without having to V-Server this as well. We could buy an
additional elastic IP for it, so it gets its own separate IP address.

--
Jay Caines-Gooby
j...@gooby.org
+44 (0)7956 182625
twitter: jaygooby
skype: jaygooby
gtalk: jayg...@gmail.com
AIM: jaygooby
--

BNM Subscribe/Unsubscribe:
http://www.brightonnewmedia.org/options/bnmlist

BNM powered by Wessex Networks:
http://www.wessexnetworks.com

andrew holway

unread,
Feb 9, 2009, 10:56:53 AM2/9/09
to Brighton New Media
Maybe you can use open-VZ

This is an operating system level virtualisation similar to Jails in BSD

Ta

Andy

--
Moonet Ltd, registered in England and Wales No: 06330013 || VAT No: 921 6412 49
1a Orleston road, London, N7 8LH || http://www.moonet.co.uk
Registered Office: Ross House, The Square, Stow on the Wold,
Cheltenham, Glos, GL54 1AF

Tom Dussek (Hotmail)

unread,
Feb 9, 2009, 11:01:19 AM2/9/09
to Brighton New Media
Just when I'd begun to fear that the world has lost all mystery and
wonder, I'd like to congratulate Mr. Caines-Gooby on the most fantastic
4 paragraphs I've read but not understood in ages.

Tom Dussek; Simple Dolt


Jay Caines-Gooby wrote:
> Now that we have (I'm going to curse it now, by writing this) a nice
> stable EC2 architecture and are getting a feel for what works and what
> doesn't, I'm looking at what else we can do with it.
>
> The most immediate issue is that we have a single nginx server
> proxying both mongrel and fast-cgi. Stopping nginx means *everything*
> stops however briefly. I'd like a bit of separation here. Because EC2
> uses Xen, we can't use another system-level virtualisation technology
> (no Xen-on-Xen and "its turtles all the way down" action possible) but
> anecdotally, it seems that UML or Linux V-Server OS virtualisation
> seems to be do-able with little performance penalty.
>
> What's V-Server like to administer? Can the host OS continue with its
> own functionality, or is it all given over to running V-Server virtual
> instances?
>
> Ideally, I'd like to add a basic virtual host which just runs its own
> nginx and fastcgi servers, and keep the rest of the existing server's
> functionality without having to V-Server this as well. We could buy an
> additional elastic IP for it, so it gets its own separate IP address.
>
--

BNM Subscribe/Unsubscribe:

Mat Walker

unread,
Feb 9, 2009, 11:05:12 AM2/9/09
to Brighton New Media
On 9/2/09 16:01, Tom Dussek (Hotmail) wrote:
> Just when I'd begun to fear that the world has lost all mystery and
> wonder, I'd like to congratulate Mr. Caines-Gooby on the most fantastic
> 4 paragraphs I've read but not understood in ages.
>
> Tom Dussek; Simple Dolt
>
Glad I'm not the only thicky on the list who didn't understand it! :)

Mat

Michael Rose

unread,
Feb 9, 2009, 11:20:47 AM2/9/09
to Brighton New Media

I liked the bit about the turtles - I understood the turtles

Mat
--

BNM Subscribe/Unsubscribe:
http://www.brightonnewmedia.org/options/bnmlist

############################################################
Please consider the environment before printing this e-mail.

This e-mail message, including any attachments, is for the sole use of the person to whom it has been sent and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail, and permanently delete this message and any attachments. Study Group makes no warranty that this e-mail is error or virus free. Study Group International Ltd, Registered in England, number 3108030, Registered office: 1 Billinton Way, Brighton, East Sussex BN1 4LF. Study Group International Ltd is the parent company of Bellerbys Educational Services and Embassy CES.
############################################################

Jay Caines-Gooby

unread,
Feb 9, 2009, 11:23:08 AM2/9/09
to Brighton New Media
On Mon, Feb 9, 2009 at 4:01 PM, Tom Dussek (Hotmail)
<tomd...@hotmail.com> wrote:
> Just when I'd begun to fear that the world has lost all mystery and
> wonder, I'd like to congratulate Mr. Caines-Gooby on the most fantastic
> 4 paragraphs I've read but not understood in ages.

I have a fat kitten. When I temporarily stun it, I want a bit of it to
keep on purring. What technologies can I use to cut my fat kitten in
half?

--
Jay Caines-Gooby
j...@gooby.org
+44 (0)7956 182625
twitter: jaygooby
skype: jaygooby
gtalk: jayg...@gmail.com
AIM: jaygooby

David Pashley

unread,
Feb 9, 2009, 11:57:08 AM2/9/09
to Brighton New Media
On Feb 09, 2009 at 16:01, Tom Dussek (Hotmail) praised the llamas by saying:

> Just when I'd begun to fear that the world has lost all mystery and
> wonder, I'd like to congratulate Mr. Caines-Gooby on the most fantastic
> 4 paragraphs I've read but not understood in ages.
>
Made perfect sense to me. I'm not sure if that says more about you or
me. :S

--
David Pashley
da...@davidpashley.com
Nihil curo de ista tua stulta superstitione.

Tom Dussek (Hotmail)

unread,
Feb 9, 2009, 12:57:07 PM2/9/09
to Brighton New Media
J*sus, Jay! Are you some kind of kitten-stunning newbie?! What stunning
format? Your cutting platform is...?!?! Level of purr required? Cutting
laterally or...er...the other way? And which half? Ch*st, this list used
to be for professionals. FTFM!!!!

Tom Dussek

Jay Caines-Gooby wrote:
> On Mon, Feb 9, 2009 at 4:01 PM, Tom Dussek (Hotmail)
> <tomd...@hotmail.com> wrote:
>> Just when I'd begun to fear that the world has lost all mystery and
>> wonder, I'd like to congratulate Mr. Caines-Gooby on the most fantastic
>> 4 paragraphs I've read but not understood in ages.
>
> I have a fat kitten. When I temporarily stun it, I want a bit of it to
> keep on purring. What technologies can I use to cut my fat kitten in
> half?
>
>
>
--

BNM Subscribe/Unsubscribe:

Nick Taylor

unread,
Feb 10, 2009, 12:50:03 AM2/10/09
to Brighton New Media

I think what he said in a nutshell is:

"Now that we have a nice stable EC2 architecture, something or other

Sevan / Venture37

unread,
Feb 10, 2009, 7:03:10 AM2/10/09
to Brighton New Media
Probably not what you want to hear but here it is anyway.
Sun offers various OpenSolaris images for EC2 for different hosting
requirements eg hosting RoR, Jboss etc etc.
http://blogs.sun.com/ec2/entry/opensolaris_based_ami_catalog_on

Sign Up
http://aws.amazon.com/solutions/featured-partners/opensolaris/

Deploy

http://blogs.sun.com/ec2/entry/opensolaris_based_ror_ami
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1438&categoryID=101

Use containers to do your OS level virtualisation
http://opensolaris.org/os/community/zones/faq/


The advantage you have over linux here is that you've got DTrace & ZFS.
DTrace probes for mysql are in the pipeline, this will allow you to
analyse what mysql is doing in realtime (queries etc) which should make
troubleshooting & finding bottlenecks much easier.

Jay Caines-Gooby

unread,
Feb 10, 2009, 7:11:41 AM2/10/09
to Brighton New Media
On Tue, Feb 10, 2009 at 12:03 PM, Sevan / Venture37 <vent...@gmail.com> wrote:
> Probably not what you want to hear but here it is anyway.
> Sun offers various OpenSolaris images for EC2 for different hosting
> requirements eg hosting RoR, Jboss etc etc.
> http://blogs.sun.com/ec2/entry/opensolaris_based_ami_catalog_on
>
> Sign Up
> http://aws.amazon.com/solutions/featured-partners/opensolaris/
>
> Deploy
>
> http://blogs.sun.com/ec2/entry/opensolaris_based_ror_ami
> http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1438&categoryID=101
>
> Use containers to do your OS level virtualisation
> http://opensolaris.org/os/community/zones/faq/
>
>
> The advantage you have over linux here is that you've got DTrace & ZFS.
> DTrace probes for mysql are in the pipeline, this will allow you to
> analyse what mysql is doing in realtime (queries etc) which should make
> troubleshooting & finding bottlenecks much easier.

Cheers Sevan,

I'll have a read.

--
Jay Caines-Gooby
j...@gooby.org
+44 (0)7956 182625
twitter: jaygooby
skype: jaygooby
gtalk: jayg...@gmail.com
AIM: jaygooby

Sevan / Venture37

unread,
Feb 10, 2009, 7:35:11 AM2/10/09
to Brighton New Media
Jay Caines-Gooby wrote:
> Cheers Sevan,
>
> I'll have a read.
>

No worries,
Looks like they've built DTrace probe for RoR aswell which will allow
you see what's going on with your code in realtime aswell!

"DTrace probes have been integrated into the Ruby source code, and this
provides low overhead monitoring for your Rails application."


Sevan

Reply all
Reply to author
Forward
0 new messages