Upload | Download | Delete files from S3 using Python

How to upload, download and delete files from S3 using Python using Boto3

Wired Wisdom
Analytics Vidhya

--

In most of our development we currently use amazon s3 as a data storage. In my case as an AI Engineer I use amazon s3 to store mainly the deep learning models which is big in size. In many other big data use cases also we need to constantly upload, download and delete files from S3. This story will give you an idea on how to do this using Python as a programming language with the help of a library called Boto3.

Amazon S3 — Source : wikipedia

Amazon S3 or Amazon Simple Storage Service is a service offered by Amazon Web Services (AWS) that provides object storage through a web service interface.[1][2] Amazon S3 uses the same scalable storage infrastructure that Amazon.com uses to run its global e-commerce network.[3] Amazon S3 can be employed to store any type of object which allows for uses like storage for Internet applications, backup and recovery, disaster recovery, data archives, data lakes for analytics, and hybrid cloud storage.

Prerequisites

Before starting we need to get AWS account.
1) Create an account in AWS. Go to AWS Console.
2) After creating the account in AWS console on the top left corner you can see a tab…

--

--