Automatyzacja zarządzania konfiguracją i proste instalowanie systemów
Zarządzanie konfiguracją oprogramowania w systemach sieciowych jest niebanalnym zadaniem. Nawet zwykła aktualizacja czy wdrożenie nowego oprogramowania mogą się skończyć katastrofą, zwłaszcza w przypadku serwerów pracujących pod kontrolą systemów Linux czy Unix. Konieczność pilnowania ustawień w wielu różnych plikach konfiguracyjnych, z których każdy służy innemu elementowi, sprawia, że problemy mogą sprawiać nawet zasadniczo nieskomplikowane czynności - chyba że konfiguracja i wdrażanie oprogramowania w systemie zostaną zautomatyzowane za pomocą odpowiedniego narzędzia, na przykład Ansible.
Istnieje wiele narzędzi do zarządzania konfiguracją oprogramowania. Spośród nich Ansible wyróżnia się szczególnymi zaletami: ma minimalne rozmiary, nie wymaga instalowania czegokolwiek na serwerach i jest proste w użyciu. Dzięki tej książce szybko nauczysz się korzystać z najnowszej wersji Ansible do instalowania nowego kodu aplikacji w środowisku produkcyjnym czy też do lepszego i prostszego zarządzania rozbudowanymi systemami. Zapoznasz się między innymi z oprogramowaniem Ansible Tower, a także dowiesz się, jak skutecznie zarządzać komputerami z systemem Windows i sprzętem sieciowym. Ten niezwykle praktyczny podręcznik powinien stale być pod ręką każdego administratora systemu, wdrożeniowca i programisty!
W tej książce między innymi: - Ansible a inne narzędzia do zarządzania konfiguracją systemów - Scenariusze w języku YAML - Testowanie i skalowanie scenariuszy - Techniki wdrażania aplikacji w systemie - Automatyzacja konfigurowania urządzeń sieciowych - Wdrażanie aplikacji w chmurze
یکی از جذابیتهای همیشگی دنیای کامپیوترها برام ماشینیکردن و آتُمیتکردن فرآیندها بوده در برنامهنویسی همین لذت را تجربه میکنی اما انگار کن کل یک سناریوی کامل از صفر تا صد را یکجا بنویسی و اجرا کنی نکتهی جالب کتابهای فنی (طبعا تجربهی من در برق و کامپیوتر هست) اینه که خالی از حکمتهای زیسته زندگی نیستند جایی از کتاب اشارهای به سخنی از آلن کِی، دانشمند علوم کامپیوتر برنده جایزهی تورینگ و از پیشگامان برنامهنویسی شیءگرا دارد که بسیار قابل تامل است:
simple things should be simple complex things should be possible
I had a short list of issues with this book & I remember that these were not really trivial ones, but ... I've lost it :) So all I do remember now is purely positive:
* proper introduction to Ansible: CHECK! * practical examples: CHECK! * application in cloud scenarios: CHECK! * well shaped code samples: CHECK! * some 'beyond the basics' scenarios: CHECK! * Ansible + containers: CHECK! * day-to-day work (ops) with Ansible: CHECK!
Sometimes it was a bit dry, some topics were not interesting at all (Tower ...), but it's a decent start. If you decide to rely on web tutorials only it'd not be a big loss, but this book surely can't be called a waste of time & money.
Ansible is deceptively simple. In a few hours, you can have the main idea and be writing playbooks. There are a number of nuances though that will make your life much easier. Do yourself a favor and read this book.
Ansible up and running is a really super addition to the O’Reilly up and running series.
Starting with the basics Lorin takes his readers through the little and large of Ansible.
The book starts with the very basics and builds all the way, you’ll see how to scale your ansible deployments in terms of both complexity and capacity.
Topics include:
The basics, complex play books, scaling using Roles, multiple hosts etc
Writing custom modules - nice to know how
Intengration with - Vagrant, Amazon Web Service, Docker
Debugging
Ansible is a lot of fun to use, it’s simple but powerful and Ansible up and Running provides the perfect text to let you learn and enjoy Ansible.
Pros:
I really like the idea of a common deployment theme (mezzanine) which runs throughout the book.
Nice appedix on SSH - very welcome since ansible uses this under the hood.
Cons:
Some of the examples I tried didn’t work out of the box. Be sure you define versions when you install things via pip (Lorin actually shows you how in chapter 6)
I can see this book becoming the Ansible bible - if some one writes an Ansible cookbook to stand besides it we’re all home and dry.
So would I recomend the book: Without doubt, no matter what your level of ansible use I can bet you’ll gain from reading through this. If you’re a beginner, just like me, it’s absoluetely SUPER
I’m a big fan of the O’Reilly up and running series and can only hope they continue to produce such informative and fun books (please give us more).
This book describes a lot of ansible features without focusing too much on a single one of them. It might be a little outdated in some parts some bit ly links do not point to the correct place any more, but it lays out the concepts of ansible just fine. I'd prefer if the author described ansible vault a little more though, because it seems like an important ansible component and the book left me thinking about what scenarios it could be utilized in.
This is an excellent guide to using Ansible that I find myself frequently referring back to. While the online Ansible documentation is very helpful for working with individual modules, it can be harder to "put it all together." That's where Ansible Up & Running comes in.
Książka o dużym potencjale. Dużo przykładów, również dla początkujących z Ansible. Niemniej trzeba znać podstawy Linuxa. Chociaż Ansible jest też na Windowsa. Na pewno do niej wrócę, jeżeli będę chciał coś sprawdzić.
A good introduction for why using Ansible, and providing a good example of using Ansible with Vagrant, Docker, ... (things that an operator engineer would touch)
Very good, no-nonsense Ansible introduction. I'd probably rearrange the sections a bit - the debugging chapter tucked at the very end would be more useful to me with my hands-on approach if it'd appear somewhere past the initial concepts. I could probably also shave some of the additional explanations ("here's how to make script executable") - at few points they seemed really out of place, and unnecessary. This way or the other, it was a very informative book. Recommended to anyone who's considering using Ansible.
Great intro. Concise and to the point for someone who knows little about dev ops beyond basic scipting and setting up his own development environments on a unix/linux machine (mostly, python/flask, node, react/flux/webpack). Stopped after page 80-ish as we moved back to Heroku from Digitial Ocean as we realized that there was just too much to do for a 2 person startup at this point.
This is not your typical O'Reilly guide to a language. Written idiosyncratically, and not presenting simple recipes to get you started with Ansible, it is perhaps, as the title suggests, better for one who is already 'Up and Running' with Ansible, or, at least, complements this book with extensive reading of the online documentation.
It will get you started with ansible pretty quickly, but after the first half of the book, you're probably going to switch back to the documentation unless you specifically need to use vagrant or docker.
Nice overview of the tool we're using at our company. Great chapters about using Ansible with AWS and Docker. I also learned about several arcane features of SSH. Some examples are too big and tedious for a book, I had to skim through them.