Install the ODOO on AWS
Easy guide to install odoo on Amazon AWS
16 November, 2021 by
"Ashish Hirpara"
| No comments yet

Odoo is a bundle of business management software. CRM, billing and accounting, manufacturing, e-commerce, inventory management, and project management are among the technologies available.

Odoo can be self-hosted (odoo.sh) or can be privately hosted on either VPS or Amazon AWS.

In this tutorial, I’ll go over how to install and run Odoo on Amazon Web Services (AWS).

Create AWS profile

  1. Generate an account on AWS and log in.
  2. Pick one service that you need from the Amazon server. In this case, choose EC2 under the menu named Compute.
  3. To learn about the status, operating instances, hosts, locations, and other details visit the EC2 dashboard.

Ubuntu instance

  1. Odoo must be hosted on an EC2 instance.
  2. Use the Launch Instance option.
  3. Choose the Ubuntu server to drive the instance.


Instance Type

After you’ve created the Ubuntu instance, pick an instance type. The type is chosen based on the application’s needs.


    1. Pick the General Purpose t2.micro from the list.
    2. If any specific network settings are required, click configure the instance.
    3. Then, for the instance you’ve chosen, add the storage you’ll require.
    4. Add tags by clicking on them. It’s a resource management key-value pair.
    5. The next step is to set up the security group. Choose odoo security as the name, then add the protocols TCP, HTTP, HTTPS, and SSH. The default port for Odoo is 8069.
    6. To finish, press Review and Launch.


    Launching the instance

    1. Select the Launch option.
    2. A dialogue window appears with instructions for creating a key-value pair.
    3. Select a new key pair and give it the name odoo. Separately download and save the key for future usage.
    4. The instance will now run on Amazon Web Services (AWS).

    Instance Connection

    1. Putty should be downloaded. AWS will provide you with the instance ID.
    2. Convert .pem key file to private .ppk file using Puttygen.
    3. On the pop-up, select load existing private key option.
    4. Open the odoo key and press OK.
    5. Save the private key for connecting to SSH.
    6. Open Putty and enter the Instance IP address and port number.
    7. In Data under Connection enter Ubuntu as username.
    8. Now navigate to SSH and then Auth. Look for the private key file and enter yes when asked if the source is trusted. The connection is now established.

    Install and run Odoo

    1. Configure the servers, install packages, and get the modules you need.
    2. To create an Odoo user, run the following two commands:

    sudo adduser — system — quiet — shell=/bin/bash — home=/odoo — gecos ‘ODOO’ — g roup

    odoo sudo adduser odoo sudo

    3. To install Odoo server:

    sudo git clone https://www.github.com/odoo/odoo /odoo/odoo-server/

    4. Build a module directory. Set permission to Odoo.

    5. A config (.conf) file for the server should be created with a password, log path, port number, and add-ons path.

    6. The permission is now set to the config file.

    7. A startup file needs to be generated followed by the Odoo Daemon file.

    8. The Odoo can now be started using

    sudo /etc/init.d/odoo-server start

    References

    https://www.odoo.com/forum/help-1/deploy-odoo-on-aws-161209

    https://www.cloudbooklet.com/how-to-install-odoo-13-on-ubuntu-18-04-with-nginx-aws/

    https://gist.github.com/bjsion/5f40f8e7990890b3b1b6cc0e010da77e

    https://onlinecoursebay.com/the-complete-guide-to-install-odoo-on-aws-cloud-with-nginx-udemy-free-download/


    Always First.

    Be the first to find out all the latest news, products, and trends.


    "Ashish Hirpara" 16 November, 2021
    Share this post
    Tags
    Sign in to leave a comment