DEV Community

Harinivas. M
Harinivas. M

Posted on

1

Copying a file from Ec2 to S3 using PuTTy software

1.Download Putty software with proper version
Image description

2.Install the Putty software
Image description

3.Create a EC2 instances
Update the security group inbound rules.
Image description

4.Using puTTygen
key pair to convert .perm file to .ppk file

5. Create a S3 bucket

6. connect to PuTTy software and create a file called details.txt print the content in echo "helloworld" in details.txt.

Image description

7. Create roles in IAM and change the IAM role in instances, then the go to PuTTy and type aws s3 ls, it will show the S3 buckets.

Image description

8. We need to add previous details.txt file to s3 .so, we use aws s3 cp details.txt s3://(bucket name)/

Image description
9.Go and verify it, In s3 files is uploaded finally.

Image description

10. Cost Management
More amount of cost will be used at the time of roles and instances, so we can delete the created things.

Image description

Flowchart Diagram :

Image description

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay