Run Oxla on S3
Run Oxla on S3 in minutes! 🎊
Over the following steps, we'll set you up with an Oxla server so you can see how easy it is to access. Let's get started!
⚠️ Install Docker. Please refer to this page for further details.
⚠️ We recommend you use a Linux OS computer to deploy an Oxla server.
⚠️ Install PostgresSQL-client-14 for psql connection. Please refer to this page.
1) Open your terminal and execute this command to check if you have installed your docker properly:
Note: If it returns “Bad response from Docker engine”, this means there is an issue with your docker engine. Try re-install your docker.
2) Execute the following command to create a file that contains docker compose file:
3) Input the following code into the docker compose file:
Note: Don’t forget to replace the s3, AWS_DEFAULT_REGION, AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY with appropriate values.
Info: Depending on your computer's RAM capacity, you may need to adjust the environment variable to optimize performance. You can set OXLA_MAX_NON_QUERY_MEM to a custom number.
For example OXLA_MAX_NON_QUERY_MEM=4194304
4) Execute the following command to create and start the docker container:
5) Execute the following command to run Oxla:
Note: If you encounter an error response “bash: psql: command not found“, this means that you have not installed PostgreSQL.
When you get the following result, you are now in the Oxla server✅