TACKLING BIG-IP BLUE-GREEN DEPLOYMENTS IN PRIVATE CLOUD USING F5 & VMWARE ANSIBLE MODULES

Similar documents
Sanjay Shitole, Principle Solutions Engineer

Building and Managing Clouds with CloudForms & Ansible. Götz Rieger Senior Solution Architect January 27, 2017

Get Automating with Infoblox DDI IPAM and Ansible

Button Push Deployments With Integrated Red Hat Open Management

AUTOMATION FOR EVERYONE Accelerating your journey to the Hybrid Cloud with Ansible Tower

Ansible Tower on the AWS Cloud

Ansible Tower Quick Setup Guide

AUTOMATION ACROSS THE ENTERPRISE

Ansible Tower Quick Setup Guide

Ansible F5 Workshop +

RED HAT TECH EXCHANGE HOUSE RULES

IN DEPTH INTRODUCTION ARCHITECTURE, AGENTS, AND SECURITY

Infoblox and Ansible Integration

Splunk and Ansible. Joining forces to increase implementation power. Rodrigo Santos Silva Head of Professional Services, Tempest Security Intelligence

SELF-SERVICE IT WITH ANSIBLE TOWER & MICROSOFT AZURE. Chris Houseknecht Dave Johnson. June #redhat #rhsummit

OPEN SOURCING ANSIBLE

ANSIBLE AUTOMATION AT TJX

MULTI CLOUD AS CODE WITH ANSIBLE & TOWER

Webserver deployment on. Amazon Web Services using IAC tool Terraform

Zero Touch Provisioning of NIOS on Openstack using Ansible

ANSIBLE TOWER OVERVIEW AND ROADMAP. Bill Nottingham Senior Principal Product Manager

Enhancing Secrets Management in Ansible with CyberArk Application Identity Manager

Getting Started with Ansible - Introduction

Ansible + Hadoop. Deploying Hortonworks Data Platform with Ansible. Michael Young Solutions Engineer February 23, 2017

Cloud and Devops - Time to Change!!! PRESENTED BY: Vijay

INTRODUCTION CONTENTS BEGINNER S GUIDE: CONTROL WITH RED HAT ANSIBLE TOWER

Automate Patching for Oracle Database in your Private Cloud

Automation and configuration management across hybrid clouds with CloudForms, Satellite 6, Ansible Tower

AUTOMATING THE ENTERPRISE WITH ANSIBLE. Dustin Boyd Solutions Architect September 12, 2017

ANSIBLE TOWER IN THE SOFTWARE DEVELOPMENT LIFECYCLE

Ansible in Depth WHITEPAPER. ansible.com

Infrastructure at your Service. Setup Oracle Infrastructure with Vagrant & Ansible

Ansible and Ansible Tower by Red Hat

NEW vsphere Replication Enhancements & Best Practices

Ansible Tower Quick Install

AGENTLESS ARCHITECTURE

GIVING POWER TO THE PEOPLE With General Mills

Ansible at Scale. David Melamed Senior Research Engineer, CTO Office, CloudLock

Housekeeping. Timing Breaks Takeaways

Contents. Prerequisites 1. Linux 1. Installation 1. What is Ansible? 1. Basic Ansible Commands 1. Ansible Core Components 2. Plays and Playbooks 8

Automation: Making the Best Choice for Your Organization

mastering ansible A622DFD780311BCF8921DE033F8C7977 Mastering Ansible 1 / 6

Managing 15,000 network devices with Ansible. Landon Holley & James Mighion May 8, 2018

Managing Microservices using Terraform, Docker, and the Cloud

Ansible Tower Quick Install

Ansible - Automation for Everyone!

Ansible. Go directly to project site 1 / 36

HASHICORP TERRAFORM AND RED HAT ANSIBLE AUTOMATION Infrastructure as code automation

Getting started with Ansible and Oracle

Ansible Essentials 5 days Hands on

DevOPS, Ansible and Automation for the DBA. Tech Experience 18, Amsersfoot 7 th / 8 th June 2018

Rapid Deployment of Bare-Metal and In-Container HPC Clusters Using OpenHPC playbooks

ANSIBLE SERVICE BROKER Deploying multi-container applications on OpenShift Todd Sanders John Matthews OpenShift Commons Briefing.

Back to TOC. KUKA Connect FAQ

Study Guide. Expertise in Ansible Automation

IAC on OpenStack (feat. ansible) 김용기부장 Sr. Solution Architect Red Hat

Ansible. -- Make it so

We are ready to serve Latest IT Trends, Are you ready to learn?? New Batches Info

Bentley Cloud Computing Strategy Present and Future

Choosing an orchestration tool: Ansible and Salt. Ken Wilson Opengear. Copyright 2017 Opengear, Inc. 1

AWS and Ansible. Automating Scalable (and Repeatable) Architecture

INTRODUCTION WHY CI/CD

Ansible: Server and Network Device Automation

Terraform & Infrastructure as Code. Ben Higginbottom (kind of a big deal) ((seriously - I ve helped hijack a spacecraft))

