OpenEdx - AWS (EC2 instance)
Steps to install the openedx on aws instance for production ready
Last updated
Was this helpful?
Steps to install the openedx on aws instance for production ready
Last updated
Was this helpful?
Step 1 : Launch any Linux EC2 instance minimum 20GB storage and establish a connection using SSH.
Step 2 : Ensure the installation of prerequisite software - Docker and Docker-compose. Follow the official documentation for installation instructions:
For Docker:
For Docker-compose:
Step 3 : Install additional required dependencies. For example, on Ubuntu, use the following command:
Step 4 : Execute the primary command to install Tutor on the instance:
Step 5 : Download the binary release :
Step 6 : Give it permission
Step 7 :
Then run the launch
command:
Step 8:
The problem may because your current user does not have the necessary permissions to interact with the Docker daemon.
To resolve this issue, you can follow these steps:
Add your user to the Docker group: This will grant your user the necessary permissions to interact with Docker. You can do this by running the command:
After running this command, you need to log out and log back in so that your group membership is re-evaluated.
If you want to avoid logging out and in again, you can use the following command to apply group changes:
Then again run the launch command :
Now it will take some time to download all the docker images and run the container