Hi, I'm diving a little deeper into this now, and ...
# help
j
Hi, I'm diving a little deeper into this now, and starting to get this deployed for testing into our aws account. my first question is, is there an automated way to bootstrap lakefs after being installed for the first time. We would like to drive the installation through IaC, and not have to go through the UI to do all the one time initialization stuff. If that could all be done through the command line after starting the server the first time, that would be ideal. I did not see anything in the documentation that indicated this is possible. Can you offer advice on how to accomplish this?
n
Hi @Joe M, You can use the lakefs binary for the initial server setup. See:
Copy code
± % lakefs setup -h                                                                          
Setup a new lakeFS instance with initial credentials

Usage:
  lakefs setup [flags]

Aliases:
  setup, init

Flags:
  -h, --help               help for setup
      --user-name string   an identifier for the user (e.g. "jane.doe")

Global Flags:
  -c, --config string    config file (default is $HOME/.lakefs.yaml)
      --local-settings   Use lakeFS local default configuration
      --quickstart       Use lakeFS quickstart configuration
j
ok i'll look into that, thanks for the direction
n
NP, this will allow you to create the initial admin user. For other issues you will probably able to solve using the clients/lakectl
j
right, the only concern at the moment is bypassing the UI for setting up the initial user, and getting the access keys. ultimately we'll be configuring lakefs to use IAM, but that's a couple of steps down the road at this point.
sunglasses lakefs 1
n
I understand, good luck!