Monday, April 18, 2016

DevOpsDays: Empathy, Scaling, Docker, Dependencies and Secrets

Last week I attended DevOpsDays 2016 in Vancouver. I was impressed to see how strong the DevOps community has grown from the time that I attended my first DevOpsDays event in Mountain View in 2012. There were more than 350 attendees, all of them doing interesting and important work.

Here are the main themes that I followed at this conference:

Empathy – Humanizing Engineering and Ops

There was a strong thread running through the conference on the importance of the human side of engineering and operations, understanding and empathizing with people across the organization. There were two presentations specifically on empathy: one from an engineering perspective by Joyent’s Matthew Smillie, and another excellent presentation on the neuroscience of empathy by Dave Mangot at Librato, which explained how we are all built for empathy and that it is core to our survival. There was also a presentation on gender issues, and several breakout sessions on dealing with people issues and bringing new people into DevOps.

Another side to this was how we use tools to collaborate and build connections between people. More people are depending more on – and doing more with – chat systems like HipChat and Slack to do ChatOps. Using chat as a general interface to other tools, leveraging bots like Hubot to automatically trigger and guide actions, such as tracking releases and handling incidents.

In some organizations, standups are being replaced with Chatups, as people continue to find new ways to engage and connect with other people working remotely and inside and outside of teams.

Scaling DevOps

All kinds of organizations are dealing with scaling problems in DevOps.

Scaling their organizations. Dealing with DevOps at the extremes, at really large organizations and figuring out how to effectively do DevOps in small teams.

Scaling Continuous Delivery. Everyone is trying to push out more changes, faster and more often in order to reduce risk (by reducing the batch size of changes), increase engagement (for users and developers), and improve the quality of feedback. Some organizations are already reaching the point where they need to manage hundreds or thousands of pipelines, or optimize single pipelines shared by hundreds of engineers, building and shipping out changes (or newly baked containers) several times a day to many different environments.

A common story for CD as organizations scale up goes something like this:

  1. Start out building a CD capability in an ad hoc way, using Jenkins and adding some plugins and writing custom scripts. Keep going until it can’t keep up.
  2. Then buy and install a commercial enterprise CD toolset, transition over and run until it can’t keep up.
  3. Finally, build your own custom CD server and move your build and test fleet to the cloud and keep going until your finance department shouts at you.
Scaling testing. Coming up with effective strategies for test automation where it adds most value – in unit testing (at the bottom of the test pyramid), and end-to-end system testing (at the top of the pyramid). Deciding where to invest your time. Understanding the tools and how to use them. What kind of tests are worth writing, and worth maintaining.

Scaling architecture. Which means more and more experiments with microservices.

Docker, Docker, Docker

Docker is everywhere. In pilots. In development environments. In test environments especially. And more often now, in production. Working with Docker, problems with Docker, and questions about Docker came up in many presentations, break outs and hallway discussions.

Docker is creating new problems at the start and end of the CD pipeline.

First, it moves configuration management upfront into the build step. Every change to the application or change to the stack that it is built and runs on requires you to “bake a new cake” (Diogenes Rettori at Openshift) and build up and ship out a new container. This places heavy demands on your build environment. You need to find effective and efficient ways to manage all of the layers in your containers, caching dependencies and images to make builds run fast.

Docker is also presenting new challenges at the production end. How do you track and manage and monitor clusters of containers as the application scales out? Kubernetes seems to be the tool of choice here.

Depending on Dependencies

More attention is turning to builds and dependency management, managing third party and open source dependencies. Identifying, streamlining and securing these dependencies.

Not just your applications and their direct dependencies – but all of the nested dependencies in all of the layers below (the software that your software depends on, and the software that this software depends on, and so on and so on). Especially for teams working with heavy stacks like Java.

There was a lot of discussion on the importance of tracking dependencies and managing your own dependency repositories, using tools like Archiva, Artifactory or Nexus, and private Docker registries. And stripping back unnecessary dependencies to reduce the attack surface and run-time footprint of VMs and containers. One organization does this by continuously cutting down build dependencies and spinning up test environments in Vagrant until things break.