Infrastructure as Code CS398 - ACC

Ansible and Firebird

Ansible Hands-on Introduction

Database Operations at Groupon using Ansible. Mani Subramanian Sr. Manager Global Database Services Groupon

Ask an Expert: Ansible Network Automation

Behind the scenes of a FOSS-powered HPC cluster at UCLouvain

The Foreman. Doina Cristina Duma, cristina.aiftimiei<at>cnaf.infn.it Diego Michelotto, diego.michelotto<at>cnaf.infn.it INFN-CNAF

Zabbix Ansible Module. Patrik Uytterhoeven

Ansible. For Oracle DBAs. Alexander Hofstetter Trivadis GmbH

Data-Driven DevOps Using Splunk SoLware and Ansible Tower

Live Agent for Administrators

Harnessing your cluster with Ansible

Live Agent for Administrators

OpenStack Summit Austin

Live Agent for Administrators

Managing Microservices Using Terraform, Docker, and the Cloud

Electronic Signature. July 2, 2018

Ansible Tower Upgrade and Migration

PaperCut PaperCut Payment Gateway Module - CASHNet emarket Checkout - Quick Start Guide

Introduction to Ansible

Qt Developing ArcGIS Runtime Applications. Eric

J, K, L. Each command, 31. Fully qualified domain name (FQDN), 116

*Please see course page for full description and additional details.

Dell EMC Networking Ansible Integration Documentation

COALESCE V2 CENTRAL COALESCE CENTRAL USER GUIDE WC-COA 24/7 TECHNICAL SUPPORT AT OR VISIT BLACKBOX.COM. Display Name.

Incognito Software Inc.

MARCO MALAVOLTI

Ansible Tower 3.0.x Upgrade and Migration

Ansible Tower Upgrade and Migration

vagrant up for Network Engineers Do it like they do on the Developer Channel!

Splunk ConfiguraAon Management and Deployment with Ansible

XLR PRO Radio Frequency (RF) Modem. Getting Started Guide

Scalable and Lightweight CTF Infrastructures Using Application Containers

Dell EMC OpenManage Ansible Modules. Version 1.0 Installation Guide

TurboVUi Solo. User Guide. For Version 6 Software Document # S Please check the accompanying CD for a newer version of this document

DESIGNING CHAT AND VOICE BOTS

Transcription:

TACKLING BIG-IP BLUE-GREEN DEPLOYMENTS IN PRIVATE CLOUD USING F5 & VMWARE ANSIBLE MODULES Eric McLeroy, Sr. Specialist Solutions Architect, Ansible by Red Hat eric.mcleroy@redhat.com Payal Singh, Principal Solution Engineer, F5 Networks payal.singh@f5.com 1

AGENDA Networking automation use cases F5 BIG-IP: Introduction Blue green deployment use case Demo Playbook walkthrough

TOP 3 F5 BIG-IP AND ANSIBLE USE CASES 1) Gather facts Allows gathering of information about your environment 2) Making changes Provides the ability to make small changes as needed 3) Scaling out Provides the ability to launch entire applications stacks

4 BIG-IP INTRODUCTION

F5 INTRODUCTION Data Center Devices Internet Load Balancing DDoS Protection Firewall BIG-IP LTM APM ASM BIG-IP Local Traffic Manager BIG-IP Access Policy Manager BIG-IP Application Security Manager

RECAP Previous Webinars Automate BIG-IP in customer environments using Ansible Basic F5 playbook Ansible F5 modules Fast application deployment and customer use case with Ansible and F5 BIG-IP Onboarding Using iapps to deploy configuration on BIG-IP WWT: BUILDING A F5 SOLUTION WITH ANSIBLE TOWER Using Tower to configure the BIG-IP

7 F5 AND ANSIBLE SOLUTION

F5 and Ansible Solution 1 Ansible Versions 2.3 + Private cloud 2 bigsuds, f5-sdk Playbooks REST/SOAP API calls F5 Virtual Editions BIG-IP Platform F5 VIPRION 3 TMOS v12.x + Ansible Host Public cloud LTM DNS Amazon Web Services Microsof t Azure Google Cloud Platform F5 Ansible Modules officially supported : https://f5.com/support/support-policies

9 BLUE GREEN DEPLOYMENTS

BLUE GREEN DEPLOYMENTS 100% Blue Environment Users ADC Green Environment

USE F5 BIG-IP DNS LTM VIP visibility into BIG-IP DNS Data Center 1 Devices/Users BIG-IP LTM Servers BIG-IP Data Center 2 Global Load Balancing Geographic load balancing Infrastructure Monitoring BIG-IP LTM Servers

HOW IT WORKS LTM1 Virtual IP Users Wide IP (my-wide-ip.example.com ) Pool Members 100% VIP down OR Pool down LTM2 Virtual IP Pool of Servers Pool of Servers LTM BIG-IP BIG-IP

DEMO 1) PROVISION AND LICENSE A VIRTUAL BIG-IP LTM2 IN VMWARE 2) SWITCH TRAFFIC FROM LTM1 TO LTM2 13

