Odoo 16 on AWS lightsail Amazon Linux 2023 with 512Mb

0

Hello, I'm setting up a Odoo server and I have the following configuration my.domain => go to the website (managed by Odoo) Odoo.my.domain => go to the Odoo interface I'm using docker-compose to set up everything and use a nginx to secure the connection with Let's encrypt My problem is that I can't create a database with Odoo. Once I try to create a database with the demo data to see if it's working the Odoo container exit with the code 137... Is that a memory overflow problem ? If so, where could I find the memory usage ? Also when I try to connect via ssh after my fail attempt to create a Odoo database my ssh connection fail as well...

Should I use a bigger lightsail instance or use a EC2 instance ?

Olivier
질문됨 9달 전611회 조회
1개 답변
0

Hello.
For Lightsail instances, memory usage cannot be checked with metrics.
You need to connect via SSH and use the "top" command to check.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-instance-health-metrics-in-amazon-lightsail

From what I've heard about the situation, it is possible that there is a problem with the specs.
I think it would be a good idea to create a Lightsail with larger specs and see if it is possible to start a database, etc.

If your database is supported by Lightsail database, etc., you may be able to consider using that as well.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-a-database

EC2 may also be selected if cost is available.
With EC2, it would be possible to select the appropriate instance type for the application workload.
https://aws.amazon.com/ec2/instance-types/?nc1=h_ls

profile picture
전문가
답변함 9달 전
  • I did managed to create a database but I added a swap file of 2Gb into the instance of 512Mb Lightsail. With the 1Gb Lightsail instance Odoo looks working fine directly. With the EC2 t2.micro Odoo looks also working fine. Using a external database is $15 per month so it's way too expensive for me to use a external database. I'll wait 24 hours to see which one cost the less. AWS Cost Management need 24h to start.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