Path: blob/master/AWS/AWS_Upload_file_to_S3_bucket.ipynb
2973 views
Kernel: Python 3
AWS - Upload file to S3 bucket
Tags: #aws #cloud #storage #S3bucket #snippet #operations# AWS - Upload file to S3 bucket
Author: Maxime Jublou
Last update: 2023-11-20 (Created: 2021-08-03)
Description: This notebook upload a file to an Amazon Web Services (AWS) S3 bucket, allowing for secure storage and easy access to the file. It is a simple and efficient way to store and manage data in the cloud.
Input
Import libraries
In [ ]:
Setup variables
Mandatory
aws_access_key_id
: This variable is used to store the AWS access key ID.aws_secret_access_key
: This variable is used to store the AWS secret access key.bucket_name
: The name of the S3 bucket from which you want to list the files.file_path
: The path of the file to be uploaded.
In [ ]:
Model
Connect to AWS
In [ ]:
Output
Upload data
In [ ]:
In [ ]: