Ebook: DevOps with Windows Server 2016
Author: Modi Ritesh
- Year: 2017
- Publisher: Packt Publishing
- City: Birmingham
- Language: English
- pdf
Executing release definitions -- Release Management architecture -- Release definition configuration -- Setting up a cloud environment -- Visual Studio Team Services -- Azure account -- Summary -- Chapter 3: DevOps Automation Primer -- Azure Resource Manager -- ARM and ASM -- ARM advantages -- ARM concepts -- Resource providers -- Resource types -- Resource groups -- Resource and resource instances -- Azure Resource Manager -- Azure Resource Manager architecture -- Azure Resource Manager features -- Role-Based Access Control -- Tags -- Policies -- Locks -- Multi-region -- Idempotent -- Extensible -- Azure Resource Manager templates -- Template basics -- Parameters -- Variables -- Resources -- Outputs -- Expressions and functions -- Nested resources -- A minimal template -- ARM template tools -- Authoring tools -- Deployment tools -- Deployments -- PowerShell -- PowerShell features -- Cmdlets -- Pipeline -- Variables -- Scripts and modules -- Azure PowerShell development environment -- Pester -- Installing Pester -- Writing tests with Pester -- Pester real-time example -- Desired State Configuration -- DSC Push architecture -- DSC Pull architecture -- Pull configuration example -- DscLocalConfigurationManager() attribute -- ConfigurationRepositoryWeb -- Partial Configurations -- Pushing LCM Configuration -- Summary -- Chapter 4: Nano, Containers, and Docker Primer -- Virtualization -- Containers -- Docker -- Container host -- Container images -- Docker Hub/Docker Registry -- Installing a Windows Server 2016 Container on Azure -- Provisioning Azure virtual machines -- Installing Windows Nano Server on Azure -- Provisioning Nano Server -- Using Docker client -- Container life cycle management -- Docker run -- Docker ps -- Docker start -- Docker stop -- Docker rm -- Docker restart -- Docker pause -- Docker unpause -- Image management -- Docker build
Docker commit -- Docker images -- Docker rmi -- Docker tag -- Monitoring commands -- Docker logs -- Docker stats -- Docker inspect -- Docker events -- Docker registry management -- Docker login -- Docker push -- Docker pull -- Understanding Dockerfile -- Docker build command -- Shell and Exec instruction forms -- Shell form -- Exec form -- Dockerfile instructions -- COMMENT -- FROM -- MAINTAINER -- COPY -- ADD -- WORKDIR -- EXPOSE -- ENV -- VOLUME -- RUN -- CMD -- ENTRYPOINT -- Summary -- Chapter 5: Building a Sample Application -- Experiencing the application -- Application architecture -- Preparing development environment -- Installing SQL Server Management Studio -- Creating Azure SQL Server and SQL database -- Creating database tables -- Understanding database schema -- Setting up Visual Studio solution -- Modify web.config connection string -- Publish profile for web application -- Parameters.xml -- Running the sample application -- Understanding Visual Studio Solution -- Entity Framework -- Controllers and Views -- Controllers -- Views -- Configuration management -- Unit testing -- Unit testing DrugController -- Mocking Drug data access class -- Drug controller unit tests -- Summary -- Chapter 6: Source Code Control -- Configuration Management -- Source Configuration Management -- Centralized -- Distributed -- Visual Studio Team Services -- Git 101 -- Git init -- Git clone -- Git add -- Git commit -- Git branch -- Git merge -- Git remote -- 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 -- Submitting code changes to a Git repository -- Pulling code changes from a Git repository -- Onboarding another developer for the same application -- Cloning and adding a solution to the VSTS Git repository
Adding a project to the VSTS Git repository using the command-line tool -- Cloning and adding a solution to VSTS Git repository using the Git command-line tool -- Summary -- Chapter 7: Configuration Management -- Infrastructure as Code -- Objectives of Infrastructure as Code -- Revisiting sample application architecture -- Azure Key Vault -- Operational Insights -- Desired State Configuration Pull Server -- Azure storage account -- Azure virtual machines and containers -- Azure public load balancer -- Azure SQL -- Security considerations -- Storing secrets and credentials -- Secure login to Azure subscription -- Storage account keys and shared access signature tokens -- Network Security Groups and firewalls -- The IT administrator and deployment role -- Steps for deployment for an IT administrator -- PreCreate.ps1 -- GeneralServices.json -- Parameters -- Variables -- Resources -- Microsoft.OperationalInsights/workspaces -- Microsoft.KeyVault/vaults -- Microsoft.KeyVault/vaults secrets -- Outputs -- Steps for deployment of the operator or release pipeline -- UploadScriptFiles.ps1 -- Test-ARMTemplate.ps1 -- New-TemplateDeployment.ps1 -- OnlineMedicine.parameters.json -- OnlineMedicine.json -- [Parameters] -- 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 -- Chapter 8: Configuration Management and Operational Validation -- Steps for deployment through the release pipeline -- PullServer.ps1 -- IISInstall.ps1 -- ContainerConfig.ps1 -- dockerfile -- lcm.ps1 -- ChangeConnectionString.ps1 -- PreparePesterEnvironment.ps1 -- Execute-Pester.ps1 -- 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 -- Chapter 9: Continuous Integration -- Continuous integration -- Why continuous integration? -- Fail fast and often -- High confidence and cadence -- Better collaboration -- Reduction of technical debt -- Principles of Continuous Integration -- Automation -- Single repository -- Fast execution -- Reporting -- Security -- Continuous integration process
Types of continuous integration
Read more...