Clouds

Automating Fortinet FortiOS and FortiGate with Python and Ansible

Essential Skills Gained

Checkmark

Automating the FortiGate and FortiOS APIs with Python and Ansible

Checkmark

AI LLM prompt engineering for generating Ansible solutions

Checkmark

Ansible collections for FortiGate and FortiOS network security appliances

Checkmark

YAML formatting

Format

5 day course with lecture and hands-on labs.

Audience

FortiGate and FortiOS Administrators

Security Engineers

DevOps Engineers

System and Cloud Administrators

Network Engineers and Developers

Python and Ansible Developers

Description

Supercharge the pace of FortiOS and FortiGate Next Generation Firewalls (NGFWs) administration operations with Python and Ansible tool sets. In this 5 day instructor led course, students write code to automate the FortiOS and FortiGate REST APIs. Automate common tasks such as update, change, backup operations, and more. All lessons focus on best practice techniques, including interacting with git, GitHub or GitLab, and writing prompts for AI LLM tools to generate relevant solutions.

Summary

  • 💻 Register for Poll

  • 💻 Welcome to the Alta3 Research Lab Environment

Up and Running

  • 💻 Using Vi and Vim

  • 💻 Using VSCode

Certification

  • 💻 Alta3 Research Automating FortiGate and FortiOS with Python and Ansible Certification

AI LLM Toolkit

  • 💻 Large Language Model toolkit for AI Solution Assistance

Overview

  • 💬 FortiGate and FortiOS Automation Options

Software Control Management

  • 💻 SCM Option #1 - GitHub

  • 💻 SCM Option #2 - GitLab

Automating with Linux Tools

  • 💻 Postman and FortiGate and FortiOS

  • 💻 cURL and FortiGate and FortiOS

  • 💻 FortiGate and FortiOS JSON

FortiGate and FortiOS REST API

  • 💬 FortiGate and FortiOS REST API

Python

  • 💻 Up and Running with Python

  • 💻 Python requests library

  • 💬 FortiGate and FortiOS Python Clients

  • 💻 Using FortiGate and FortiOS Python Clients

Ansible Basics

  • 💬 Introduction to Ansible

  • 💻 Methods for Installing Ansible

  • 💬 Static Inventory

  • 💻 Ansible Host Inventory

  • 💬 Introduction to YAML

  • 💻 Running a Playbook

  • 💻 ansible.cfg setup

  • 💬 Ansible Galaxy

Ansible and FortiGate and FortiOS

  • 💬 Ansible Collections

  • 💻 Ansible Collection for FortiGate and FortiOS

  • 💻 Building Playbooks for FortiGate and FortiOS

  • 💻 Loops and Vars Files in Playbooks

  • 💬 FortiGate and FortiOS Ansible Modules

  • 💻 Common FortiGate and FortiOS Operations with Ansible

  • 💻 Error Handling in FortiGate and FortiOS Playbooks

  • 💻 Building When Conditionals for FortiGate and FortiOS Playbooks

  • 💻 FortiGate and FortiOS Change Operations with Ansible

Critical Ansible Modules and Techniques

  • 💬 Avoiding Command Line Operations

  • 💻 Ansible Module - shell

  • 💬 Backing up and Writing Out FortiGate and FortiOS Configuration

  • 💻 Ansible Module - copy

  • 💬 Automate Every API

  • 💻 Ansible Module - get_url and uri

  • 💬 Create and Remove Files and Directories

  • 💻 Ansible Module - file

  • 💬 Cloning Resources and Prerequisites for FortiGate and FortiOS

  • 💻 Ansible Module - git

  • 💬 Modifying Configuration with Ansible

  • 💻 Ansible Module - lineinfile and replace

  • 💬 Running Scripting with Ansible

  • 💻 Ansible Module - script

Creating Manageable Solutions

  • 💻 Writing A FortiGate and FortiOS Playbook

  • 💬 From a Playbook to a Role

  • 💻 Creating a FortiGate and FortiOS Playbook with Roles

Security

  • 💬 Secret Management Options and Considerations for FortiGate and FortiOS

  • 💻 Ansible Lookup Plugin

  • 💻 Ansible Vault

AI LLM Prompting

  • 💬 Creating FortiGate and FortiOS Automation Solutions with AI LLM tools

  • 💻 Writing Prompts for AI LLM tools to Automate FortiGate and FortiOS

  • 💻 Proofing Solutions Generated by AI

Industry Scenarios

  • 💬 optional - Building Pipelines with GitHub Actions

  • 💬 optional - Automating CI CD Operations with GitLab

  • 💬 optional - Overview of AWX, Tower, or Ansible Automation Platform

  • 💬 optional - Applying Our Training within Your Organization

Previews from "Ansible 201 - Network Automation"

  • 💻 Ansible and TextFSM

  • 💻 Python to Cisco NX-OS

Previews from "Ansible 202 - Server Automation"

  • 💬 Ansible for VMWare VCenter

  • 💻 Launch a VM with Ansible

  • 💻 Setup Mock Redfish Container

  • 💻 Redfish Module: redfish_info

  • 💻 Redfish Module: redfish_command

Previews from "Ansible 203 - Windows"

  • 💬 Accessing Your Windows Server

  • 💻 Ansible Windows Ping and Inventory

  • 💻 Update Windows with Ansible

Continuing Education

  • 💬 Continuing Education

Appendix

  • 💻 Accessing FortiGate and FortiOS

  • 💬 Glossary

  • 💬 Curriculum Path: NetDevOps

Your Team has Unique Training Needs.

Your team deserves training as unique as they are.

Let us tailor the course to your needs at no extra cost.