Demo Part1 Develop an automated workflow to provision, license and configure a BIG-IP in a VMware environment vcenter Playbook 1 Spin up BIG-IP in vcenter * BIG-IP VE template is created on vcenter Reconfigure the network adaptor settings Grab the VM IP assigned by DHCP to the BIG-IP VE Ansible Tower BIG-IP LTM2 License the BIG-IP VE Provision the BIG-IP with ASM module Onboard the BIG-IP (Hostname/NTP/DNS/SSHD) 2 Network the BIG-IP (VLAN/Self-IP) Import and activate the ASM policy Add pool members and pool Add virtual server and attach the ASM policy to it

15 DEMO PART1: VIDEO AND PLAYBOOK WALKTHROUGH

Demo Part2 Steps: Setup connectivity between LTM2 and DNS Add LTM2 to DNS WideIP pool For traffic switch: Disable the virtual server on LTM1 BIG-IP MGMT IP 10.192.73.219 Self-IP 10.168.68.100 Listener Virtual IP 10.168.68.101 (53) Setup complete with DNS Data Center Connectivity to be setup with DNS BIG-IP LTM1 VE MGMT IP 10.192.73.218 Self-IP 10.168.68.10 Virtual IP 10.168.68.11 BIG-IP LTM2 VE MGMT IP 10.192.73.246 Self-IP 10.168.68.5 Virtual IP 10.168.68.12

17 DEMO PART2: VIDEO AND PLAYBOOK WALKTHROUGH

Alternative Solutions If a Static MGMT IP needs to be assigned to the BIG-IP instead of using DHCP for MGMT IP (BIG-IP Version 13.1+) 1) Edit the OVA file using a tool like COT (Common OVF Tool) cot edit-properties <source filename>.ova -p net.mgmt.addr=""+string -p net.mgmt.gw=""+string p user.root.pwd=""+string -p user.admin.pwd=""+string -u -o <destination filename>.ova 2) Edit the OVA (template) properties so that when you deploy BIG-IP VE, you can specify values for the management IP address and default passwords. Example snippet 3) Use an Ansible playbook to execute deploying the OVA file (Step 2) https://github.com/f5rstahl/simple-ansible-playbook https://github.com/payalsin/f5-ansible/tree/master/playbooks/spinup-demo/static

Alternative Solutions BIG-IQ to be used for licensing BIG-IP Playbook License Private/Public cloud Ansible Tower BIG-IQ F5 Virtual Editions BIG-IP Platform F5 VIPRION Sample Playbook https://github.com/payalsin/f5-ansible/tree/master/playbooks/spinup-demo/big-iq

GET STARTED 20

WHERE DO I BEGIN Automation is not a tool - It s a strategy, it s a journey Learn automation practices - Super NetOps training courses can help - Join existing Ansible network automation communities Start small - Create Playbooks that read or check only - Create simple jobs that eliminate the annoying network tasks 21

BIG-IP on Ansible Galaxy MORE WORKFLOWS Please contribute.. Your BIG-IP roles for community! https://galaxy.ansible.com/list#/roles?page=1&page_size=10&autocomplete=bigip https://galaxy.ansible.com/payalsin/bigip-ansible-ha-setup/ 22

FAQ Where can I learn more about Ansible & F5 www.ansible.com/f5 What is in the roadmap More modules in general using YOUR inputs: https://github.com/f5networks/f5-ansible/projects What do I do if I have an issue with an existing F5 module Open an GitHub issue: https://github.com/f5networks/f5-ansible/issues I love it - I want to try out Ansible-Tower www.ansible.com/tower-trial/ Email: gettingstarted@ansible.com Email: devops@f5.com 23

REFERENCES Get started on your automation journey: www.f5.com/supernetops Learn more about solution: (webinars, modules, blogs) www.ansible.com/f5 Solution Overview: https://www.f5.com/pdf/solution-center/f5-ansible-overview.pdf Whitepaper: https://f5.com/portals/1/pdf/partners/automating-f5-big-ip-platform-with-ansible.pdf Current F5 modules in Ansible core: http://docs.ansible.com/ansible/list_of_network_modules.html#f5 Request feature-enhancements: https://github.com/f5networks/f5-ansible/issues Download Current Ansible (2.6): http://releases.ansible.com/ansible/ 24

REFERENCES Blue-Green deployment https://github.com/payalsin/f5-ansible/tree/master/playbooks/spinup-demo Static IP assignment https://devcentral.f5.com/articles/ve-on-vmware-part-1-custom-properties-29787 https://devcentral.f5.com/articles/ve-on-vmware-part-2-ansible-deployment-29790 https://github.com/f5rstahl/simple-ansible-playbook https://github.com/f5networks/f5-vmware-vcenter-templates https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-ve-setup-vmware-esx i-13-1-0/3.html BIG-IQ licensing https://github.com/payalsin/f5-ansible/tree/master/playbooks/spinup-demo/big-iq 25

26 THANK YOU