S3 bucket(AWS)

1 min read

Cover Image for S3 bucket(AWS)

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).

    1. Log in to the AWS Management Console.

    2. Navigate to the EC2 service and launch an EC2 instance using the console

    3. 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).

  1. create a file and save it locally.

  1. Upload it to the s3 bucket.

you can check out my day42 blog on AWS CLI: https://hashnode.com/edit/cljx5y3kb000009lggoch53hj

  1. Configure the aws CLI

  2. run command aws s3 ls

  3. use AWS s3 cp to copy the file from the s3 bucket to the local machine.

Happy learning!!