≡ Menu

13 Examples to Manage S3 Bucket Replication Rules using AWS CLI

[AWS S3 Replication]

Using S3 replication, you can setup automatic replication of S3 objects from one bucket to another. The source and destination bucket can be within the same AWS account or in different accounts. You can also replicate objects from one source bucket to multiple destination buckets.

If you want to have a second copy of your objects in a different AWS region, you can create a replication rule to perform cross region replication of S3 objects.

[Python JSON File]

JSON stands for JavaScript Object Notation, which is a format for structuring data that is very similar to the concept of maps in computer programming. Maps consists of keys and corresponding values. A key has to be unique within a map.


Managing routes is an essential configuration task for network admins who are managing firewalls.

If you are using the PaloAlto firewall, this tutorial explains how to add static routes using both the PAN-OS command line interface and from the PaloAlto Firewall Console.


Jenkins is a DevOps tool which can be used to automate your build, test and delivery of software code. If you are new to Jenkins, this tutorial will help you to understand how to create Jenkins pipeline using one of the following methods:

  1. Classic Jenkins User Interface
  2. Jenkins Blue Ocean User Interface which reduces clutter and increases clarity
  3. Jenkinsfile Pipeline Script from a SCM like Git Repository
AWS Transit Gateway Route Table

Apart from the default route table that gets created when you create a transit gateway, you can also create additional route tables. This helps you to associate a specific attachment with a specific route table. The attachments can propagate their routes to one or more route tables. You can also add static routes to the route tables.

To view whether your transit gateway has a default route table associate with it, use the following command.


10 Examples to Manage PaloAlto Firewall Users from PAN-OS CLI

This tutorial explains how to manage PaloAlto users from CLI.

You’ll learn about user and role related functionalities including how to create a new user, assign a role to an user, make regular user as an admin user, list all existing users, delete an user, etc.,


24 Examples to Manage AWS Transit Gateway and Attachments from CLI

AWS Transit gateway acts as a hub to connect multiple VPC and on-prem networks. Apart from attaching a VPC to transit hub and routing traffic, you can also attach a VPN connection or Direct Connect gateway to your transit gateway. You can also peer two transit gateways and route traffic between them.

In a multi-account environment, you can create Transit gateway in a central network account and share them with external accounts or with accounts within your organization.


PaloAlto releases software updates on an on-going basis. It’s essential that you stay current with the latest stable release of firewall.

On a high-level the following are 5 easy steps to upgrade PaloAlto firewall:

  1. Pre-install: Verify current software version
  2. Check Available Software Versions
  3. Download Latest Version of PaloAlto
  4. Install the Latest version of Firewall Software
  5. Post-install: Reboot and verify new software version

Apart from upgrading from CLI, this tutorial also explains how to upgrade PAN-OS from PaloAlto console.