In Part I of the Ansible series, we looked at how to backup the configuration of network devices like cisco, juniper, arista, etc to the local disk of the ansible control node. However, in this post, we will see how we can take the backup of the configuration directly to the TFTP server using Ansible….
How to backup network devices using Ansible – Part I
After a lot of procrastination and apprehension to learn Ansible for reasons that network industry folks are well aware of, I finally have to learn Ansible because the job demands it now. Of course, one of the primary tasks is to learn how to back up the configuration of network devices using Ansible. In this…
Netmiko SSH Proxy/JumpServer
This post is going to talk about the ways you could use to access the end devices through the jump server or a proxy server. I am going to use Netmiko which is my all-time favorite tool whenever I need to programmatically interact with network devices. Let’s see how we can leverage Netmiko SSH proxy…
A short note on SASE
SASE is the new approach towards Network and Security Architecture for today’s Enterprises. Basically SASE is the acronym for Secure Access Service Edge. As the pandemic has changed how we work, almost every organization now has it’s employees working from the cozy corners of their homes, workforce is remote and much distributed now. Employees connecting…
Understanding Ansible
What is Ansible? Ansible is a tool developed by our beloved Red Hat to automate lots of stuff around infrastructure. There’s lot of magic that has been put into in the form of code which enables ansible do stuff quite seamlessly. However, mostly Ansible is being used for configuration management of devices in cloud and…
Deploying VPC and an EC2 Instance in AWS using Terraform
Letâs do a short exercise wherein we will define a VPC and spin up an EC2 instance in the AWS cloud. We can use the AWS free tier account to do it. First, the following is the prep work that we need to do which would hardly take 10 minutes. Create AWS Free tier account….
Understanding Terraform For Beginners
Defining infrastructure as code(IaC) is one of the easiest ways to manage the whole infrastructure and youâll probably like it more if you are not a fan of using GUI to manage stuff. In this beginner’s guide to understanding terraform for cloud automation, let’s see what this buzzword really is all about Terraform is a…
Netmiko SSH Proxy via JumpHost
Off late I have been required to access the network devices through a JumpHost. One of the easiest methods to do this was using python’s netmiko module. My setup looks like this Windows Machine ——- SSH tunnel ——- Linux JumpHost ——-SSH to ——- Network Devices Here are the basic steps that I followed to get…
What is Pydantic?
While reading about FASTAPI, it became more imperative to understand a little more about Pydantic to be able to build a better and more robust self-made API. In this post, I will try to answer the questions I had on my journey to understand more about FASTAPI. What is Pydantic and What is it used…
Python API Using FASTAPI – UPDATE – PUT – PATCH – Part V
To continue our journey to build a python API using FASTAPI, we will see how to update a record in the database either fully or partially. These operations are called PUT or PATCH. The fundamental difference between a PUT and PATCH operation is that PUT indicates updating the entire record while PATCH means updating a…