itsm for a cloud-based container infrastructure using dockerand terraform wa kwan.pdf ·...

11
ITSM for a cloud-based container infrastructure using Docker and Terraform itSMF Hong Kong Annual Conference 2016 March 9 th 2016 Koon Wa Kwan Operations Lead © 2016 Ribose. Public.

Upload: others

Post on 27-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

ITSM for a cloud-based container infrastructure using Docker and Terraform

itSMF Hong Kong Annual Conference 2016March 9th 2016

Koon Wa KwanOperations Lead

© 2016 Ribose. Public.

Page 2: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

⬣ What is Ribose

⬣ ITSM (and ISO/IEC 20000-1) with legacy infrastructure

⬣ New cloud technologies creates new opportunities

⬣ Next generation ITSM using containers and cloud

infrastructure

Agenda

© 2016 Ribose. Public.

Page 3: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

⬣ Fully-secure out of the box⬣ Immediate onboarding, no training

necessary

⬣ Collaborate internally and externally⬣ Independently verified industry-leading

cloud security and compliance

Ribose is a secure cloud collaboration platform

© 2016 Ribose. Public.

www.ribose.com

And ISO/IEC 20000-1 certified!

Page 4: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

Industry-leading security validations

© 2016 Ribose. Public.

First worldwide

First SaaS, highest Gold

First SaaS

Cloud Application Mission-critical Systematic

Privacy

UK Govt.CES Plus

SG Govt. MTCS

First worldwide, highest Level 3

UK Govt. SECRET level

Page 5: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

© 2016 Ribose. Public.

Infrastructure of the last century leads to ITSM challenges

© 2016 Ribose. Public.

Multiple assets to track

⬣ Physical: servers, networks, appliances

⬣ Software: OS, applications

⬣ Configuration: physical setup, connections,

software settings, policies, hardening

Decentralized responsibilities

Complex configuration management

Challenges

⬣ Different CIs complicates procedures

⬣ Cannot eproduce a “consistent” release

⬣ Responsibility crosses different teams

⬣ Hard to plan new and changed services

Page 6: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

Control processes are central to all ITSM processes

© 2016 Ribose. Public.

http://os.itil.org/osMedia/pic/iso20000-onr_4732_or.png

Page 7: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

© 2016 Ribose. Public.

Code as application stack

Code as service

Code as infrastructure

New generation DevOps

© 2016 Ribose. Public.

Page 8: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

Application stack as code: Docker containers

© 2016 Ribose. Public.

Sample Dockerfile

FROM centos:7MAINTAINER Kwan Koon WaADD ./mysql-setup.sh /tmp/mysql-setup.shRUN /bin/sh /tmp/mysql-setup.shEXPOSE 3306CMD ["/usr/sbin/mysqld"]

Docker⬣ Containers as file system layers⬣ Simplifies the installation and configuration of the software⬣ Code-based

Page 9: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

Cloud-based infrastructure is all encompassing⬣ Computing instances, networks⬣ DNS, load balancing, content distribution⬣ Databases, file storage, archiving⬣ …

Terraform⬣ State management of cloud-based infrastructure⬣ Simplifies the build, modification and launch of the

infrastructure⬣ Platform agnostic⬣ Run “terraform apply”

Cloud-based infrastructure as code: Terraform

© 2016 Ribose. Public.

Sample Terraform file

resource "aws_elb" "frontend" {name = "frontend-load-balancer"listener {

instance_port = 8000instance_protocol = "http"lb_port = 80lb_protocol = "http"

}instances = ["${aws_instance.app.*.id}"]

}

resource "aws_instance" "app" {count = 5ami = "ami-408c7f28"instance_type = "t1.micro"

}

Page 10: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

© 2016 Ribose. Public.

Combining both gives us “Code as Service: deploy an entire environment with a single command

Code as ApplicationContainers = entire software stack

Code as InfrastructureCloud infrastructure = entire

infrastructure

Code as ServiceSimplifies ITSM to the maximum using DevOps

Greatly simplifies ITSM processes:⬣ Design and transition of new or changed services ⬣ Configuration management⬣ Change management⬣ Release and deployment management

Page 11: ITSM for a cloud-based container infrastructure using Dockerand Terraform Wa Kwan.pdf · 2016-12-19 · Cloud infrastructure = entire infrastructure Code as Service Simplifies ITSM

T H A N K Y O U

Questions?

© 2016 Ribose. Public.