Create S3 bucket
Welcome to CloudAffaire and this is Debjeet
In the last blog post, we have discussed AWS Simple Storage Service or S3.
In this blog post, we are going to create a new S3 bucket and upload a file in it.
Create S3 bucket
Step 1: Login to AWS console and click ‘S3’ located under Storage.
Step 2: Click ‘Create bucket’.
Step 3: Provide bucket name and region and click ‘Next’.
Note: Bucket name must be unique across all existing buckets in the AWS S3.
Step 4: Next configure your bucket as per your requirement and click ‘Next’.
Note: You can configure version, server access logging, tags, object level logging, encryption, and monitoring for your S3 bucket. In this demo, we are not going to configure any additional features.
Step 5: Configure your bucket permission and click ‘Next’.
Note: This demo is for introductory purpose and bucket configuration and security will be covered in later blogs. By default, the account which creates the bucket has the ownership over it.
Step 6: Review your bucket details and click ‘Create bucket’.
A new bucket has been successfully created. Click on the bucket name (In this case cloudaffaire-s3-bucket) to get inside the bucket
Note: AWS does not change for bucket creation until it is used by an object.
Step 7: Click ‘Upload’ to upload a file in your S3 bucket.
Warning: Chagres apply depending upon the region and file size.
Step 8: Click ‘Add files’ or drag and drop your file to get it uploaded in your S3 bucket.
Step 9: The file is successfully uploaded, click ‘Next’.
Step 10: Set permission for your file (object) and click ‘Next’.
Note: You can make the object public even if the bucket is private.
Step 11: Select storage class and scroll down.
You can add encryption, metadata, and tag for your object. Click ‘Next’
Step 12: Review the object details and click ‘Upload’.
We have successfully uploaded the file to S3 bucket.
You can view the content by clicking on the Link or can download it.
Hope you have enjoyed this article, in the next blog, we will enable versioning to an S3 bucket.