Docker introduces some new challenges, by making dependency management seem simpler and more convenient, and giving developers more control over application dependencies – which is good for them, but not always good for security:

  • Containers are too fat by default - they include generic platform dependencies that you don’t need and - if you leave this up to developers - developer tools that you don’t want to have in production.
  • Containers are shipped with all of the dependencies baked in. Which means that as containers are put together and shipped around, you need to keep track of what versions of what images were built with what versions of what dependencies and when, where they have been shipped to, and what vulnerabilities need to be fixed.
  • Docker makes it easy to pull down pre-built images from public registries. Which means it is also easy to pull images that are out of date or that could contain malware.
You need to find a way to manage these risks without getting in the way and slowing down delivery. Container security tools like Twistlock can scan for vulnerabilities, provide visibility into run-time security risks, and enforce policies.

Keeping Secrets Secret

Docker, CD tooling, automated configuration management tools like Chef and Puppet and Ansible and other automated tooling create another set of challenges for ops and security: how to keep the credentials, keys and other secrets that these tools need safe. Keeping them out of code and scripts, out of configuration files, and out of environment variables.

This needs to be handled through code reviews, access control, encryption, auditing, frequent key rotation, and by using a secrets manager like Hashicorp’s Vault.

Passion, Patterns and Problems

I met a lot of interesting, smart people at this conference. I experienced a lot of sincere commitment and passion, excitement and energy. I learned about some cool ideas, new tools to use and patterns to follow (or to avoid).

And new problems that need to be solved.


Cengiz Kayay said...

In our enterprise, there are generic data services used by several departments. Each department asks for enhancements on these services.
There are times that the enhancements are finalised within the same week and to be released in that weeks release train.
But each department(user) wants to test it all to make sure the enhancement from other department did not break the service.
Thus, until both department's own QA agree on the results, the service can't be released. (Thus creating inter department decencies).
How to resolve this issue?
They ask me to split the service so that each channel has its own service to maintain.
But that is wrong approach as this will not be a generic micro service but project level service per user/customer. One option is to make one department to wait for the next release but that also delays the time to market.

Is there any options other than using feature toggles? I think, toggles are difficult to maintain...

philn5d said...

It might not be so wrong to split it if each channel has different needs. This sounds like a classic case of trying to maintain a global domain model. It does depend, but you are in an enterprise environment rather than producing for public consumption. I've found that different departments in an enterprise have different definitions and completely different use cases/logic for the same entity (Employee for example). Perhaps you can make channel services that extend existing services when it becomes so much of a problem - better than fighting to maintain a globally unified model with irrelevant data and properties on it. Hope that helps ease the pain :)

rajani said...

Thanks for sharing this Blog....!!
Kubernetes Online Training

Unknown said...

If you want to work from anywhere and create flexibility in your work then you must check this remote collaboration tool.

Karthick Raj said...

Click Here Mobile SiteBuilder´s all-inclusive feature packs offer significant benefits and tremendous value to every one of our website customers. The following are some of the key features of SiteBuilder. mobiSiteGalore application is now fully responsive. Users can now start Building, Editing & Publishing their website using any device, any time and from any where. This provides users the flexibility to maintain their website on the go.

Anonymous said...

Thanks for such a nice blog with full information. here you can get wide range of Managed IT Support Services in south africa.

Get love Spell said...

Presently a day, instruction has changed its way in correlation of old era's method for training. New every now and again refreshed sites and sites help you to receive an alternate approach to learn in an unexpected way. Logistics Software

Augurs Technologies Pvt Ltd. said...

Best Software Development Solutions Lucknow India,
Software Development Outsourcing Company Lucknow India,
Web Designing Services in Lucknow India,
Online Store App Development Services Lucknow India,
Best Advertising Agency in Lucknow India,
Best Advertising Agencies in Lucknow India,

Anonymous said...

Thanks for sharing Very Use ful Blog..
Docker Training in Hyderabad
Docker and Kubernetes Online Training
Docker Training
Docker Online Training
Kubernetes Online Training
Kubernetes Training in Hyderabad
Best Docker and kubernetes training in ameerpet
Docker and Kubernetes Training in Hyderabad

