# Nexus S3 blobstore doesn’t work with S3 interface endpoint in AWS

## post by karthike1991 on Sep 14, 2023

I have an EC2 instance in one private subnet. And I have an S3 interface endpoint in another private subnet. Both are in same VPC.

In my NACL rules, I have below

```css
Outbound 0.0.0.0 All-traffic
Inbound VPC-CIDR All-traffic
```

Nexus is running in the EC2 instance. In Nexus blobstore configuration I enabled “Endpoint URL” option and provided the S3 interface endpoint URL.

```bash
https://bucket.vpce***.s3.us-east-2.vpce.amazonaws.com
```

But once after I enabled “Endpoint URL” option, I am not able to upload artifact into Nexus and getting Gateway timeout error.

When I do from the EC2 instance,

```bash
aws s3 ls --endpoint-url https://bucket.vpce***.s3.us-east-2.vpce.amazonaws.com
```

it works fine. And also “aws s3 cp” works fine as well.

But Nexus blobstore is not able to upload the object to S3.

If I add below rule in NACL,

```css
Inbound 0.0.0.0 All-traffic
```

Nexus works fine.
