In this tutorial will learn about file uploading in s3 bucket and how to perform data storage with AWS s3 bucket using python.
What is Amazon Web Services (AWS) S3 bucket
It is providers object storage which is actually built for storing and recover any amount of data from anywhere over the internet.
Why S3 bucket is popular
Example of uploading data in S3 Bucket
Get Your Access Key ID, Access Secret Key and Bucket Name
Access Key ID, Access Secret Key and Buckent Name will be required for programming if you don't have these details then just you need to generate Access Key, Access Secret and Buckent name from AWS Management Console.
Install boto3
If you are using python version 2.x .then use the below code
If you are using python version 3.x . then use the below code
Python code for uploading
Hope you like it , please comment if you have any doubt .
Free live cricket score API for python
0 Comments