Step by Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
Step by Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
Step by Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
Hey there, so ever thought of having your Odoo ERP on the cloud platform like Amazon. If yes, then this is the
perfect page for you. You will not only install the latest Odoo 11 on AWS but will learn to access it without using
the port 8069. This blog will help you to install Odoo 11 on AWS Cloud with few simple steps. Not only this, you
will configure Nginx Server as well as access your server files using Filezilla Program.
Amazon Elastic Compute Cloud (Amazon EC2) is well known for its flexibility as well as scalability. You can choose to use
these benefits of cloud services for your odoo instance. Addition to this, it will also help you with low cost and effective
performance of your odoo to improve your business operations. AWS further provides you with a choice to select the
working platform for your virtual server.
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 1/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
3. Now you need to select the service you want from Amazon Server, in our case we need to select EC2 under
Compute Menu.
4. Above step will take you to your EC2 Dashboard where you can see the current statue of your EC2. You can
see your running instances, the physical location of your, hosts, elastic IPs etc.
2. Next step includes the selection of instance type. You can choose different types based on your application
requirement. Select General Purpose t2.micro as your instance type and click on Next: Configure Instance
Details.
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 2/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
3. Next step is to configure your instance for all the network settings only if required else click on Next: Add
Storage.
4. Add Storage lets you choose the amount of storage you required for your instance. Select a size of 8GB and
click on Next: Add Tags.
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 3/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
5. Adding tags to your instance will help you manage your resources. A Key-Value pair can be defined as a tag if
needed then Click on Next: Configure Security Groups.
6. Configuring Security Groups is an essential step when launching a new instance as it acts a virtual firewall to
your instance. Set security name as odoo-security. Next step involves adding all the required protocols. Click on
add a new rule and add SSH, HTTP, HTTPS, TCP/Custom.
Please note that custom TCP is set to port 8069 as this will be your odoo default port access. Once done click
on Review and Launch.
Warning: Please do not select Proceed without a key pair option as you will not be able to connect to your instance.
Backup this pem key file as your AWS do not provide you to download it for the second time.
Click Launch, a new dialogue box will be opened for selecting a key pair. This will be your private key in pem
format. Select Choose a new key pair and give the name as odoo. Download this key pair as it will be needed in
later steps.
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 4/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
When you click on Launch Instance following window will be opened and you are done. Your instance is now
running on Amazon Server.
Putty or SSH client allows you to connect to your instance and allows remote secure terminal access. Windows user use
Putty and Mac Users use inbuild terminal to connect to your instance. This is done to securely connect to your EC2 ubuntu
instance from desktop. sortedodoo.com
2. Get your instance Id from your instance details page of AWS dashboard.
2. Under the parameter tap, select RSA as your type of key to generate. For older versions of Puttygen, select
SSH2-RSA.
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 5/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
Puttygen
3. Click on Load. By default, Puttygen will only allow you to see .ppk files select All files to display other options.
4. Select your odoo.pem file and click on open. PuttyGen Notice will pop-up click on OK.
5. Choose Save Private Key and specify your key pair name as odoo.ppk. Now you have odoo.ppk key to
connect to your Putty’s SSH client.
2. Under the Host Name (Or IP Address) enter your Instance’s IP Address and port as 22.
5. Browse for your odoo.ppk file and click on ok. Putty will show you a security alert dialogue box to ensure
whether you trust the source. Click on Yes.
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 6/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
Optional Step– To prevent above steps of configuration every time you connect, you can choose to store all the session
informationFollow steps 1 to 6 and click on Session. Type Stored Session Name and Click on Store.
4. Install Dependencies
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 7/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
sudo pip3 install pypdf2 Babel passlib Werkzeug decorator python-dateutil pyyaml p
6. Install wkhtmltopdf
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 8/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
admin_passwd = admin
xmlrpc_port = 8069
logfile = /var/log/odoo/odoo-server.log
addons_path = /opt/odoo/addons,/opt/odoo/odoo/addons
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 9/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
start)
echo -n "Starting \${DESC}: "
start-stop-daemon --start --quiet --pidfile \$PIDFILE \
--chuid \$USER --background --make-pidfile \
--exec \$DAEMON -- \$DAEMON_OPTS
echo "\${NAME}."
;;
stop)
echo -n "Stopping \${DESC}: "
start-stop-daemon --stop --quiet --pidfile \$PIDFILE \
--oknodo
echo "\${NAME}."
;;
restart|force-reload)
echo -n "Restarting \${DESC}: "
start-stop-daemon --stop --quiet --pidfile \$PIDFILE \
--oknodo
sleep 1
start-stop-daemon --start --quiet --pidfile \$PIDFILE \
--chuid \$USER --background --make-pidfile \
--exec \$DAEMON -- \$DAEMON_OPTS
echo "\${NAME}."
;;
*)
N=/etc/init.d/\$NAME
echo "Usage: \$NAME {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
EOF
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 10/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
nano /etc/nginx/sites-enabled/default
3. Go to End of File and uncomment following four lines and enter your instance IP address and/or Domain
name.
Server
{
Listen 80;
Server_name Your_IP_Address ;
Root /var/www/example.com;
4. Paste the following contain at EOF and check for the brackets.
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 11/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
location / {
proxy_pass http://127.0.0.1:8069;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
/etc/init.d/nginx restart
7. Test the connection by simply placing only your IP address in your web browser. If successful you will be
directed to your odoo login page.
Filezilla is easy to use, fast and reliable cross-platform, FTP, FTPS and SFTP management software. It supports various file
transfer protocols like FTP, FTP over SSL/TLS(FTPS) and SSH File Transfer. It has numerous benefits like drag and drop,
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 12/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
2. Go to Edit ->Settings.
3. Under the Connection tab, go to SFTP and add odoo.ppk as your key file. Once done click on OK.
4. Next click on Site Manage Icon in the lefthand corner or File -> Site Manager.
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 13/14
21/02/2023 04:22 Step By Step Guide To Install Odoo 11 On AWS EC2 - Sorted Odoo
Filezilla Configuration
9. Go to your Instance to edit inbound rules or the security group odoo. Add new SSH rule change source to
My IP and save the changes.
10. In Filezilla, Click on Connect. Now you are connected to your AWS instance. You can access your ubuntu
files directories from FileZilla.
So, don’t you think this was simple? Odoo is amazing and it is perfect when accompanied by Amazon AWS.
Still, Need Help? Get the Odoo installation script and learn the easiest way to install Odoo 11 on AWS
EC2 with this step by step video tutorial. You can get 80% Copoun with this link.
Sorted Odoo
http://sortedodoo.com
https://sortedodoo.com/step-by-step-guide-to-install-odoo-11-on-aws-ec2/ 14/14