ODK Central running on AWS EC2 Ubuntu 20.4 micro edition

I attempted to install ODK in one of our internal AWS EC2 instance UBUNTU instance, but the documentation steps does not work as expected. The nginx server is running but does not serve pages. I get a 303 error. I do have a DNS.

Any recommendations or additional guides would help.

https://docs.getodk.org/central-install-digital-ocean/

FYI. I did not bind to a custom domain, but tried to use the default DNS from AWS as in ec2-54-166-237-114.compute-1.amazonaws.com, any help will be appreciated.

https://docs.getodk.org/central-install/#installing-on-amazon-ec2 has more guidance on installing on EC2.

My guess is that you don't have the right ports open or perhaps the Let's Encrypt certs we use won't work on an amazonaws.com domain name.

Look at your nginx logs to see if there are any hints as to what is going wrong.

cd ~/central;
docker-compose logs service;