Live data from Hacker News

How We Build Code at Netflix

techblog.netflix.com

1–10 of 140 posts

Re: How We Build Code at Netflix

#6
post #4

Spinnaker is an amazing tool. Really makes it easy to confidently deploy applications via immutable infrastructure.

Can some one explain to me what immutable means in terms of "infrastructure" ?

You build the VM one time, deploy it to dev. If all tests pass, you deploy the exact same VM to test/stage/prod/whatever.

It's the diff between a new build (of the "same code") for each environment versus building up the VM one and deploy that.

Re: How We Build Code at Netflix

#7
post #4

Spinnaker is an amazing tool. Really makes it easy to confidently deploy applications via immutable infrastructure.

Can some one explain to me what immutable means in terms of "infrastructure" ?

Roughly that services are not upgraded in place, but completely replaced, here by creating a new image and launching it in fresh instances, then shutting down the instances running old code. Makes sure that all instances are exactly the same, vs otherwise there might be differences between freshly created and upgraded ones etc.

Re: How We Build Code at Netflix

#8
post #4

Spinnaker is an amazing tool. Really makes it easy to confidently deploy applications via immutable infrastructure.

Can some one explain to me what immutable means in terms of "infrastructure" ?

The article actually discusses this directly.

Re: How We Build Code at Netflix

#10
post #4

Spinnaker is an amazing tool. Really makes it easy to confidently deploy applications via immutable infrastructure.

Can some one explain to me what immutable means in terms of "infrastructure" ?

A short summary would be that your infrastructure (instances) are replaced for every deployment instead of updated in place. This is all done via continuous delivery tools (spinnaker, jenkins etc) and is very important to be able to easily scale microservices horizontally.
Post reply on HN