serverless-domain-manager icon indicating copy to clipboard operation
serverless-domain-manager copied to clipboard

hook s3 bucket to our domain

Open michal1106 opened this issue 2 years ago • 0 comments

we use your great plugin for lambdas, now we have use case where the lambdas and static files should located on the same host and we want to integrate a bucket into serverless-domain-manager

how this can be achieved?

we tried using serverless-apigateway-service-proxy - it helped us to put s3 under API Gateway and then to link this API Gateway to your plugin BUT apparently serverless-apigateway-service-proxy doesn't handle the s3 files as pure proxy (not all headers, response status etc are passed from s3, we currently found issues with png and Range header see issue opened - https://github.com/serverless-operations/serverless-apigateway-service-proxy/issues/190)

Thanks for your assistance, we are really stuck..

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Support Question

Question Please be as clear as possible.

Command Run e.g. sls deploy, sls create_domain, etc.

Console Output

Domain Manager Configuration Replace this with your own serverless.yml file (anonymized, of course) to help us better resolve your issue.

custom:
  customDomain:
    domainName: foo.example.tld
    basePath: bar
    createRoute53Record: true

Versions

  • Domain Manager version(s): [e.g. v6.0.0, v7.0.0-beta.34]
  • Node/npm version: [e.g. Node 8/npm 5]
  • Serverless Version: [e.g. v1.35.1, 1.2.0]
  • Lambda Code [e.g. Javascript, Python, Java]

Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.

michal1106 avatar Dec 19 '22 18:12 michal1106