The post has been translated automatically. Original language: Russian
When a new internal service appears, many people follow the simplest path.
There is a server on which the processor, memory and disk are free. This means that you can install another application there.
At first it really seems convenient.
The website is running on the same server.
There is a database nearby.
There's also a monitoring system.
Later, the corporate Wiki appears.
Then a VPN.
After a while, the file storage is added.
While there are few users, everything is functioning without noticeable problems.
But a year passes, and the question arises: what exactly can be rebooted, updated, or migrated so as not to break anything?
It turns out that it is no longer easy to answer.
All services start to depend on each other.
If you need to update the operating system, you have to consider several applications at once.
If one service suddenly starts actively using the processor or memory, this affects the work of the others.
And if you need to transfer only one of them to another server, you won't be able to do it quickly.
That is why virtualization has changed the way we build infrastructure.
Today, a separate virtual machine is not a luxury or a sign of redundancy.
This is a way to make the system more understandable.
Each service gets its own environment.
It can be updated independently of the others.
Restarting one application does not affect the neighboring ones.
It's easier to look for the causes of errors.
It's easier to migrate services.
It's easier to plan development.
Of course, it doesn't always make sense to create a separate VM for each small task either.
It is important to maintain a balance.
But if a service performs an independent function, has its own lifecycle, or requires separate maintenance, isolation usually pays off.
There is an interesting observation.
When the infrastructure is just developing, everyone is thinking about computing resources.
Is there enough memory?
Is there enough CPU?
How much disk space should I choose?
After a few years, the questions become completely different.
How easy is it to update this service?
Is it possible to transfer it without stopping the rest?
Is it clear to the new employee exactly where he works?
It is then that it becomes noticeable that a well-divided infrastructure saves not so much processor time as people's time.
Cloud technologies are valued not only for the ability to quickly create a virtual machine.
The main advantage comes later, when the infrastructure grows. The more independent and understandable components it has, the easier it is to maintain order and the less likely it is that a change in one place will unexpectedly affect the operation of a completely different service.
О хорошей инфраструктуре редко говорят.
Обсуждать начинают совсем другое.
Сайт перестал открываться.
Почта не работает.
Не запускается внутренняя система.
Сотрудники не могут подключиться удаленно.
Пока все функционирует нормально, кажется, что инфраструктура существует сама по себе. Она просто должна работать.
И это, пожалуй, лучший показатель ее качества.
За последние годы отношение к IT заметно изменилось.
Раньше инфраструктуру часто воспринимали как набор серверов, сетевого оборудования и программ. Сегодня все больше компаний смотрят на нее иначе.
Это такой же рабочий инструмент, как электричество в офисе или водоснабжение в здании.
Никто не приходит утром с мыслью проверить, есть ли электричество. Люди просто рассчитывают, что оно будет.
С цифровой инфраструктурой происходит то же самое.
Когда она построена грамотно, сотрудники не думают о виртуальных машинах, дисковых массивах или сетях. Они открывают CRM, отвечают клиентам, публикуют новые материалы на сайте и проводят встречи.
То есть занимаются своей работой.
Иногда можно услышать вопрос: как понять, что инвестиции в инфраструктуру были оправданными?
Есть неожиданная мысль.
Возможно, лучший результат — это отсутствие обсуждений.
Если за последний год в компании ни разу не пришлось отменять встречи из-за недоступности сервисов, переносить запуск проекта из-за нехватки ресурсов или экстренно искать причины очередного сбоя, значит большая часть работы была выполнена заранее.
Именно слово "заранее" здесь самое важное.
Хорошая инфраструктура редко строится вокруг героических действий.
Она строится вокруг решений, которые приняли несколько месяцев назад.
Выбрали архитектуру с запасом для роста.
Настроили резервное копирование.
Проверили процедуру восстановления.
Автоматизировали рутинные операции.
Когда возникает нештатная ситуация, со стороны кажется, что ничего особенного не произошло. Хотя за этой внешней простотой обычно стоят десятки небольших технических решений.
Наверное, поэтому о качественной инфраструктуре пишут и говорят гораздо меньше, чем о громких авариях.
Она не попадает в новости.
Не становится поводом для обсуждений.
Она просто позволяет бизнесу работать так, будто никаких сложных технологий за этим нет.
И, возможно, именно это можно считать главным комплиментом любой облачной платформе. Когда пользователи вообще не задумываются о том, где работают их сервисы, значит инфраструктура перестала быть источником проблем и стала обычной частью повседневной работы.