Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

DI 2.21: DevOps: code, small services and teamwork

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

55 minutes

Ten servers, ten different ways

A technician sets up ten web servers by hand. By the end, each one is a little different. One has a setting missed. One has an old package.

When the tenth fails, nobody can say what it should look like.

DevOps teams solve this by writing the setup down as code.

Key words

WordWhat it means
Microservicea small separate service that does one job and talks to others
Monolithone big program that does every job in a single piece
Infrastructure as codedescribing servers and their links in files, so a tool can build them the same way each time
Networkcomputers and devices joined so they can share data
Collaborationworking together towards a shared goal
Scaleto grow or shrink the power of a system to fit the demand
Adaptto change to suit new conditions
Servera computer that provides a service to other computers
Scripta short program that does a job step by step

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can explain microservices, infrastructure as code, communication and collaboration, and adapt and scale.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Microservices

A monolith is one big program. If one part fails, the whole thing may stop. A change to one part means releasing the whole program.

A microservice design splits the system into small services. Each does one job, such as sign-in, payments or search. Each can be changed, tested and released on its own.

Infrastructure as code

Infrastructure as code means you describe servers and networks in files. A tool reads the files and builds them. Run it ten times and you get ten identical servers.

The files can be saved, reviewed, tested and undone, just like program code.

Check

Have a go

Check

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

The lesson goes on

7 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.