As part of the Kubernetes community's ongoing effort to improve security and maintain the integrity of container images, they periodically deprecate container image repositories. This means that applications running on Kubernetes clusters using the deprecated repositories will no longer receive updates or patches, and …
Read MoreToday we will see how to migrate all ECR images from one AWS region to another AWS region. First, we will learn come basic. To list the repositories in your AWS Elastic Container Registry (ECR) using the AWS CLI, you can use the following command: 1 2aws ecr describe-repositories This command returns a list of …
Read MoreZero ETL is a new revolutionary approach from Amazon Web Services that enables customers to analyze Amazon Aurora data with Amazon Redshift in near real time, eliminating the need to extract, transform and load (ETL) data between services. Amazon Aurora zero-ETL integration with Amazon Redshift enables customers to …
Read MoreIn this blog we will learn how to add true/false option in cloudformation to configure VPC flow logs. Note: To learn basic of cloudformation, please check our old blog: Click me Main Script: This script will create a VPC, 3 private subnet, 3 public subnet, enable VPC flow logs(Optional), NAT gateway for private …
Read MoreIn this blog, we will write a python lambda code which will restart our ECS services. Please follow the below steps to achieve this. Step 1: Create IAM policy for an IAM Role. Copy the below policy and paste it in your IAM policy. 1{ 2 "Version": "2012-10-17", 3 "Statement": [ 4 { 5 "Sid": "VisualEditor0", 6 "Effect": …
Read MoreIn this post we will change the timezone of dokcer. Method 1: Via Dockerfile. Add below lines in Dockerfile to chnage the timezone to IST. 1RUN date 2ENV TZ=Asia/Calcutta 3RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 4RUN date Example of Docker file: 1From tomcat:9.0 2RUN date 3ENV …
Read MoreToday we will write a python code in lambda which will connect with our mongodb Atlas and list all databases. Step 1: Install Dependencies packages in Lambda Layers. 1Package: 21: pymongo 32: dnspython Note: To learn how to add python packages in lambda layers. Use the this [link] …
Read MoreToday we will learn, how to create and upload python package in lambda layer. First we will create lambda fuction in python which will create our python package and upload that in S3 bucket. Step 1: Open you AWS account. Step 2: Open IAM service console. Step 3: Create IAM policy for an IAM Role. Copy the below policy …
Read MoreInotify (inode notify) is a Linux kernel subsystem, which monitors changes to the filesystem, and reports those changes to applications. It can be used to automatically update directory views, reload configuration files, log changes, backup, synchronize, and upload. The inotifywait and inotifywatch commands allow using …
Read MoreFind Largest Directories in Linux To display the biggest directories in the current working directory: 1du -a | sort -n -r | head -n 5 Let us break down the command and see what says each parameter. du command: Estimate file space usage. a : Displays all files and folders. sort command : Sort lines of text files. -n : …
Read More