Author: Ruwantha Nissanka

What you should know about versioning in AWS S3 bucket

Versioning is a means of keeping multiple variants of an object in the same bucket. You can use versioning to preserve, retrieve, and restore every version of every object stored in your Amazon S3 bucket. With versioning, you can easily recover from both unintended user actions and application failures. When you enable versioning for a bucket, if Amazon S3 receives multiple write requests for the same object simultaneously, it stores all of the objects. In this guide, we will see how to do that. In our previous guide, we have created a s3 bucket and added some files in it. Now if we have a newer version of these files, we can upload the newer files to the same bucket without removing the old files with the help of versioning. First you have to go to bucket properties and enable versioning Click on the edit button, enable it and save the changes Now when you go to the objects tab, you can see the version ID column. We will now add the new version of files to the same bucket. If you need to know how to add files to a bucket, you can check this article After that, we can go to the objects tab and see if the files that we have uploaded are in the bucket As you can see in the above screenshot, it now...

Read More

10 Examples of using Iptraf to monitor network traffic in linux

IPTraf is a network monitoring utility in linux that we can use to monitor IP traffic passing over the network. By using this tool, we can we can monitor various connections like TCP, UDP, ICMP, non-IP counts and also Ethernet load information etc. you can install IPtraf using the following command: #apt install iptraf Once it is installed, you can run the following command to launch a menu driven interface that allows to view and modify network monitoring options #iptraf It will come up in interactive mode, with the various facilities that can be accessed through the main menu as shown below: To monitor the ip traffic, you can select the “ip traffic monitor” option or run the following commands in the terminal To view the ip traffic for a single interface: #iptraf-ng -I <interface_name> To view the ip traffic for all interfaces: #iptraf-ng -I all To see general statistics for interfaces: #iptraf-ng -g You can run the following command to see the detailed statistics for a single interface: #iptraf-ng -d <interface_name> You can also monitor TCP/UDP traffic on a specific interface, using the following command. #iptraf -s <interface_name> IPtraf gives you an option to display the size of the packets and the count on an interface. #iptraf-ng -z <interface_name> Run the following command to start the Lan station monitor: #iptraf -I <interface_name> You can specify an alternate log file for any direct invocation of a facility from...

Read More

How to create a bucket and upload files to amazon s3

Amazon simple storage service (S3) is an object-based serverless storage service that Amazon provides. It allows to upload, store, and download any type of files and the subscriber has control over the accessibility of data, i.e. privately/publicly accessible. To configure s3, go to the amazon s3 console using this link After that, you can create a bucket using the following steps Click the Create Bucket button at the bottom of the page. Fill the required details. Do note that the bucket name has to be unique. If the name that you select for the bucket has been used by another AWS user, then you won’t be able to use that name for your bucket. click the Create button in this window Now the newly created bucket will be displayed in the console Upload files To upload files to your bucket, open it from the console Now, click on the upload option in the bottom Now you can Drag and drop files and folders you want to upload here, or choose Add files, or Add folders. Once you have finished adding files, click the upload option in the bottom. I will now upload some files to the bucket as you can see in the below screenshot Once you have successfully uploaded the files to the bucket, you can go to the bucket and view the files Now that I have my files...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.