S3 bucket(AWS)
1 min read
Amazon Simple Storage Service (Amazon S3) is an object storage service that provides a secure and scalable way to store and access data on the cloud. It is designed for storing any kind of data, such as text files, images, videos, backups, and more. Read more here
Task-01
Launch an EC2 instance using the AWS Management Console and connect to it using Secure Shell (SSH).
Log in to the AWS Management Console.
Navigate to the EC2 service and launch an EC2 instance using the console
Connect to the EC2 instance using SSH.
Create an S3 bucket and upload a file to it using the AWS Management Console.
Create a bucket
set object ownership
Click on "Create bucket".
s3 bucket is created successfully!!
Access the file from the EC2 instance using the AWS Command Line Interface (AWS CLI).
- create a file and save it locally.
- Upload it to the s3 bucket.
you can check out my day42 blog on AWS CLI: https://hashnode.com/edit/cljx5y3kb000009lggoch53hj
Configure the aws CLI
run command
aws s3 ls
use AWS s3 cp to copy the file from the s3 bucket to the local machine.
Happy learning!!