[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: staging environment discussion

On Fri, Sep 5, 2008 at 1:16 PM, Mike McGrath <mmcgrath redhat com> wrote:
> So as many of you have seen in the commits lists, the staging environment
> is coming along and getting built.  I've hit a policy issue and so I
> thought instead of just doing this in a black hole.  I'd discuss it.
> The way I see it there are two ways to do staging environments.  For those
> of you unfamiliar with staging the general idea is to have an environment
> as close to production as feasible.
> 1) use identical configs with only minor changes and use /etc/hosts to
> fake things to point where you need them.  Not always possible but
> generally good where you can do it.
> 2) use different configs in production and staging.  The differences being
> able to redirect things, using different usernames, passwords, hostnames,
> etc.
> Each has pros and cons.  Right now I'd like to do 1) but I don't think its
> possible.  2) is going to require a lot of focus.  For example... we won't
> be able to just git merge from staging to production as we could with 1).

there is also a combination of #1 and #2. Basically you have to create
3-4 separate network topologies (this is where you have different
configs), and maybe have your bastion/proxy systems different.

           Name            Network
Network A: Development  --
             Servers      --
             NFS          --
Network B: QA           --
             Servers      --
             NFS          --
Network C: Staging      --
             Servers      --
             NFS          --
Network D: Production   --
             Servers      --
             NFS          --
Network E: Management   --
	     Puppet       --
	     Drac/Serial --
Network F: Bastion Network

[Ok I would love to have done this when I was at RH... but didn't
really see it in action til later.]

Basically a box would have 3-4 network connections. The puppet and
drac/serial networks are on all systems so have to be extra protected
as that is where an attacker could walk from system to system. The
bastion network is basically the front end that would do rewrites and
other layers so that configs are the same.

And yes, this might be overkill and probably has holes in it.. I am
doing it from memory on how a site seemed to be set up and had
basically little downtime for critical HR services.

> Security's only an issue in that we don't want people making changes to
> production data from staging and vise versa.  The same people will have
> the same access to both of these environments without exception.
> I'm going to continue to think about this.  I've had staging environments
> in the past.  Both went with option 2).  But still.  I'd like to hold this
> discussion so discuss.
>        -Mike
> _______________________________________________
> Fedora-infrastructure-list mailing list
> Fedora-infrastructure-list redhat com
> https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

Stephen J Smoogen. -- BSD/GNU/Linux
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]