Today 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 MoreBelow are the few announcements and launches of AWS services in AWS re:Invent. Analytics Introducing Amazon Redshift Serverless – Run Analytics At Any Scale Without Having to Manage Data Warehouse Infrastructure New capability makes it super easy to run analytics in the cloud with high performance at any scale. Just …
Read MoreTo grant a user access to a specific folder in your Amazon S3 bucket, use below IAM policy: 1{ 2 "Version": "2012-10-17", 3 "Statement": [ 4 { 5 "Sid": "VisualEditor0", 6 "Effect": "Allow", 7 "Action": "s3:GetBucketLocation", 8 "Resource": "arn:aws:s3:::*" 9 }, 10 { 11 "Sid": "VisualEditor1", 12 "Effect": "Allow", 13 …
Read MoreIn this blog, we will create a script in AWS Lambda function which check the API status and send the mail to the recipient via AWS SES. 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 and paste it in your IAM policy. 1{ 2 "Version": …
Read MoreIn this blog, we will create a script in AWS Lambda function which will generate the presigned url of s3 object and then will send the email using AWS SES. 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 and paste it in your IAM policy. 1{ …
Read MoreIn this blog,we will see how can we earn money with your AWS Skill. There are several ways you can earn money using Amazon Web Services (AWS): 1: Offer your services as an AWS consultant or solution architect: You can use your expertise in AWS to help businesses design, migrate, and manage their applications and …
Read MoreToday we will see how we can trigger lambda from SNS topic. Note: By this method you can broadcast same message to mutiple lambda and other AWS service. 1: create SNS topic: 2: create subscription in your topic, select lambda protocol and select your lambda function: 3: Now, when any application trigger SNS, then …
Read MoreToday, my customer came up with a requirment, where they want to do filtering and processing in customer emails. So, Let see how to acheive this we need to do the following this: 1: verify your domain in SES. Note: You have to select North Virginia region for this activity. 2: add MX record in your domain. 3: then we …
Read More