Добавить новость
ru24.net
News in English
Апрель
2022

DevOps and Shifting Left the Right Way: 3 Tips

0
eWeek 

To paraphrase Charles Dickens, “it was the best of ideas, it was the worst of ideas.” What am I referring to? DevOps and how it’s come to be interpreted. The best idea of DevOps is infrastructure as code, known as IaC. Instead of manually building application environments, a lengthy and error-prone process, IaC defines the […]

The post DevOps and Shifting Left the Right Way: 3 Tips appeared first on eWEEK.

To paraphrase Charles Dickens, “it was the best of ideas, it was the worst of ideas.” What am I referring to? DevOps and how it’s come to be interpreted.

The best idea of DevOps is infrastructure as code, known as IaC. Instead of manually building application environments, a lengthy and error-prone process, IaC defines the “how” of building the environment in a template, and then automatically builds that environment using the template definition.

This occurs at computer speed rather than human speed, and, just as important, is done consistently every time, vastly improving application quality. Done right, DevOps can vastly increase application velocity.

This approach to application development and deployment became known as “shift left,” because it moves post-development tasks earlier in the application lifecycle.

Also see: DevOps, Low-Code and RPA:  Pros and Cons 

Yet DevOps Challenges Abound

However, while DevOps’s infrastructure as code was its best idea, it also – as it has been commonly implemented – one of the worst.

All too often, developers were told that they should take responsibility for creating the IaC templates. There’s some logic to this; after all, an application’s developer should know its infrastructure requirements best, right?

On the other hand, this also makes developers responsible for understanding production networking requirements, large scale storage configurations, and resiliency resource management. Due to this onerous demand, it’s fair to say that, depending on the complexity of an application’s production environment, DevOps is not a panacea.

Nevertheless, inspired by the shift left mantra, many IT organizations decided it makes sense to move other tasks earlier in the application lifecycle. So developers became responsible for testing. And security. And patch management.

Unfortunately, as commonly pursued, these tasks were not treated “as code.” That is, the groups formerly responsible for them passed on responsibility to developers along with the manual checklists typically used to perform the group’s tasks. So developers took on lots of manual effort in areas they had no particular expertise.

And guess what? A developer doing something manually doesn’t get the task done any faster, especially if executed with low subject matter expertise. So the potential speed of a DevOps approach often remains much lower than desired.

Also see: Why Cloud Means Cloud Native

Shift Left the Right Way

So what is the path forward for a shift left, “as code” approach? Are applications destined to remain mired in manual processes conducted by overwhelmed developers?

In a word, no. But organizations need to shift left the right way. Here are three tips on how to do that.

1) Automate All the Tasks

If it makes sense to do infrastructure as code, it makes sense to do testing as code,  security as code, and patch management as code. In other words, apply the logic of DevOps to all the steps in the path to production.

Naturally, this means applying development skills to these tasks, which requires, well, developers. Expect the profile of subject matter specialists (e.g., a QA staff member) to change to incorporate programming experience. This also means managing each task automation as its own application, with its own lifecycle management.

2) Treat the Path to Production as an Automated Product

The technology organizations with the fastest path to production treat the entire process as an integrated product to be automated across its various sub-steps. This means automated handoffs between intermediate steps and removing manual approvals. I’m looking at you, Change Control Boards.

In the real world, most manual approval steps are formal rituals that tick review boxes automatically. If the handoff from one step to another can be reduced to an automatic nod, it can be reduced to an automated handoff as well, with well-defined exception handling.

This also means that the path to production requires management of the entirety as a product itself, with architecture review to ensure all the automated subsystems play well with one another.

If this sounds like work and investment, you’re right. Without this, however, the path to production will remain slow, with speed at both ends (via Dev and Ops) bookending the same old slow manual steps in the middle.

3) Shift Even Further Left

