```gateways: s3: domain_name: <http://s3.lak...
# help
a
Copy code
gateways:
  s3:
    domain_name: <http://s3.lakefs.example.com|s3.lakefs.example.com>
i
The domain name is the dns name you routed to the server/cluster your lakeFS instance runs on. Any request that reaches lakeFS and has that url prefix will be routes to the s3 gateway that exposes a compatible s3 api.
a
Hello Itai, thanks for the reply. But i didnt quite understand what is happening here.
I am running my it on my computer.
I have my computer coonected to the internet, my aws s3 bucket, postgres on aws. I am not running lakeFS anywhere for now.
b
when lakefs accepts a request to the gateway it needs to identify and extract the s3 request. in order to do that the request should have this domain.
when you will want to run a request to lake fs using the s3 protocol you want the request to get to this address
if this is just for local use, we have a name resolve to your local host
note you can use the quick start to spin local env just to play, it store everything locally and requires docker compose only.
a
yeah, I am done with that.
👍 1
I will try s3.local.lakefs.io for now, thanks
b
when requests from outside your machine, with s3 endpoint will need to be processed by lakefs, you will need the two DNS records to point lakefs
a
okay, should i install lakeFS on ec2 that is looking simpler and straightforward.
b
guess it depends, but let is know if you need help there
a
thanks