DevOps (Phil's Request)

I made some adjustments to the recording environment, please let me know if the audio here is better, worse, or no change. Thanks!

https://admindev.tech/podcast

@dobzz Got them show notes in the site, boyo.

@SynapticCleft12 Per your request :wink:

Today I decided to scratch the itch of DevOps. I’d been yearning to do a talk on it and since I’m not famous enough to demand a stage I had to opt for my own channel :wink:

Show notes:

2 Likes

Aww yeah! Blue green deployment is interesting. I’m still trying to wrap my head around the networking/loadbalancing aspect of blue green.

1 Like

Yeah man, I think with a roundrobin system or a server pool it would work best. You can introduce one or two from the new stack while taking away servers from the other stack. Or just add a handful of new servers to the pool. Testing prior to switching is viable, too, then you just point the Green DNS at Blue.

#winning

The way we do it at my company is this:

We have a service called overseer that runs on an instance in the VPC for our environment. That scripts adjusts ASG target numbers and LB targets.

We have ASGs for frontend and backend everything, then for each of those, we have A and B. (blue and green)

A new environment will see A with our target of 3-5 (depending on prod or dev) workers on the ASG. When the worker instances spin up, they ping the overseer that tells them to pull in the latest docker containers and spin up the services for that specific environment.

When we switch, we just tell overseer to crank up the B ASGs. When they are up, (and updated) overseer changes the ALB targets and soft-kills the A workers. We have a large environment, so the whole process takes about 30 minutes, but we really only have approx 15 seconds of downtime, so it’s pretty much imperceptible to end users. :smiley:

I would love to share code and whatnot, but I’m not sure my NDA would allow that.

Feel free to pick my brain though.

1 Like

That is really badass. I think you are utilizing the power of containers more than most. I’ll try and think of questions and send them your way.


For those of you that listened to the episode, any pros, cons, neutrals?

there is one con I have with almost every episode:

NOT. DEEP. ENOUGH.

But I guess that’s just me not being satisfied with what I got.

2 Likes

Wait until next episode, fam.

2 Likes

image

2 Likes

Yeah, we’ve containerized everything except the overseer. (I wonder if we should. :thinking:)

Haven’t had a chance to listen yet.

Yeah, that’s what my girlfriend complained about. I’m givin’ 'er all she’s got cap’n!

3 Likes