In 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 copy last 24 hours files from local windows server to AWS S3. Let's start to achieve this: Note: For this script, we need to install AWS CLI on local Windows machine and we need configure IAM user credentials with S3 get and put object permission. Step 1: Create IAM user and download the access …
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 MoreAmazon Connect now provides a new API to search for queues in your Amazon Connect instance. This new API provides a programmatic and flexible way to search for queues by name, description, or tags. For example, you can now use this API to search for all queues with "priority" in the description. To learn more about …
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 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 More