While automating all the tasks – and automating the overall process – are good steps, it’s still a challenge to ensure good security if vulnerable or obsolete code forms the foundation of an application. As the old saying goes, garbage in, garbage out.

Living with these kinds of security exposures is made even worse when a vulnerability becomes known or someone attacks it. What ensues is a mad scramble to update code bases and roll the updates into production.

This problem is endemic when developers start with a blank slate, downloading libraries and components directly from the Internet. It’s shocking how many container-based applications are built with images downloaded from DockerHub, despite the fact that it’s well-known that many of the most popular ones contain outdated and/or vulnerable code.

A much better approach is to provide developers with prepared code bases that are known to be up-to-date and assessed to be free of vulnerabilities. The mechanisms for this are known as templates, frameworks, or accelerators. Essentially, the developer downloads the template into a preferred IDE and begins with a safe foundation of code into which the functionality of the application is incorporated.

Once the application update is complete, it enters the automated process described above. Application artifacts are created and moved through the different stages in the lifecycle until finally deployed.

This code hygiene approach can be extended into the rest of the lifecycle, by having a process sitting outside of a specific application pipeline to monitor announced vulnerabilities. If a vulnerability is announced and a patch made available, an application build and deploy process kicks off which automatically updates the relevant artifact and put it into production.

This avoids the manual tracking of what libraries and components each application contains. It also avoids the crisis management associated with trying to ensure every relevant application is updated, which inevitably misses some and results in vulnerable applications never getting fixed.

This emerging industry term for this “shift further left” is the secure software supply chain, and is an approach that will become more common going forward, especially as more and more business processes shift to digital mechanisms. I’ve only touched on it here, and hope to delve further into the topic in a future column.

The truth is, DevOps is both a good idea and a bad idea, depending on how applied. Sprinkled onto a lethargic application lifecycle, it solves little. Applied as an automation concept as part of an application assembly line, it’s a powerful tool to enable digital transformation.

Also see: Digital Transformation Guide: Definition, Types & Strategy

The post DevOps and Shifting Left the Right Way: 3 Tips appeared first on eWEEK.




Moscow.media
Частные объявления сегодня





Rss.plus



Более 40 тысяч семей в Москве и области получают ежемесячные выплаты из средств материнского капитала

Отрытый конкурс красоты и таланта «Одна на миллион»

Филиал № 4 ОСФР по Москве и Московской области информирует: С начала 2024 года 140 тысяч женщин и новорожденных Московского региона получили услуги по родовым сертификатам

Спортивные игры в СЛД "Москва-Сортировочная" филиала "Московский"


Lena Erziak FW-2024/25 (осень-зима 2024/25) «Меланхолия» в черном цвете

Дистрибьюция Музыки.

В СЛД «Брянск-Льговский» филиала «Московский» ООО «ЛокоТех-Сервис» сформирован студенческий отряд

22 июля Всемирный день мозга. Отвечаем на популярные вопросы о когнитивных расстройствах


Who is Ghetts and what character does the rapper play in Supacell?

Mikel Arteta demands more Arsenal signings as he gives cryptic update on Riccardo Calafiori transfer

Why you should buy physical copies of your favorite books

Exclusive - Sayantani Ghosh expresses happiness as sets of her show Dahej Daasi shifted close to her home; says 'I've been manifesting this for quite some time now'


Каршеринг BelkaCar открыл новые зоны в регионах ближнего Подмосковья

Каникулы с Росгвардией.

Quto: почему троит двигатель

HONDA CIVIC TYPE R И TOYOTA GR COROLLA 2023


Игра Legend of Goddess: The Last War с откровенными скинами персонажей появилась на Android

D&D's new 2024 Player's Handbook will have 10 species to choose from including goliaths, and drow will be closer to their Baldur's Gate 3 version

Today's Wordle answer for Saturday, July 20

Warner Bros acquires MultiVersus devs as it shifts focus to free-to-play



