1. On the AWS Console, choose VPC service and then Endpoints.

    AWS Console

  2. Create a new endpoint and associate it to the AWS S3 service

    AWS S3

  3. Choose the service com.amazonaws.us-east-1.s3 with type Gateway


  4. Then select the VPC and Route Table.


  5. Then select the access level (full or custom) and it will work.