Unknown said...

If you are looking for best accounting software for small business then you may click here

Anonymous said...

Thanks for sharing such a nice post with full information. here is a IT Company which provides best IT Hardware Solutions in johannesburg and Best IT Solutions in Johannesburg Call now to get free assessment @ (+27) 087 701 0195.

Pankaj Singh said...

Thanks for sharing this knowledgeable things by your blog. If you need website designing services, visit our website at Ogen Infosystem and get a responsive website design for you. We also provide digital marketing services, like- PPC, SEO, Facebook Marketing etc.
SEO Service in Delhi

Mutual Fundwala said...
This comment has been removed by the author.
Mutual Fundwala said...

Awesome blog, Get the best Mutual Fund Advisor and Best Performing Mutual Funds Company by Mutualfundwala in Delhi, India.
Mutual Fund Agent

James smith said...

sometime it becomes very hard to find out a well written and nicely mounted lavatory which provide you correct and useful facts concerning tests and syllabus. but, i discovered this weblog and have been given a few relevant facts which is probably clearly beneficial for me. Shipping Management Software

dockerandkubernetes said...

Nice Posting !! Thanks for sharing..
Docker Training in Hyderabad
Docker and Kubernetes Online Training
Docker Training
Docker Online Training
Kubernetes Online Training
Kubernetes Training in Hyderabad
Best Docker and kubernetes training in ameerpet
Docker and Kubernetes Training in Hyderabad

meenati said...

It was really a nice post and I was really impressed by reading this keep updating
Tableau Training

Android App development Course

Data Science Certification

Dot net Course

Ios Development Course Online

Informatica Training

meenshvit said...

Brilliant work by you. Do you need a Punjabi dictionary online? Find here Online Punjabi Dictionary

Kala Kutir said...

Thank you so much for sharing such an amazing blog with us. Visit lifestyle magazine for creative events.
Lifestyle Magazine

DevOps E-Portal said...

Thanks for details explanation.
and also we are providing E-Learning Portal Videos for students and working Professionals
Hurry Up! Bag All Courses in Rs - 10000 /- + taxes
41 Career building courses.
Designed by 33 industrial experts
600+ hours of video Content
DevOps and Cloud E-Learning Portal

Unknown said...

Nice article admin thanks for share your atricle keep share your knowledge i am waiting for your new post check hi vis jacket girls knee high socks kindly review and reply me


Thanks for taking time for sharing this article, it was excellent and very informative. Its really very useful of all of users. I found a lot of informative stuff in your article. Keep it up. Online Effluent Monitoring System

SkolarSolutions said...

Nice Post. To get study abroad in any course. For students who is looking for study medicine in abroad, we will help with end to end services with zero cost.
Mbbs in Russia
Mbbs in UK
Mbbs in Malaysia

e learn portal said...

it's very interesting to read, thanks for sharing!!
E- Learning Training Portal
Portal- ELearning
DevOps Online Hub
E-learning Portal

Quickbooks Payroll said...

Nice Article. We are authorised support partner in Quickbooks Payroll. If you required any help for Quickbooks Payroll Support Phone Number 1-800-986-4607 if you are Expand your business to a new hike, with progressive approach. Seeking for the best accounting software? Then, get quickbooks installed in your system. The software proves to be more profitable to the business.

Just Info said...

Thanks for this informative blog, visit Kalakutir Pvt Ltd for School Bus Painting and Warehouse Zebra Painting.
School Bus Painting

chandrasekhar said...

Thanks for sharing
Yaaron Studios is one of the rapidly growing editing studios in Hyderabad. We are the best Video Editing services in Hyderabad. We provides best graphic works like logo reveals, corporate presentation Etc. And also we gives the best Outdoor/Indoor shoots and Ad Making services.
video editors studio in hyderabad
short film editors in hyderabad
corporate video editing studio in hyderabad
ad making company in hyderabad

chandrasekhar said...

