If you're working with data in AWS, you might find yourself needing to transfer data between services. For example, you might have a CSV file stored in an S3 bucket that you want to insert into a MongoDB database running on Amazon DocumentDB. In this tutorial, we'll show you how to use Lambda to automate this process. …
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 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 create a Powershell script, which will copy latest files from AWS S3 to paste it in local. So, lets start the process. 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 …
Read MoreIn this blog, we will create a script in AWS Lambda which will help viewer request points to your root URL (http://www.example.com) instead of to a specific object in your distribution (http://www.example.com/index.html). Note: It will help mainly in Hugo and other Serverless website hosting on AWS environment. Lets …
Read MoreToday lets create a S3 Pre-signed URL via AWS cli, to access the content of your bucket without exposing bucket to Public with time expiry. To achieve this result, just follow the below steps: Step 1: Login to Amazon CLI with access key & secret access key with S3 Full Access Rights. Step2: Upload your document in S3 …
Read More