Read data from S3 json object using lambda (boto3) and load data to DynamoDb

Pubblicato il: 21 gennaio 2024
sul canale di: Data Avengers
124
6

Step 1 : Create DynamoDb table with name : (DynamoDbDemo with primary key : Id)
Step 2 : Create a S3 bucket where we are going to upload JSON file (S3 bucket name : ProducerJson)
Step 3 : Setup IAM role for lambda to read from S3, load to DynamoDB and access to cloudwatch logs
a. Create a policy, first we need to choose service (s3todynamodb)
a. CloudWatch logs : All actions, All resources
b. S3 : All actions, All resources
c. DynamoDb : All actions, All resources
d. Review the policy and name it : s3_json_dynamodb
b. Create a role for the lambda function :
a. Select the permission for the policy we created : s3todynamodb, attach the policy
b. Create the role

Step 4 : Create a lambda function from scratch with runtime python 3.6 and add role which we created above

#AWS
#CloudComputing
#AmazonWebServices
#CloudTutorial
#DevOps
#CloudArchitecture
#AWSTutorial
#CloudDevelopment
#Serverless
#TechTutorial
#InfrastructureAsCode
#AWSBeginner
#AWSAdvanced
#CloudLearning
#SysAdmin
#CloudSecurity
#Lambda
#S3
#EC2
#DynamoDB


In questa pagina del sito puoi guardare il video online Read data from S3 json object using lambda (boto3) and load data to DynamoDb della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Data Avengers 21 gennaio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 124 volte e gli è piaciuto 6 spettatori. Buona visione!