Example Bucket Name : natwebtest Region used : eu-west-1 1. S3 Direct Bucket Endpoint s3://natwebtest/index.html 2. S3 Bucket direct Web Endpoints Bucket Permissions and Bucket Policy – You need to disable “Block all public access” add also bucket policy to allow the action s3:GetObject to all URL available with DOT & DASH Differences as follow…
Category: ARTICLE
ARTICLE
Ubuntu Upgrade
Upgrade ubuntu to the next release versions ex: 14 to 16 & 16 to 18 & 18 to 20 Take the required snapshots/backups sudo apt-get update sudo apt-get upgrade -y sudo apt-get dist-upgrade sudo do-release-upgrade The do-release-upgrade process will Create the backup alternative ssh port 1022 Purge the unwanted old version files Will ask you…
Git Bash Quick New Repo Push
1. Create a new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub. 2. Open Git Bash, Change the current working directory to your local project, Initialize the local directory as a Git…
S3 Sync Bandwidth Limitations
By default S3 Sync will consume around 40 MB/s (320 Mbps) We can limit the bandwidth by using the limitation parameters in AWS Config Example : To limit to 5 MB/s aws configure set default.s3.max_bandwidth 5MB/s Only adding the above parameter will not work, we need to update concurrent threads too, because here the limiting bandwidth…
AWS Errors
After adding your configuration with aws configure, when you try to connect to AWS the following error occurs [ansible@awsclient ~]$ aws s3 ls An error occurred (RequestTimeTooSkewed) when calling the ListBuckets operation: The difference between the request time and the current time is too large. Solution: Install and Configure NTP client for your AWS Client …
CentOS Alternatives
CentOS (Community Enterprise Operating System) is the Project affiliated with RedHat, initially released in the month of May 2004 under FOSS (Free and Open-Source Software) & General Public License. CentOS released the versions according to the Red Hat Enterprise Linux (RHEL) life cycle which is Commercial under RedHat EULA (End User License Agreement). The Presence…
Amazon Linux On-Premise VM
Use the Amazon Linux 2 virtual machine (VM) images for on-premises development and testing. These images are available for use on the following virtualization platforms: VMWare, KVM, VirtualBox (Oracle VM), Microsoft Hyper-V https://cdn.amazonlinux.com/os-images/2.0.20201111.0/vmware/ https://cdn.amazonlinux.com/os-images/2.0.20201111.0/kvm/ https://cdn.amazonlinux.com/os-images/2.0.20201111.0/virtualbox/ https://cdn.amazonlinux.com/os-images/2.0.20201111.0/hyperv/ How to Install Amazon Linux on On-Premises VMWare 1. Download the VM Image and upload to VM Datastore: For…
CentOS/RHEL 8 Boot Loader File
Grub Parameter File : /boot/grub2/grubenv # GRUB Environment Block saved_entry=82c1b57e69f343e28fe48516f70a9866-4.18.0-193.28.1.el8_2.x86_64 kernelopts=root=/dev/mapper/cl-root ro console=ttyS0,115200n8 no_timer_nvme_core.io_timeout=4294967295 nvme_core.max_retries=10 crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap boot_success=0 boot_indeterminate=0 ON BIOS (Basic Input/Output System) Systems : /boot/grub2/grub.cfg On Systems with UEFI (Unified Extensible Firmware Interface) : /boot/efi/EFI/centos/grub.cfg OR /boot/efi/EFI/rhel/grub.cfg To Generate Grub config file : grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
Virtual Data Optimizer (VDO)
What – Virtual Data Optimizer (VDO) is a device mapper module which adds data reduction capabilities to the Linux block storage stack. VDO is a block virtualization technology that combines: Data Compression (Compress Remaining Blocks) Data Deduplication (Eliminate Duplicate Blocks) Thin provisioning (Eliminate Zero Blocks) Data Deduplication is a technique for eliminating duplicate copies of repeating…
AWS Tags
What A tag is a label (which contains key and value) assigned to an AWS resource. When AWS makes it easy to modify tags to meet your changing business requirements. Remember to include future plans for billing reports, automation and access control in your tagging Strategy. How You can create and edit tags using ”…