Project:PYTHON Wrapper for AWS Resources(S3/EC2)

Project:PYTHON Wrapper for AWS Resources(S3/EC2)

Project by using Python and AWS Services

Steps as Below:

Step1: install boto3: This tool to connect with AWS.

https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

Step3: aws configure

Step4:Create IAM user,access key,S3 bucket and give EC2/S3 full access to the respective user.

Step5:Created user and access key:

Step6:Permissions as below:

Step7:Create S3 Bucket and EC2 instance in AWS console.write python code to access S3 bucket from AWS console and print number of buckets/files from the bucket,also to download or rename particular file from bucket by using python.

Here,in below e.g.downloaded batch3.txt file from S3 bucket and renamed as gajanan.txt and have downloaded with rename.

Step8:It counts/print all the S3 buckets as below.

Conclusions:This is the python project to import files from AWS by using S3 buckets i.e. whatever files/number of files we can check by code written in python also we can rename/download files from S3 buckets by using this code.

Prerequisites:

Python,AWS services(S3 Bucket/IAM for user access)

Thank you for reading!! Hope you find this helpful.

90daysofdevops#devopscommunity#trainwithshubham

Always open for suggestions..!!

Thankyou Shubham Londhe !!