Categories
Cloud

How to advertise Non-VPC Subnet to AWS Direct Connect

AWS Direct connect link is a way to connect the corporate network to AWS via a private virtual network. Basically, it’s an L2 link/Cross-Connect from AWS Rack to your Rack. if you and AWS are not in the same data center, you need to reach out to an ISP to give the interconnect between AWS […]

Categories
Cloud

Remove the default gateway for the Secondary interface eth1 on EC2 instance

When we add an EC2 instance, the default gateway gets added to the interface automatically. It should be fine for an Instance with single Network Interface. When we add an instance with 2 interfaces say eth0 and eth1, the default gateway gets added to both the interfaces. This becomes a problem when we add the […]

Categories
ansible Automation Cloud

How to manage Juniper devices via ANSIBLE

ANSIBLE is a clientless automation tool. This means you don’t need any client application/agent to manage a device. Other automation tools like Puppet works as Server – client architecture where you need to install a puppet agent on the end host for managing the device. This makes ANSIBLE more suitable for managing Network devices. AS […]

Categories
Cloud

How to Update AWS S3 meta data

Amazon S3 is an object storage service. The data is stored as an object. Each object contains the data and a metadata file. The metadata file contains the details about the data. For example, a time series Object metadata contains the start time and end time information. I use S3 to upload the Prometheus TSDB […]

Categories
Monitoring

Prometheus Configuration for Network devices – Part 3

In my previous post, I explained about installing and configuring the snmp_exporter for Prometheus. In this post, I will explain about the Prometheus configuration for network devices. Installing Prometheus: Follow the instructions mentioned in the https://prometheus.io/docs/prometheus/latest/installation/ to install Prometheus. Basically, you just need to download the latest package from https://prometheus.io/download/ and start running it. Prometheus […]

Categories
Monitoring

Prometheus SNMP_exporter Configuration – Part 2

Prometheus always needs an HTTP endpoint to scrapes the metric. In servers, we can run https://github.com/prometheus/node_exporter which collects the metrics and exposes it in an HTTP URL. There are multiple exporters available, some are developed by the Prometheus team itself. The list of exporter details are available in https://prometheus.io/docs/instrumenting/exporters/ Network devices don’t allow installing any […]

Categories
Monitoring Networking

Network Device Monitoring Using Prometheus and Grafana Part1

I use Prometheus and Grafana for monitoring the Network devices. Prometheus is the most power full tool to monitor any metrics, and it is lightweight and scalable. Mostly my environment contains Cisco and Juniper device. Monitoring other vendors also very easy but you need to understand how Prometheus works first. Below are the metrics monitored […]

Categories
Linux

How to Install WordPress on CentOS 7 with NGINX!

WordPress is a PHP and Mysql based opensource blogging platform. Around 25% of the websites on the internet are using WordPress. Follow the below instructions to install the WordPress website on CentOS7. Prerequisites Have a working domain name pointing to your server public IP. For example example.net Enable EPEL Repository: Enabling EPEL repository is an […]