Problem Definition

It is possible to deploy your code from Bitbucket cloud to a S3 bucket through an add-on. However that is not true for Bitbucket server.

Suggested Solution

Implement an add-on equivalent to the one below:

Workaround

You should follow the guides on AWS website and upload your repo manually to your S3 bucket: