SlideShare a Scribd company logo
Linux Container Platform on Azure
(Kubernetes, OpenShift, Ansible Automation)
Pipeline Automation
(From Code to Containers, Automated CI / CD on Azure
//Halifax DevOps Meetup Kyle Bassett - July 19, 2017
//thanks to
//today’s expedition
//Introductions
Who is Arctiq?
Docker to Docker Inc to OCI to Kubernetes to OpenShift
Ansible / Ansible Tower - What is it? What can it do?
Why Azure, What services are we using?, Why?
//Demo’s
Azure Infrastructure Automation via Ansible Tower
OpenShift Container Platform Build via Ansible
A quick look into OpenShift Compute Platform
Continuous Delivery and CI/CD Pipeline Automation
//Social Stuff
Open Discussion
Beer !!!
//OpenShift Labs Links
https://github.com/kylearctiq/devops_halifax
https://github.com/minishift/minishift
https://github.com/RedHatWorkshops
https://github.com/RedHatWorkshops/openshiftv3-workshop
https://github.com/RedHatWorkshops/openshiftv3-ops-workshop
https://github.com/VeerMuchandi/openshift-local
https://github.com/RedHatWorkshops/openshiftv3-advanced-workshop
//arctiq’s wheelhouse
//arctiq’s focus - mvp and business value
Trending, Visibility,
and Feedback Loops
Security Hardening
and Access Management
Automation
and Orchestration
Standardization, Hardened Imaging,
Centralized Management, and Audit Reporting
DEVELOPERS
Self-Service
Managed Container Platform
Fail-Fast + Fix-Fast Mindset
Freedom to Focus on
Development
THE BUSINESS
Time-to-Market Advantages
Operational Efficiencies
Quality Software
Speed and Agility
IT OPERATIONS
Standardized Frameworks
Automated Repeatable Tasks
Simplified Infrastructure
Improved Security
//docker 101
● Docker is a software technology providing containers
● Promoted by the company Docker Inc.
● Docker provides an additional layer of abstraction and automation of
operating-system-level virtualization on Linux and Windows.
● Docker uses the resource isolation features of the Linux kernel such as cgroups and
kernel namespaces, and a union-capable file system such as OverlayFS and others
● This allows independent "containers" to run within a single Linux instance, avoiding
the overhead of starting and maintaining virtual machines.
//just docker
//docker vs docker inc
● Docker is an open source software platform to create, deploy and manage virtualized
application containers on a common operating system (OS), with an ecosystem of
allied tools.
● https://mobyproject.org/
● Docker Inc. - the company that originally developed Docker, supports a commercial
edition and is the principal sponsor of the open source tool.
//docker vs open container initiative
Mission Statement
● The mission of the Open Container Initiative (OCI) is to promote a set of common, minimal, open standards and specifications
around container technology
Governing principles of the OCI?
● Technology leadership
● Influence through contribution
● Limited scope, limited politics
● Minimalist structure
● Representative leadership
● Adherence to anti-trust regulations
Why?
● Not bound to higher level constructs such as a particular client or orchestration stack,
● Not tightly associated with any particular commercial vendor or project, and
● Portable across a wide variety of operating systems, hardware, CPU architectures, public clouds, etc.
//we need more
Scheduling
Decide where to deploy containers
WE NEED MORE THAN JUST CONTAINERS
Lifecycle and health
Keep containers running despite failures
Discovery
Find other containers on the network
Monitoring
Visibility into running containers
Security
Control who can do what
Scaling
Scale containers up and down
Persistence
Survive data beyond container lifecycle
Aggregation
Compose apps from multiple containers
//www.linuxfoundation.org
//kuberneres 101
WHAT DO I GET WITH KUBERNETES?
Kubernetes satisfies a number of common needs of applications, such as:
● co-locating helper processes, facilitating composite applications and preserving the
one-application-per-container model
● mounting storage systems
● distributing secrets
● application health checking
● replicating application instances
● horizontal auto-scaling
● naming and discovery
● load balancing
● rolling updates
● resource monitoring
● log access and ingestion
● support for introspection and debugging
● identity and authorization
//The Illustrated Children’s
Guide to Kubernetes
https://youtu.be/4ht22ReBjno
//ok so what’s it do?
//environment(s)
//container(s)
//kubernetes
//labels(s)
//pod(s)
//replication controller(s)
//service(s)
//volumes(s)
//namespace(s)
//but operations needs tools
OPERATIONAL & PLATFORM REQUIREMENTS
NETWORKING
IMAGE REGISTRY
ENTERPRISE SUPPORT & INSURANCE
APPLICATION SERVICES
METRICS & LOGGING
LIFE CYCLE MANAGEMENT
SELF SERVICE & API’S
//and then there’s more and more...
OK - WHAT ELSE?
Routing & Load Balancing
Multi-tenancy
CI/CD Pipelines
Role-based Authorization
Capacity Management
Chargeback
Vulnerability Scanning
Container Isolation
Image Build Automation
Quota Management
Teams and Collaboration
Infrastructure Visibility
Training & Education
//openshift 101
SELF-SERVICE
APP SERVICES
APP LIFECYCLE MGMT
METRICS AND LOGGING
NETWORK
Bring your
own PaaS
physical
virtual
private cloud
any
public cloud
>
=
IDE Integration
Enterprise Support
//High Availability - Scale-Out Architecture
//Namespaces Explained
Namespaces - Project Isolation
● Kubernetes supports multiple virtual clusters
backed by the same physical cluster. These virtual
clusters are called namespaces.
● Namespaces are intended for use in environments
with many users spread across multiple teams, or
projects. For clusters with a few to tens of users,
you should not need to create or think about
namespaces at all. Start using namespaces when
you need the features they provide.
● Namespaces provide a scope for names. Names
of resources need to be unique within a
namespace, but not across namespaces.
● Namespaces are a way to divide cluster resources
between multiple uses (via resource quota).
//Eco-system of tooling example
PHYSICAL
SERVERS
VIRTUAL
SERVERS
PRIVATE
CLOUD
PUBLIC
CLOUD
MANAGED
SERVICE
IDM
Security Tools
Developer ToolsInfrastructure
Automation
Bring your own PaaS
Infrastructure
Identity Ops Tooling
//ansible automation
MODERNIZE
DEVOPS
MIGRATE
Automate existing
processes
Manage legacy like
DevOps
Model everything
Deploy continuously
Define applications
once
Re-deploy anywhere
//ansible for everyone
SIMPLE POWERFUL AGENTLESS
App deployment
Configuration management
Workflow orchestration
Orchestrate the app lifecycle
Human readable automation
No special coding skills needed
Tasks executed in order
Get productive quickly
Agentless architecture
Uses OpenSSH & WinRM
No agents to exploit or update
More efficient & more secure
//how ansible works
ANSIBLE’S AUTOMATION ENGINE
ANSIBLE PLAYBOOK
PUBLIC / PRIVATE
CLOUD
CMDB
USERS
INVENTORY
HOSTS
NETWORKING
PLUGINS
API
MODULES
//how ansible works
ANSIBLE’S AUTOMATION ENGINE
ANSIBLE PLAYBOOK
PUBLIC / PRIVATE
CLOUD
USERS
INVENTORY
HOSTS
NETWORKING
PLUGINS
API
MODULES
CMDB
CLOUD:
OpenStack, VMware, EC2, Rackspace, GCE,
Azure, Spacewalk, Hanlon, Cobbler
CUSTOM CMDB
//azure + ansible
Requirements Authentication Variables
● Active Directory
Username/Password
● Service Principal Credentials
Using the Azure Resource Manager
modules requires having Azure
Python SDK installed on the host
running Ansible.
$ pip install "azure==2.0.0rc5"
Specify in $HOME/.azure/credentials
● AZURE_CLIENT_ID
● AZURE_SECRET
● AZURE_SUBSCRIPTION_ID
● AZURE_TENANT
//azure modules
● azure - create or terminate vm in azure
● azure_rm_deployment - create or destroy ARM
template deployments
● azure_rm_publicipaddress - Manage Azure Public IP
Addresses
● azure_rm_publicipaddress_facts - Get public IP facts
● azure_rm_resourcegroup - Manage Azure resource
groups
● azure_rm_storageaccount - Manage Azure storage
accounts
//playbook example
---
- name: azure automation
hosts: all
vars:
http_port: 80
max_clients: 200
remote_user: root
tasks:
- name: Create storage account
azure_rm_storageaccount:
resource_group: testing
name: testaccount001
Account_type: Standard_LRS
//ansible tower
CONTROL
SIMPLE POWERFUL AGENTLESS
KNOWLEDGE DELEGATION
TOWER EXPANDS AUTOMATION TO YOUR ENTERPRISE.
AT ANSIBLE’S CORE IS AN OPEN-SOURCE AUTOMATION ENGINE.
Scheduled and
centralized jobs
Visibility and
compliance
Role-based access
and self-service
Everyone speaks the
same language
Designed for
Multi-tier deployments
Predictable, reliable,
and secure
//what is ansible tower?
Ansible tower is an enterprise
framework for controlling, securing
and managing your Ansible automation
– with a UI and RESTful API.
• Role-based access control keeps
environments secure, and teams efficient.
• Non-privileged users can safely deploy
entire applications with push-button
deployment access.
• All Ansible automations are centrally
logged, ensuring complete auditability
and compliance.
//automate everything
USE CASES
USERS
ANSIBLE
PYTHON CODEBASE
OPEN SOURCE MODULE LIBRARY
PLUGINS
CLOUD
AWS,
GOOGLE CLOUD,
AZURE …
INFRASTRUCTURE
LINUX,
WINDOWS,
UNIX …
NETWORKS
ARISTA,
CISCO,
JUNIPER …
CONTAINERS
DOCKER,
LXC …
SERVICES
DATABASES,
LOGGING,
SOURCE CONTROL
MANAGEMENT
TRANSPORT
SSH, WINRM, ETC.
AUTOMATE
YOUR ENTERPRISE
ADMINS
ANSIBLE CLI & CI SYSTEMS
ANSIBLE PLAYBOOKS
….
ANSIBLE
TOWER
SIMPLE USER INTERFACE TOWER API
ROLE-BASED
ACCESS CONTROL
KNOWLEDGE
& VISIBILITY
SCHEDULED &
CENTRALIZED JOBS
CONFIGURATION
MANAGEMENT
APP
DEPLOYMENT
CONTINUOUS
DELIVERY
SECURITY &
COMPLIANCE
ORCHESTRATIONPROVISIONING
//Azure Infrastructure Demo
//so what are we building - architecture 101
//CI //CD
(Continuous Integration, Continuous Deployment, Continuous Delivery)
//Pipeline Delivery
Automation
//why ? - simple goals - process automation
//the road to continuous delivery
//the need for an automation engine
//A Jenkins Workflow
//local machine development using CDK
//Registry Strategies - Environment Promotion
Another Option
oc new-project dev --display-name="Tasks - Dev"
oc new-project stage --display-name="Tasks - Stage"
oc new-project cicd --display-name="CI/CD"
oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n dev
oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n stage
oc process -f cicd-template.yaml | oc create -f -
Example - https://github.com/daniyalj/openshift-cd-demo/blob/ocp-3.4/cicd-template.yaml
//continuous delivery workflow
//Continuous Delivery
Workflow Demo
//continuous deployment workflow
● Each commit drives a build & deployment create a
“baked” application container in the registry in the
development project / environment (S2i example)
● Upon success the application container is pulled from the
development project and deployed into the Testing / QA
project / environment
● Think how we handle war’s and jar’s today, we manage
the compiled artifact. The container image is the new
artifact and we utilize the same governance processes
that exist today.
● This workflow can extend to production by introduction of
the required enterprise controls.
● The only way to get code into
production is to start in Dev > QA > ...
//Continuous Deployment
Pipelines Demo
http://dashai.org
//Join Arctiq’s Expedition
We’re Hiring!!!
http://www.arctiq.ca/careers
//OpenShift Labs Links
https://github.com/kylearctiq/devops_halifax
https://github.com/minishift/minishift
https://github.com/RedHatWorkshops
https://github.com/RedHatWorkshops/openshiftv3-workshop
https://github.com/RedHatWorkshops/openshiftv3-ops-workshop
https://github.com/VeerMuchandi/openshift-local
https://github.com/RedHatWorkshops/openshiftv3-advanced-workshop
Kyle Bassett
kyle.bassett@arctiq.ca
@kylebassett
//location
?

More Related Content

PPTX
Docker Containers for Continuous Delivery
PPTX
Docker: Redistributing DevOps cards, on the way to PaaS
PPTX
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
PDF
War of Openstack Private Cloud Distribution
PPTX
Dockercon Europe 2014 - Continuous Delivery leveraging on Docker CaaS
PPTX
Docker, cornerstone of an hybrid cloud?
PDF
Docker meetup-20-apr-17-openshit
PPTX
Openstack Quantum yahoo meetup 1 23-13
Docker Containers for Continuous Delivery
Docker: Redistributing DevOps cards, on the way to PaaS
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
War of Openstack Private Cloud Distribution
Dockercon Europe 2014 - Continuous Delivery leveraging on Docker CaaS
Docker, cornerstone of an hybrid cloud?
Docker meetup-20-apr-17-openshit
Openstack Quantum yahoo meetup 1 23-13

What's hot (20)

PPTX
The missing piece : when Docker networking and services finally unleashes so...
PDF
Docker and Containers overview - Docker Workshop
PDF
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
PDF
NCA GTUG 2012 - Cloud is such stuff as dreams are made on
PDF
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
PDF
OpenStack Cloud Tutorial | What is OpenStack | OpenStack Tutorial | OpenStack...
PDF
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...
PDF
Journey to the devops automation with docker kubernetes and openshift
PDF
Comparing open source private cloud platforms
PDF
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
PDF
(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective
PDF
OpenStack for VMware Administrators
PDF
DockerCon SF 2015: Keynote Day 1
PPTX
Weave User Group Talk - DockerCon 2017 Recap
PDF
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
PDF
Docker for any type of workload and any IT Infrastructure
PPTX
Docker taylor swift and protection v06
PDF
VMware@Night: Container & Virtualisierung
PPTX
OpenStack + VMware at the Hong Kong OpenStack Summit
PDF
Tech Talk #2: Docker - From $1 Billion Startup to the Future Industry Standard
The missing piece : when Docker networking and services finally unleashes so...
Docker and Containers overview - Docker Workshop
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
NCA GTUG 2012 - Cloud is such stuff as dreams are made on
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
OpenStack Cloud Tutorial | What is OpenStack | OpenStack Tutorial | OpenStack...
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...
Journey to the devops automation with docker kubernetes and openshift
Comparing open source private cloud platforms
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective
OpenStack for VMware Administrators
DockerCon SF 2015: Keynote Day 1
Weave User Group Talk - DockerCon 2017 Recap
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Docker for any type of workload and any IT Infrastructure
Docker taylor swift and protection v06
VMware@Night: Container & Virtualisierung
OpenStack + VMware at the Hong Kong OpenStack Summit
Tech Talk #2: Docker - From $1 Billion Startup to the Future Industry Standard
Ad

Similar to Halifax DevOps - Meet-up - July.19 2017 (20)

PDF
Open shift and docker - october,2014
PPTX
Microsoft, Linux, Open Source, DevOps
PDF
Red Hat Openshift on Microsoft Azure
PDF
OpenShift Taiwan Vol.1 Technology Overview
PDF
DevOpsDays Houston 2019 - Shaun Ladewig, Robert Stone - From OverTheWallOps t...
PPTX
Kubernetes for .NET Developers
PDF
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
PDF
OpenShift for Developers: A Guide for Impatient Beginners 2nd Edition Joshua ...
PPTX
Using Azure DevOps to continuously build, test, and deploy containerized appl...
PPTX
Ignite 2017 - Windows Server Feature Release
PDF
Deploy 22 microservices from scratch in 30 mins with GitOps
PDF
[OpenInfra Days Vietnam 2019] Innovation with open sources and app modernizat...
PPTX
OpenShift: Devops Made Easy
PDF
Perth MeetUp November 2023
ODP
DevOps @ OpenShift Online
ODP
Putting The PaaS in OpenStack with Diane Mueller @RedHat
PPTX
Interop 2017 - Managing Containers in Production
PPTX
Docker Meetup Paris: enterprise Docker
PDF
PaaS Solutions Comparison
PDF
Download full DevOps with OpenShift 1st Edition Mike Hepburn ebook all chapters
Open shift and docker - october,2014
Microsoft, Linux, Open Source, DevOps
Red Hat Openshift on Microsoft Azure
OpenShift Taiwan Vol.1 Technology Overview
DevOpsDays Houston 2019 - Shaun Ladewig, Robert Stone - From OverTheWallOps t...
Kubernetes for .NET Developers
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
OpenShift for Developers: A Guide for Impatient Beginners 2nd Edition Joshua ...
Using Azure DevOps to continuously build, test, and deploy containerized appl...
Ignite 2017 - Windows Server Feature Release
Deploy 22 microservices from scratch in 30 mins with GitOps
[OpenInfra Days Vietnam 2019] Innovation with open sources and app modernizat...
OpenShift: Devops Made Easy
Perth MeetUp November 2023
DevOps @ OpenShift Online
Putting The PaaS in OpenStack with Diane Mueller @RedHat
Interop 2017 - Managing Containers in Production
Docker Meetup Paris: enterprise Docker
PaaS Solutions Comparison
Download full DevOps with OpenShift 1st Edition Mike Hepburn ebook all chapters
Ad

Recently uploaded (20)

PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Machine learning based COVID-19 study performance prediction
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Monthly Chronicles - July 2025
GamePlan Trading System Review: Professional Trader's Honest Take
Dropbox Q2 2025 Financial Results & Investor Presentation
20250228 LYD VKU AI Blended-Learning.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Mobile App Security Testing_ A Comprehensive Guide.pdf
MYSQL Presentation for SQL database connectivity
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
Reach Out and Touch Someone: Haptics and Empathic Computing
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Machine learning based COVID-19 study performance prediction
Advanced methodologies resolving dimensionality complications for autism neur...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Monthly Chronicles - July 2025

Halifax DevOps - Meet-up - July.19 2017