# Regarding help of AWX Setup through jumpbox server

**URL:** <https://forum.ansible.com/t/regarding-help-of-awx-setup-through-jumpbox-server/498>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [September 12, 2023, 8:08am UTC](https://forum.ansible.com/t/regarding-help-of-awx-setup-through-jumpbox-server/498 "2023-09-12T08:08:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anup.sah](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@anup.sah](https://forum.ansible.com/u/anup.sah)\
**Post date:** [September 12, 2023, 8:08am UTC](https://forum.ansible.com/t/regarding-help-of-awx-setup-through-jumpbox-server/498/1 "2023-09-12T08:08:11Z")

</div>

Hi @all  
I am having a problem as i have launched three ec2 instances. and in one of them i have installed AWX and in another ec2 instance i have made jumpbox and in one of them i have made private instance.  
Now i want to run playbook From AWX server targetting private instance through jumbox server.  
But when i am running playbook it is showing ssh connection issue. Can anyone help me with its steps and so to run playbook through the required process.

---

<div class="post-metadata">

**Author:** ![it-pappa](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/it-pappa/32/7523_2.png) [@it-pappa](https://forum.ansible.com/u/it-pappa)\
**Post date:** [September 12, 2023, 8:29am UTC](https://forum.ansible.com/t/regarding-help-of-awx-setup-through-jumpbox-server/498/2 "2023-09-12T08:29:28Z")

</div>

@anup.sah  
Hi,  
Can you add some more information? Your playbook etc.  
It is the best to use SSH keys when running plays thru SSH.

To run a playbook from another instance you can use the `delegate_to` in the playbook.

> [@anup.sah](#):
>
> But when i am running playbook it is showing ssh connection issue

Can you post the error you are gettingfrom the ssh connection?

---

<div class="post-metadata">

**Author:** ![anup.sah](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@anup.sah](https://forum.ansible.com/u/anup.sah)\
**Post date:** [September 12, 2023, 10:30am UTC](https://forum.ansible.com/t/regarding-help-of-awx-setup-through-jumpbox-server/498/3 "2023-09-12T10:30:08Z")

</div>

fatal: [ip-19x-xxx-x5-xxx.ec2.internal]: UNREACHABLE! =\> {“changed”: false, “msg”: “Failed to connect to the host via ssh: ssh: connect to host ip-192-168-95-212.ec2.internal port 22: Connection timed out”, “unreachable”: true}

This is the issue which i am facing while running the playbook.

```auto
- name: Install nginx and start service
hosts: [ec2-19x-xxx-x5-xxx0.compute-1.amazonaws.com](http://ec2-19x-xxx-x5-xxx0.compute-1.amazonaws.com)
remote_user: root
become: yes
tasks:
- name: install nginx
apt:
name: nginx
state: latest

- name: install nginx
service:
name: nginx
state: started

```

---

<div class="post-metadata">

**Author:** ![gwmngilfen](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gwmngilfen/32/6_2.png) [@gwmngilfen](https://forum.ansible.com/u/gwmngilfen)\
**Post date:** [September 12, 2023, 11:00am UTC](https://forum.ansible.com/t/regarding-help-of-awx-setup-through-jumpbox-server/498/4 "2023-09-12T11:00:20Z")

</div>

Hi @anup.sah!

This appears to be a duplicate of [Deploy apache in private ec2 instances using jumbox, where AWX having my playbook for installetion](http://forum.ansible.com/t/deploy-apache-in-private-ec2-instances-using-jumbox-where-awx-having-my-playbook-for-installetion/318) - you’ve posted the same error logs and the same playbook code. It’s not helpful to create multiple topics for the same issue, so I’d like to close this one and move the discussion to the other topic. If I’ve misunderstood, please let me know!

---

<div class="post-metadata">

**Author:** ![gwmngilfen](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gwmngilfen/32/6_2.png) [@gwmngilfen](https://forum.ansible.com/u/gwmngilfen)\
**Post date:** [September 12, 2023, 1:41pm UTC](https://forum.ansible.com/t/regarding-help-of-awx-setup-through-jumpbox-server/498/5 "2023-09-12T13:41:37Z")

</div>