Более 40 тысяч семей в Москве и области получают ежемесячные выплаты из средств материнского капитала

Филиал № 4 ОСФР по Москве и Московской области информирует: Родители 240,5 тыс. детей в Московской области получают единое пособие

На линии огня. Московские спасатели борются с пожарами по всей России

После появления «New Москва» на этом райском острове Богов, Россия открывает там Генеральное Консульство: русских так много, что надо их пересчитать




Филиал № 4 ОСФР по Москве и Московской области информирует: За полгода 14,9 тысячи жителей Московского региона оформили страховую пенсию в автоматическом режиме на портале госуслуг

Эксперт Василькова: девушкам надо работать над собой, если они завидуют подругам

Более 40 тысяч семей в Москве и области получают ежемесячные выплаты из средств материнского капитала

Песков: Безопасность должна превалировать над традицией ношения никабов


Суд заочно арестовал подозреваемого в подрыве машины в Москве

Таможенники пресекли восемь тысяч попыток контрабанды в московских аэропортах

Ивановские школьники – в числе победителей Всероссийского конкурса "Большая перемена"

Фудхолл на 250 мест откроется в одинцовском ТЦ


Синнер не смог вылететь на Олимпиаду в Париж из-за проблем со здоровьем

Рафаэль Надаль проиграл в первом финале тура ATP в преддверии своей последней Олимпиады

Лекарство против будней: почему предстоящая Олимпиада в Париже будет уникальна для России

Панова и Сизикова выиграла турнир WTA в Палермо в парном разряде


Ефимов: свыше 200 тыс рабочих мест создано в Троицком и Новомосковском округах

Турецкий мотоциклист рассказал о приведшей к гибели ошибке блогера МотоТани

Эксперт: в Московском регионе снижается спрос на недвижимость и растут цены

Скандал в Красноярске не прошел для Глюк’оZы бесследно: концерты певицы стали отменять


Музыкальные новости

Певец Маршал опроверг, что получит миллионы за выступление в Кургане

Пока в Якутии была ночь: массовая драка в Дагестане, звание певцу Shaman и отдых в Северной Корее

Суд обязал Сергея Шнурова и его агента вернуть 90 млн руб за сорванный концерт

Кухня – рай для бактерий: доктор Кутушов рассказал о скрытых рассадниках микробов



Самой перспективной для трудоустройства назвали Амурскую область

Филиал № 4 ОСФР по Москве и Московской области информирует: За полгода 14,9 тысячи жителей Московского региона оформили страховую пенсию в автоматическом режиме на портале госуслуг

Первенство Московской области до 17 лет, Пер-во г.Люберцы на призы ЛФТ до 13 лет

После появления «New Москва» на этом райском острове Богов, Россия открывает там Генеральное Консульство: русских так много, что надо их пересчитать


Дистрибьюция Музыки.

Источник 360.ru: на парковке рядом с «Охотным рядом» загорелась Mitsubishi

???? 20 июля на стадионе «Динамо» любители шахмат отметили Международный день шахмат, а также 100 летний юбилей Всемирной шахматной федерации (ФИДЕ).

Уссурийский УЛРЗ проводит оздоровительную кампанию 2024


MaxAutoKRD представила обновленный каталог автозапчастей

Машинное отделение. Как проходит фестиваль «Лето в Москве. Все на улицу!»

Саперы готовят робота для проверки машины на месте взрыва на севере Москвы

Заложивший взрывчатку в машину военного в Москве мог приехать на такси


Песков прокомментировал новость о подрыве автомобиля в Москве

Посол Сирии в Москве подарил Путину дамасский меч

Путин поручил подготовить планы по перемещению госкомпаний из Москвы в регионы

Путин предложил подумать о перемещении госкомпаний из Москвы в регионы


Свыше 1,5 тыс. случаев коронавируса выявили в городе за неделю




Сергей Собянин: Научные команды медицинских организаций получат поддержку

