Frappe press app setup

I am trying to set up frappe press app but I read through the documents and there is instruction for a generic vps provider but my proxy server is on AWS ec2 and when I try to setup the server the status shows to be broken


so my question is should I change the provider from generic to aws ec2?
Note: There is nothing in the error log to check and I am able to connect to the server through this ssh root@n1.frappe.internal…

Your help is highly appreciated.

I have tried setting up the cluster and the virtual machine as well but in all the cases it says broken and when I saw the ansible play it says unreachable can someone help?

Hi there,

Before switching your provider in Press, let’s rule out connectivity and config issues—most “broken” statuses come down to Ansible not reaching the host or a service failing to start.

  1. Verify SSH connectivity
  • Ensure root@EC2 can accept key-based logins without a password prompt.
ssh -i ~/.ssh/your_key.pem root@<EC2_IP>
  • Test Ansible’s connection:
ansible all \
  -i <your_inventory>.ini \
  -u root \
  --private-key ~/.ssh/your_key.pem \
  -m ping -vvv
```If you see “UNREACHABLE,” fix your SSH key, user, or host entry in the inventory.
2. **Check Nginx (and other service) logs**
On the target VM, run:

journalctl -u nginx.service --no-pager -n 50
tail -n 50 /var/log/nginx/error.log


Look for binding errors, permission issues or bad configs that might prevent Nginx from coming up.
3. **Provider choice in Press**
  * **generic** is fine if you’ve already spun up your EC2 instance and just want to deploy via SSH.
  * Switch to **aws_ec2** only if you want Press to *provision* EC2 instances for you (you’ll need AWS keys in your Press settings).

I ran into this myself—turning on Ansible’s verbose output and sharing screenshots of both the `ansible-playbook -vvv` output and your Nginx error log helped me (and will help anyone else) pinpoint the exact issue. Please attach those, and we’ll get it sorted.
1 Like

In addition to @Venkatesh_M make sure that your press host ssh access using keys ssh-copy-id root@proxy-server1.sive.host works, sive.host as an example root domain, and also make sure “getent passwd 1000” returns nothing in the proxy server, if it does, delete that user “sudo userdel -r theusername” because Ansible wants to use that UID in its plays for frappe user creation. Hope this helps. You can also DM and we can assist you create it on your behalf.