Have you ever wondered how to set-up a working continuous delivery pipeline for applications on Windows and open source tools only? Lets see how tools like Jenkins, Artifactory, PowerShell, Ansible, NSSS and Installer Generators could be used to do that.
Continuous Delivery Pipeline creation for Linux is boring because it is so simple. All tools and approaches are well-known. However, if you are in Windows-land and do not want to pay for licensing cost of enterprise tools, achieving pipeline automation for Windows might be tricky. This talk will give an explanation of a sample CD pipeline using Windows/Cloud/Ansible and other tools. All examples will be shown on Google Cloud-based Windows VMs.
2. Working as a consultant
• DevOps
• Test Automation
• Software Architecture (aka Microservices)
• Java Development
• Web Development (not JavaScript)
9. Steps to Deploy
• Generate SSH Certificate
• Provision Linux via Ansible
• Install dependencies via apt-get
• Download artefact from Artifactory via curl
• Start app as a service using systemd
• Think about switching to Docker later
10. Things to Consider
• Clustering – round-robin or
hash-based?
• Blue-green deployment
strategy?
• Should we take Kubernetes
or simply Docker Swarm?
VS
11.
12.
13.
14. Mission Impossible
1. Don’t spend any money on licenses
2. Automate using familiar tools
3. You have a Mac
4. Don’t think about Docker all the time
21. Ansible Core Concepts
• Works on SSH and Python
• Tasks (what to do)
• Playbook (aggregations of tasks)
• Inventory files (where to connect)
• Lots of configs, modules and plugins
• All written in YAML
https://www.ansible.com/