#47: Minimizing risks in code deployment

Reducing risk when deploying code is a huge priority for many DevOps teams, and incidentally, the reason behind our podcast's name, Deploy Friday. Today, we speak with experts Jackie Balzer and Maryann Bell about best practices for risk reduction during code deployment.Defining code deploymentCode deployment can depend on the scale of your organization. Maryann and Jackie both work at large companies (Adobe and Spotify, respectively), where deployment likely differs from an individual developer's or a small organization's processes.Jackie says, "At a high level, deploying code is taking the code that you've written and putting it into all of these places. But in practice, for a product and an organization at the scale of Spotify, code deployment is taking it from one place and putting it into lots of places. Deploying code isn't necessarily the same as releasing code." Code deployment risksThe risks when deploying code are varied. You might accidentally bring down your app or website, or deploy a bug system-wide. According to Jackie, less obvious but more sinister risks include not knowing how to manage an incident if something happens.Some developers feel hesitant about deploying code, and with good reason. Jackie recalls an incident where her team made last-minute changes that ended up taking an entire site down. The experience made her hesitant about deploying code for a while, but she says it's best to just get back on the horse. "The important part is that you learn from those experiences and put improvements into place so that you can build that confidence back up."Deploy on Friday with confidenceDeploying code on Friday is often avoided because if issues arise on the weekend, no one is available to make fixes. Both Jackie and Maryann have tips to reduce this risk. Rollbacks allow you to go back to the last safe state with the press of a buttonSmall change sets inherently carry less risk, as well as being easier and quicker to testReview every pull request: at Adobe, where Maryann works, PR reviews are mandatorySelf-sufficiency: Have as many tools and resources at your fingertips as possibleScale thoughtfully: As you scale, think about employing a DevOps person to architect your infrastructure intelligently and safelyDeploy your technology on Friday on Platform.shPlatform.shLearn more about us.Get started with a free trial.Have a question? Get in touch!Platform.sh on social mediaTwitter @platformshTwitter (France): @platformsh_frLinkedIn: Platform.shLinkedIn (France): Platform.shFacebook: Platform.shWatch, listen, subscribe to the Platform.sh Deploy Friday podcast:YouTubeApple PodcastsBuzzsproutPlatform.sh is a robust, reliable hosting platform that gives development teams the tools to build and scale applications efficiently. Whether you run one or one thousand websites, you can focus on creating features and functionality with your favorite tech stack.

Om Podcasten

Meet the people behind technology, learn about the open source projects you need to know about, get updates on community events, and deep dives into social causes on the web.Come deploy with us on a Friday and deep dive into the latest news and information about the constantly evolving ecosystem - where people are working, what’s left to be solved, how to get started, and where you can help.