Best DevOps Practices for Developers. Anton Boyko (2017)



The talk will talk about some DevOps practices, but from a developer's point of view. Usually all engineers who come to DevOps have several years of administrative experience behind them. But this does not mean that the developer has no place here. Most often, developers are busy fixing "the next urgently-critical bug of the day", and they don't have time to even look at the DevOps sphere with one eye. In the author's understanding, DevOps is, first of all, common sense. Secondly, it is an opportunity to be more efficient. If you are a developer with common sense and want to be more effective as a team player - this talk is for you.



Video:





I will introduce myself, I fully admit that there are people in the hall who do not know me. My name is Anton Boyko, I am a Microsoft Azure MVP. What is MVP? This is Model-View-Presenter. The Model-View-Presenter is exactly me.



, solution architect Ciklum. , email, . : me [] byokoant.pro. . . , , : . . - , .





:



  • 10 .
  • Microsoft.
  • - Azure-, - 2014- . .
  • Azure-, .
  • Global Azure Bootcamp .
  • , – Microsoft Azure MVP.
  • . . 40 . , , , , , , , - , , , , , .
  • Star Trek.




Agenda. Agenda :



  • , DevOps. , . DevOps – , +500 . , , blockchain , +500 .
  • , , , , DevOps-. DevOps , DevOps-, . , . , .




, . , . operations, . .



, DevOps operations, Dev QA. , QA, . , , - , , .



, . - - , - - .



DevOps-, .. , .





DevOps, - , DevOps – continuous integration; - , DevOps – " "; - , DevOps – feature branching, feature flags.





, - . , . , , , 3 Dev-Ops , .



. , 3 DevOps. , . 3 ? : , , .. PPP – , . 3 DevOps. , .



DevOps-, , .



. , - .



DotNet Fest. , , , .



, , . ? - , , . ? . , . , . , .



, , , , . , , , , - , .



QA? , . , QA, . , , , . , , , , . , , QA , - regression tests, , 3 : « , ’, ». ’ : «--, ». , , 5 .



, production, , , , . , , , .



, , . . ? , «», , - . , , , QA- production-, , , , unit-, UI-. , . , , production.



, , .



, , . - «DevOps», Jenkins, , Jenkins, DevOps. Jenkins, «How to» Jenkins, How to , , , , , .



, Jenkins . . . , , , . . , .





DevOps- . ? ? ? ?





, , Continuous Integration. , - Continuous Integration (CI).



, , : « CI ?» : «», , , , . .



CI , , , - . .



CI — , Continuous Deployment, Release Management, .



CI , .



? DotNet, , , . , . , , .



- , . – . .



, ? , , value, . . .



– . ? - , - . , QA Environment, .



. -, . , , . - . 30 . - -, 10 . . , . , , production.



production , , 3 . ? , - - production , , QA, , , hotfix production', 3 . , 3 .



, . , . , , , . - .



, , , . , , . - , , . . . 3 . 2 . 2 , .



, , .. , . , CI , . , . , , 3 . , , , - .



? , CI, --. , , , , , ?



, , CI , , . , , .





, , , CI. .



? , . . , , unit-, - , .. . .



, , . .



UI automation , , UI , ..



, , . Unit- , . .



UI automation , , . UI automation - . UI automation – , . , . , build . . : , , - , UI . , , - , , QA-, Junior QA-, . . .



, . . , . , , 4 . . , CodeFreeze, , . 4 , .. , . .



, , , , .





. , build. . . build - . , .



? -, , . , : « ?», : « zip-. . , . , ».



- . , CSS java-script . , , java-script . , - . , . , , , , . , .



, , .. , , UI.



, , java-script, , window . , . java-script , . . : , – . «», production.





, , , .



? , - 90-, , . - php. php – , .



. php-, , ? Far Manager - . FTP. , - - , , , , local . FTP . ! , 90-.



, , 90- 30 . -. , : « production, - . FTP, production ». , . , , , 10. , .



, - - - prod, , . , . , . , , . , , , , . .





- - . , Release Management.



Continuous Deployment , , - , . , . , , . , . -, , build , 90-, .



, . , , , , .



, - DotNet , , - - . , , , , , , . , . , .



Release Management , , . .



, , - , , , , , , zip- - . zip- .



dev-. , , stage. , production , , .



, , , , rollback . - , . - .





. , , , , .



, , , . , , , , . 3 . 3 , , , Windows- DotNet. : « DotNet». : «Ok, 3 ».



, , " ", .



, - DotNet, , Entity Framework. , , , Entity Framework – , Microsoft . , Code First. , , . . , , , , , , .



. Windows-. . , . , , - , - , , , . , - .





, , , Application Performance Monitoring.



Application Performance Monitoring . ? , Application Performance Monitoring – , . , . .



- Application Performance Monitoring build, , , . , , .



? , - . , , , - , , , . . . . , .



, - , , - , . . , , .





, , Configuration Management. , . , , .



. : « security audit ». , , . - , , , ! source control production IP , . .



: «, firewall- production-, , production- source control , . , source control, ». .



. . , QA, demo, production- . .



. . ? , – SQL- - IP - IP, . - connection string , , , . , , web.config.



, . . , , . : «, . . . . , , IP. ». . , .





, , , - . , . .



, , . , , .



? , , , 24/7. , , , , , 24/7. 8 . , , . 12 , . 5 7 , .



, 24 , 12, . , , ? , 70 %, . . dev, QA, demo, environment 3.



, ? , ReSharper, . . , dev, QA, , 3 , , .





, , 1 000 , ? , ?



, . . . , . , , , , , 1 000 5 . , . . , 5 000 , 1 . , .



What's important here? The important thing here is that depending on the scenario, on the amount of data, on the number of concurrent users, etc., you can run into certain limits. For example, in the limit of the network card or in the limit of the hard disk, or in the limit of the processor's capabilities. Here's what is important for you to understand. In different scenarios, you run into certain limits. And you need to understand the numbers when you run into them.



Are we talking about measuring performance on a special test environment? So it's not production?



Yes, this is not production, this is a test environment, which is always the same, so that you can compare it with previous measurements.



Understood thanks!



If there are no questions, I think we can finish. Thanks!




All Articles