Nice inf0rmation
"Pressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional
Engineering Course like Piping Design Course,QA / QC Course,document Controller course,pressure Vessel Design Course,
Welding Inspector Course, Quality Management Course, #Safety officer course."
Piping Design Course in India­
Piping Design Course in Hyderabad
Piping Design Course in Hyderabad
QA / QC Course
QA / QC Course in india
QA / QC Course in Hyderabad
Document Controller course
Pressure Vessel Design Course
Welding Inspector Course
Quality Management Course
Quality Management Course in india
Safety officer course

anupriya said...

The blog was having very informative content and very useful for me. Well done post and keep it up...If you want shopping in online then using Online Shopping Software, it is the best way to go for it. Some Ecommerce Software Companies provide offers and discounts that make them more than happy. It is best idea to use online shopping sites to dealing n variety of products as the chance of receiving online shopping deals are higher there.
Online Shopping Software
Ecommerce Software For Small Business
Best Online Store Software
Ecommerce Software Companies
Ecommerce Website Software

kissasian said...

KissAsian is Asian Dramas Platform where you can find all Korean, Chinese, Japanese dramas.

Gogoanime | Watch gogo anime online, English anime online HD

Watch OnlineNewMovies Online Bollywood Movies Latest Hollywood Movies Online Hindi Movies Dubbed Movies Tamil Movies Download Latest new Movie

Anonymous said...

QuickBooks Error 404 turns out on screen while working in QuickBooks. QuickBooks Update Error 404 happens when QuickBooks doesn't go to synchronize with Intuit servers. Any interference or disappointment in web access prompts Error 404.

Unknown said...

Thanks for Sharing a very Nice Information

software training institute in delhi
software training institute in Noida

Bhanu sree said...

Thanks for sharing
Microsoft Azure DevOps Training
Azure DevOps online training in hyderabad
Microsoft Azure DevOps Online Training
Microsoft Azure DevOps training hyderabad

Alex williams said...

We support all types of HP printer troubleshooting and service. Just enter the model number of your printer in to identify the software and drivers your printer requires. Download and install it in your mac and 'Run' the file. The process is easy however if you have any doubts or queries regarding HP printers contact us.

e learning docker kubernetes said...

Thank you for this informative post.
Docker Training in Hyderabad
Docker and Kubernetes Online Training
Docker Training

Jack sparrow said...

I am so proud of you and your efforts and work make me realize that anything can be done with patience and sincerity. Well I am here to say that your work has inspired me without a doubt. Here is i want to share about c# training with Free Bundle videos and c sharp training online .

yathish said...

The great information that you shared. It will help all of them. Thanks for posting. Keep maintain the updates
Data Extraction Solutions|
Ecommerce website builder|
Magento ecommerce development companies|

Bahsegel said...

Bahsegel bahis sitesi canlı spor bahisleri ve casino oyunları ile kesintisiz hizmet vermeye devam ediyor.

Ngsbahis said...

Ngsbahis canlı casino ve bahis sitesi kazandırmaya devam ediyor. Onlarca yıllık bahis tecrübesi ile bahisçilere en kaliteli bahis hizmetini veren siteye sizde hemen üye olabilirsin. Şirketin Yüksek bahis oranları ve çok özel bonusları ile sizde hemen kazanmaya başlayabilirsiniz. Site yeni adresi üzerinden bahisçilere kesintisiz hizmet vermeye devam etmektedir. Üye olmak ve giriş yapmak için linke tıklamanız yeterlidir.

betpas said...

Betpas canlı bahis sitesi yurt dışında uzun süredir faaliyet göstermektedir. Türkiye bahis piyasına 2 sene önce giren şirket bahisçiler tarafından büyük ilgi görmektedir. Diğer bahis sitelerinden karşılaşmanız mümkün olmayan çok yüksek bahis oranları ile betpas sitesinde kazançlı bahisler yapabilirsiniz. Site tüm Btk engellemlerine rağmen hizmetlerinden devam etmektedir. Yüksek bahis oranları ve çok özel bonuslar ile sizde hemen kazanmaya başlayabilirsiniz. Üye olmak için acele edin.

svrtechnologies said...

I am reading your post from the beginning, it was so interesting to read & I feel thanks to you Tableau Training for posting such a good blog, keep updates regularly..

Site Meter