Главный врач клиники микрохирургии глаза АйМед Элина Санторо: что такое катаракта на самом деле

Ученые из РАН сообщили о магнитных бурях 24 июля

Отечественная бустерная вакцина от туберкулеза "ГамТБвак" может появиться в середине 2025 года


Вместо того, чтобы проголосовать закон о сохранении культурного наследия, "кнопки" от "слуг" имитируют обсуждение на ТСК против Киева, – Береза

В офисе Зеленского заявили, что Киев "не имеет отношения" к подрыву авто в Москве

Снос усадьбы Зеленских в Киеве: совладельцу здания избрали меру пресечения

Эксперты усомнились в позиции Трампа по СВО и России


Концерн РУСИЧ поддержал спортивный пляжный фестиваль «Тихофест»

Благотворительный забег «Без Границ» объединит звёзд эстрады и спорта в Москве

Чем заняться в Москве, Петербурге и Нижнем Новгороде 25–31 июля: неделя со «Снобом»

«С самого начала верил, что с «Флоридой» могу выиграть Кубок Стэнли»


Лукашенко объяснил, почему его не надо называть господином

Торговый дом Беларуси предложили создать в Амурской области

На поле под Минском заметили Лукашенко

“Генерал КГБ”: Лукашенко сломается только в случае невиданного массивного коллапса



Собянин: 19 москвичей победили во Всероссийском конкурсе «Большая перемена»

Собянин: Москва поддержит проведение премии в области будущих технологий «Вызов»

Сергей Собянин: Научные команды медицинских организаций получат поддержку

Собянин: школьники из Москвы стали победителями всероссийского конкурса


«Кинобус ПроЭко» разоблачает экологические мифы на VII Слете координаторов Чистых игр

Компании из Саранска, Москвы и Оренбурга: стали известны подрядчики, которые будут строить микрорайон «Звездный» в Орске для людей, пострадавших от наводнения

На линии огня. Московские спасатели борются с пожарами по всей России

Золотой стандарт: бизнес-центр Tekta Group на Ходынском поле пройдет сертификацию по российской зеленой системе «Клевер»


Заработок на многодетности: Какую схему мигранты взяли на вооружение

Расписание электричек изменится с 27 по 29 июля из-за ремонта станции Лобня

Эксперт: в Московском регионе снижается спрос на недвижимость и растут цены

Ефимов: свыше 200 тыс рабочих мест создано в Троицком и Новомосковском округах


Региональный торговый форум включен в перечень отраслевых мероприятий Минпромторга РФ

Из Архангельска выйдет первый в этом году субсидируемый рейс по Севморпути

Спортсмен из сборной Архангельской области стал победителем масс-старте в Малиновке

Сергей Собянин. Главное за день


«Июльский зной». Цены на «однушки» в Симферополе сильно подогрелись, но не закипели

Выставка-признание «Жизнь как струна».

Игра-викторина «Хорошо, когда есть рядом верный, бескорыстный друг!» к Международному дню дружбы

Бойцовые собаки чуть не растерзали женщину в Севастополе


Ефимов: свыше 200 тыс рабочих мест создано в Троицком и Новомосковском округах

Фудхолл на 250 мест откроется в одинцовском ТЦ

Эксперт: в Московском регионе снижается спрос на недвижимость и растут цены

Таможенники пресекли восемь тысяч попыток контрабанды в московских аэропортах












Спорт в России и мире

Новости спорта


Новости тенниса
Даниил Медведев

Теннисисты Медведев и Джокович отказались жить в Олимпийской деревне






Ефимов: свыше 200 тыс рабочих мест создано в Троицком и Новомосковском округах

Карьера лучших волейболистов-пляжников России — Олега Стояновского и Ильи Лешукова

Сколько денег можно получить за рождение ребенка в Москве

Директор ФСБ Бортников: подозреваемый в подрыве авто в Москве сбежал в Турцию