Move file from one S3 folder to another using AWS Glue

Today we will learn on how to move file from one S3 location to another using AWS Glue 
Steps:
  • Create a new Glue Python Shell Job
  • Import boto3 library
    • This library will be used to call S3 and transfer file from one location to another
  • Write the below code to transfer the file
    • Change the bucket name to your S3 bucket
    • Change the source and target file path
  • Run the job
  • Check whether the file has been transferred to the target location or not.
  • You are done! :)

Comments

  1. I read the above article and I got some knowledge from your article. It's actually great and useful data for us. Thanks for sharing it.singapore import data


    ReplyDelete
  2. could you explain detail sir,

    ReplyDelete
  3. Could you put that in a text box not an image?

    ReplyDelete

Post a Comment