Book description
Obtain enterprise agility and continuous delivery by implementing DevOps with Windows Server 2016
About This Book
This practical learning guide will improve your application lifecycle management and help you manage environments efficiently
Showcase through a sample application ways to apply DevOps principles and practices in the real world
Implement DevOps using latest technologies in Windows Server 2016 such as Windows Container, Docker, and Nano Servers
Who This Book Is For
This book is for .NET developers and system administrators who have a basic knowledge of Windows Server 2016 and are now eager to implement DevOps at work using Windows Server 2016. Knowledge of Powershell, Azure, and containers will help.
What You Will Learn
Take a deep dive into the fundamentals, principles, and practices of DevOps
Achieve an end-to-end DevOps implementation
Execute source control management using GITHUB and VSTS vNext
Automate the provisioning and configuration of infrastructure
Build and release pipeline
Measure the success of DevOps through application instrumentation and monitoring
In Detail
Delivering applications swiftly is one of the major challenges faced in fast-paced business environments. Windows Server 2016 DevOps is the solution to these challenges as it helps organizations to respond faster in order to handle the competitive pressures by replacing error-prone manual tasks using automation.
This book is a practical description and implementation of DevOps principles and practices using the features provided by Windows Server 2016 and VSTS vNext. It jumps straight into explaining the relevant tools and technologies needed to implement DevOps principles and practices. It implements all major DevOps practices and principles and takes readers through it from envisioning a project up to operations and further. It uses the latest and upcoming concepts and technologies from Microsoft and open source such as Docker, Windows Container, Nano Server, DSC, Pester, and VSTS vNext.
By the end of this book, you will be well aware of the DevOps principles and practices and will have implemented all these principles practically for a sample application using the latest technologies on the Microsoft platform. You will be ready to start implementing DevOps within your project/engagement.
Style and approach
This practical, learning book is linear and progressive, and every chapters builds on the previous chapters. We focus on the practical skills required to implement DevOps, with a summary of the key concepts only where strictly necessary.
Table of contents
-
DevOps with Windows Server 2016
- DevOps with Windows Server 2016
- Credits
- About the Author
- Acknowledgments
- About the Reviewer
- Acknowledgments
- www.PacktPub.com
- Customer Feedback
- Preface
- 1. Introducing DevOps
- 2. DevOps Tools and Technologies
- 3. DevOps Automation Primer
- 4. Nano, Containers, and Docker Primer
- 5. Building a Sample Application
-
6. Source Code Control
- Configuration Management
- Source Configuration Management
- Visual Studio Team Services
- Git 101
- Installing Git for Windows on the development environment
- Adding Online Pharmacy to the VSTS Git repository using Visual Studio 2015
- Managing a Git Repository using VSTS
- Adding a project to the VSTS Git repository using the command-line tool
- Summary
-
7. Configuration Management
- Infrastructure as Code
- Revisiting sample application architecture
- Azure virtual machines and containers
- Azure public load balancer
- Azure SQL
- Security considerations
- The IT administrator and deployment role
- Steps for deployment for an IT administrator
- Steps for deployment of the operator or release pipeline
- UploadScriptFiles.ps1
- Test-ARMTemplate.ps1
- New-TemplateDeployment.ps1
- OnlineMedicine.parameters.json
-
OnlineMedicine.json
- Parameters
- Variables
-
Resources
- Microsoft.Compute/availabilitySets
- Microsoft.Storage/storageAccounts
- Microsoft.Network/virtualNetworks
- Microsoft.Network/networkSecurityGroups
- Microsoft.Network/publicIPAddresses
- Microsoft.Network/networkInterfaces
- Microsoft.Compute/virtualMachines
- Microsoft.Compute/virtualMachines/extensions - CustomScriptExtension
- Microsoft.Compute/virtualMachines/extensions - MicrosoftMonitoringAgent
- Microsoft.Network/publicIPAddresses - for load balancer
- Microsoft.Network/loadBalancers
- Microsoft.Network/publicIPAddresses - web application public IP addresses
- Microsoft.Network/networkInterfaces - web application NICs
- Microsoft.Compute/virtualMachines - web application virtual machines
- Microsoft.Compute/virtualMachines/extensions - CustomScriptExtension
- Microsoft.Compute/virtualMachines/extensions - MicrosoftMonitoringAgent
- Microsoft.Sql/servers, databases, firewallRules
- Outputs
- Summary
-
8. Configuration Management and Operational Validation
- Steps for deployment through the release pipeline
-
Environment unit tests
- Unit testing availability set
- Unit testing virtual networks
- Unit testing Network Security Groups
- Unit testing load balancer
- Unit testing Azure SQL
- Unit testing Azure SQL Firewall
- Unit testing the count of virtual machines
- Unit testing virtual machine 01
- Unit testing virtual machine 02
- Unit testing the DSC Pull Server virtual machine
- Unit testing the DSC Pull Server operating system
- Unit testing the web application operating system
-
Environment operational validation
- The operational validation folder structure
- The operational validation of the web application on the first virtual machine
- The operational validation of the web application on the second virtual machine
- The operational validation of the web application using an Azure load balancer
- Unit and operational validation tests
- Summary
-
9. Continuous Integration
- Continuous integration
- Why continuous integration?
- Principles of Continuous Integration
- Continuous integration process
- Types of continuous integration
- Integration with source code configuration management
- Integration with work item management
-
Build definition
- Defining variables
-
Build activities
- NuGet installer activity
- Visual Studio Build activity for the OnlinePharmacy project
- Visual Studio Build activity for the OnlinePharmacy test project
- The Visual Studio Test activity for OnlinePharmacy project binaries
- Replace Tokens activity for updating the web application's name
- Archive Files activity for deployment.zip
- Copy and Publish Build Artifacts activity
- Build options
- Repository
- Triggers
- General, retention, and history
- Build pipeline execution
- Summary
-
10. Continuous Delivery and Deployment
- Understanding releases
- Release management
- Continuous delivery
- Continuous deployment
- Why continuous delivery and deployment?
- The principles of continuous deployment
- Continuous deployment process
- Continuous delivery process
- Alternate strategies
- Types of releases
- Azure Resource Manager service endpoint
- Release pipeline definition
- Release pipeline execution
- Release pipeline strategies
- Summary
- 11. Monitoring and Measuring
Product information
- Title: DevOps with Windows Server 2016
- Author(s):
- Release date: March 2017
- Publisher(s): Packt Publishing
- ISBN: 9781786468550
You might also like
book
Windows Server 2016: Unleashed
Book + Content Update Program This is the most comprehensive and realistic guide to Windows Server …
book
Securing DevOps
Securing DevOps explores how the techniques of DevOps and security should be applied together to make …
book
Windows Server 2019 Inside Out
Conquer Windows Server 2019—from the inside out! Dive into Windows Server 2019—and really put your Windows …
book
AWS Certified SysOps Administrator - Associate (SOA-C01) Cert Guide
Learn, prepare, and practice for AWS Certified SysOps Administrator Associate (SOA-C01) exam success with this Cert …