deploying nginx plus with ansible

12
Deploying NGINX Plus with Ansible Kevin Jones @webopsx 9-24-2015

Upload: kevin-jones

Post on 12-Feb-2017

504 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Deploying NGINX Plus with Ansible

Deploying NGINX Plus with AnsibleKevin Jones @webopsx9-24-2015

Page 2: Deploying NGINX Plus with Ansible

#nginx #nginxconf2

Currently a Sales Engineer working for NGINX, Inc.

Previously worked at Yellow Pages LLC, - AKA YP

Background in Production Operations and Site Reliability

Experience with large scale application management and deployment- 6,000+ servers- 2 US data centers- 300+ virtual servers

Love automating things and making my life easier :)

Enjoy music and meeting new people! Come say hi!

A little about me.

Page 3: Deploying NGINX Plus with Ansible

Our Objectives

#nginx #nginxconf3

1

2

3

4

Quick Intro to AnsibleWhat is Ansible and how can it help you?

Configuration OverviewIn my demo we will deploy NGINX Plus as a Load Balancer and a Web Server

Ansible / NGINX Plus DemoLets hope this works!! :X

Ansible / NGINX Plus HelpWhere can I get help? What next? “Chargggge!”

Page 4: Deploying NGINX Plus with Ansible

#nginx #nginxconf4

Page 5: Deploying NGINX Plus with Ansible

#nginx #nginxconf5

Page 6: Deploying NGINX Plus with Ansible

#nginx #nginxconf6

“Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.”

http://www.ansible.com/how-ansible-works

Page 7: Deploying NGINX Plus with Ansible

#nginx #nginxconf7

Modules can be written in any language that returns JSONTons of modules available to useYAML based configurations files (easy to read)SSH or Python API based authenticationGreat verbose debugging/logging capabilitiesJinja2 templating… and much much more.

Why I love Ansible…

Page 8: Deploying NGINX Plus with Ansible

#nginx #nginxconf8

Deployment Modules Used--- modules: - name: template use: configuration template deployment - name: service use: manage unix services - name: file use: create folders or files - name: copy use: copy files - name: get_url use: download files - name: yum use: yum package manager - name: pip use: python package manager - name: uri use: python HTTP library (uses httplib2)

http://docs.ansible.com/ansible/YAMLSyntax.html

Page 9: Deploying NGINX Plus with Ansible

#nginx #nginxconf9

It looks like like a lot but its not…

https://github.com/kmjones1979/ansible-demo

Page 10: Deploying NGINX Plus with Ansible

#nginx #nginxconf

Demo time.

10

Page 11: Deploying NGINX Plus with Ansible

#nginx #nginxconf11

HALP!!!11!

NGINX Plushttps://www.nginx.com/resources/admin-guide/

http://nginx.org/en/docs/

Ansible Documentation http://docs.ansible.com/

Page 12: Deploying NGINX Plus with Ansible

#nginx #nginxconf12

Thank you all for coming!!

http://www.slideshare.net/KevinJones62https://twitter.com/webopsx