# Private S3 Bucket Setup Guide

![Create Private S3 Bucket](https://cdn.hashnode.com/res/hashnode/image/upload/v1728376403894/16620d79-e46a-4766-9577-68d4d5cc9274.png?w=1600\&h=840\&fit=crop\&crop=entropy\&auto=compress,format\&format=webp)

### Create Private S3 Bucket

### How to Set Up a Private S3 Bucket

#### Tasks <a href="#heading-tasks" id="heading-tasks"></a>

Create S3 bucket with the following details:

* The name of the S3 bucket must be `xfusion-s3-9499`.
* The S3 bucket must block all `public` access, i.e it must be a private bucket.

#### Steps <a href="#heading-steps" id="heading-steps"></a>

1. Get S3 Service first.
2.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728388554816/7d555c43-af6b-412b-8f5f-b4c34a728d97.png?auto=compress,format\&format=webp)
```

```
Select **Create Bucket**.
```

3\.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728388599959/ed29bd93-e462-4e1a-a9d4-8c7939058bf3.png?auto=compress,format\&format=webp)

S3 → Buckets → Create Bucket | Bucket name : `xfusion-s3-9499`.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728388941865/052836da-9640-4a93-b63f-4ba6a63d3c71.png?auto=compress,format\&format=webp)
```

4\. Bucket should be private, so **Block Public Access settings for this bucket**
5\.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728388809994/9d40f9fc-94f3-4334-93cf-188d128ed2a0.png?auto=compress,format\&format=webp)

Create now, **create bucket**
```

6\.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728388855342/d02efd88-6f74-4eb0-b22c-2358eb2e73b2.png?auto=compress,format\&format=webp)

**Successfully created bucket "xfusion-s3-9499"**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728388984227/9a2ffaca-b20a-4501-84c6-b9acade98d2a.png?auto=compress,format\&format=webp)

\#aws #cloudcomputing #happylearning
```
