# AWS Express new install

**URL:** <https://community.open-emr.org/t/aws-express-new-install/17508>\
**Category:** Support\
**Created:** [December 1, 2021, 9:05pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508 "2021-12-01T21:05:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scotte](https://community.open-emr.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@Scotte](https://community.open-emr.org/u/Scotte)\
**Post date:** [December 1, 2021, 9:05pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/1 "2021-12-01T21:05:01Z")

</div>

**Situation**  
I completed the OpenEMR Cloud Express on AWS.  
Everything seemed to go fine and I have an instance running.  
I received the Public, private, IP and DNS information.  
When I try to connect the the IP I get an error saying:  
“There was a problem connecting to your instance”  
When I try ssh to connect, it times out without connecting.  
On the EC2 console it shows the instace state as running.

**OpenEMR Version**  
I assume the version is 6.0.  
Did I misunderstand it would be auto installed with this?

**Browser** :  
Tired Chrome and Edge

**Operating System**  
Windows 10 Pro

**Logs**  
Did you check the logs?  
Can not start OpenEMR to check logs

---

<div class="post-metadata">

**Author:** ![robert.down](https://community.open-emr.org/user_avatar/community.open-emr.org/robert.down/32/15055_2.png) [@robert.down](https://community.open-emr.org/u/robert.down)\
**Post date:** [December 1, 2021, 9:29pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/2 "2021-12-01T21:29:34Z")

</div>

Try SSH’ing but add `-v` to generate some more info about the issue. Also, check your network settings in AWS to ensure your security group is allowing inbound traffic on ports 80 (HTTP), 443 (HTTPS), and 22 (SSH)

---

<div class="post-metadata">

**Author:** ![jesdynf](https://community.open-emr.org/user_avatar/community.open-emr.org/jesdynf/32/15698_2.png) [@jesdynf](https://community.open-emr.org/u/jesdynf)\
**Post date:** [December 2, 2021, 3:34am UTC](https://community.open-emr.org/t/aws-express-new-install/17508/3 "2021-12-02T03:34:59Z")

</div>

I suspect this isn’t a security group issue, because if it was security groups it’d be responding on 80/443 – this is a networking issue, the instance either has no public IP or it’s in a VPC subnet that can’t route to the world.

---

<div class="post-metadata">

**Author:** ![Scotte](https://community.open-emr.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@Scotte](https://community.open-emr.org/u/Scotte)\
**Post date:** [December 2, 2021, 11:18am UTC](https://community.open-emr.org/t/aws-express-new-install/17508/4 "2021-12-02T11:18:17Z")

</div>

Thanks for the suggestions.  
I tried the -v and it still timed out.  
I have also tried a different internet connection (on my pc)  
Still same timed out.  
I tried to attach and image but could not.  
Here is the ssh reply

> OpenSSH\_for\_Windows  
> debug1: Connecting to 3.145.81.119 [3.145.81.119] port 22  
> debug1: conect to address 3.145.81.119 port 22: Connection timed out  
> ssh: connect to host 3.145.81.119 port 22 Connection timed out

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [December 2, 2021, 11:22am UTC](https://community.open-emr.org/t/aws-express-new-install/17508/5 "2021-12-02T11:22:44Z")

</div>

how about restarting the ec2?

---

<div class="post-metadata">

**Author:** ![adunsulag](https://community.open-emr.org/user_avatar/community.open-emr.org/adunsulag/32/12606_2.png) [@adunsulag](https://community.open-emr.org/u/adunsulag)\
**Post date:** [December 2, 2021, 3:27pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/6 "2021-12-02T15:27:45Z")

</div>

On the EC2 console what does it show for your public ip? Did you use the default Virtual Private Cloud (VPC) settings for the network to launch express?

---

<div class="post-metadata">

**Author:** ![Scotte](https://community.open-emr.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@Scotte](https://community.open-emr.org/u/Scotte)\
**Post date:** [December 2, 2021, 7:26pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/7 "2021-12-02T19:26:16Z")

</div>

@ adunsulag, the ip address is: **3.145.81.119** took too long to respond  
@ stephenwaite I had done a restart but tried again today.  
No change in behavior

Thanks

---

<div class="post-metadata">

**Author:** ![preetimochi](https://community.open-emr.org/user_avatar/community.open-emr.org/preetimochi/32/16973_2.png) [@preetimochi](https://community.open-emr.org/u/preetimochi)\
**Post date:** [April 6, 2022, 10:29pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/8 "2022-04-06T22:29:36Z")

</div>

@Scotte did you ever find a fix? I seem to be having the same problem

---

<div class="post-metadata">

**Author:** ![Scotte](https://community.open-emr.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@Scotte](https://community.open-emr.org/u/Scotte)\
**Post date:** [April 7, 2022, 12:10am UTC](https://community.open-emr.org/t/aws-express-new-install/17508/9 "2022-04-07T00:10:15Z")

</div>

No solution and no help from AWS because it is a free account so I deleted it and cancelled the account.

Two weeks after I cancelled I was contacted and asked if I needed help.  
LOL Too late.

![](http://click.open-emr.org/q/1VKtLHhyQ356CPo7tc3SvQ ~~/AAH1pgA~/RgRkL0iJPVcDc3BjQgpiSwkVTmInaikDUg5wY3gzQHlhaG9vLmNvbVgEAAAAAA~~ )

> ![](https://community.open-emr.org/user_avatar/community.open-emr.org/preetimochi/45/16973_2.png "preetimochi") | [Pratyusha Gogulapati](http://click.open-emr.org/f/a/7k21_uJLpOUOPQbI408Fdw~~/AAH1pgA~/RgRkL0iJP0QsaHR0cHM6Ly9jb21tdW5pdHkub3Blbi1lbXIub3JnL3UvcHJlZXRpbW9jaGlXA3NwY0IKYksJFU5iJ2opA1IOcGN4M0B5YWhvby5jb21YBAAAAAA~) preetimochi  
> April 6 |
> 
> - | - |

[@Scotte](http://click.open-emr.org/f/a/e0QrX0k3z3Dz3OFabL0WMA~~/AAH1pgA~/RgRkL0iJP0QnaHR0cHM6Ly9jb21tdW5pdHkub3Blbi1lbXIub3JnL3Uvc2NvdHRlVwNzcGNCCmJLCRVOYidqKQNSDnBjeDNAeWFob28uY29tWAQAAAAA) did you ever find a fix? I seem to be having the same problem

---

<div class="post-metadata">

**Author:** ![preetimochi](https://community.open-emr.org/user_avatar/community.open-emr.org/preetimochi/32/16973_2.png) [@preetimochi](https://community.open-emr.org/u/preetimochi)\
**Post date:** [April 7, 2022, 2:31am UTC](https://community.open-emr.org/t/aws-express-new-install/17508/10 "2022-04-07T02:31:06Z")

</div>

Did you end up using the Standard version of OpenEMR or go with another solution altogether? I’m really stumped rn

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [April 7, 2022, 2:46am UTC](https://community.open-emr.org/t/aws-express-new-install/17508/11 "2022-04-07T02:46:33Z")

</div>

hi @preetimochi , do you remember what you selected from the setup?

 ![Screenshot from 2022-04-06 22-45-23](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/0/7/074bf06291747676b6f0f9dcdb0684909fd8e0de.png)

am sure @jesdynf will be glad to weigh in and help

---

<div class="post-metadata">

**Author:** ![jesdynf](https://community.open-emr.org/user_avatar/community.open-emr.org/jesdynf/32/15698_2.png) [@jesdynf](https://community.open-emr.org/u/jesdynf)\
**Post date:** [April 7, 2022, 3:18am UTC](https://community.open-emr.org/t/aws-express-new-install/17508/12 "2022-04-07T03:18:34Z")

</div>

There’s not a lot to go on, unfortunately. We just got finished serving a ticket on the main repo where a user on Windows was unable to connect to EC2 instances (not ours alone) for completely unclear reasons, so I know it can happen if not why.

Note that it’s not really possible for any of the Amazon packages to fail in such a way that _ssh_ will be _non-responsive_, that’s just flat not going to happen and it’s pointing to problems with the network or security groups. I recommend trying to start a regular old Amazon instance in the same VPC and subnet and see if you can connect to that.

If you can’t, you know you’ve got a different problem to resolve that. If you can, then you’ve got something to compare now.

---

<div class="post-metadata">

**Author:** ![Scotte](https://community.open-emr.org/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@Scotte](https://community.open-emr.org/u/Scotte)\
**Post date:** [April 7, 2022, 12:42pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/13 "2022-04-07T12:42:17Z")

</div>

I did not have any issues setting up OpenEMR on my local workstation.

Why AWS would not work was something I did not feel was worth the effort to spend more time on. I followed all of the guides and suggestions to make it work but the problem persisted.

I ended up creating a web portal (static public IP address) and installed OpenEMR on my server. It worked first time and has not had any issues. It was actually very easy to do and inexpensive.

Unfortunately, I have not been able to complete the setup of OpenEMR to be used in my company. (My company has other projects I’ve been busy doing.)

When I check OpenEMR, it works fine but we have not put any data into the system and start using it as an EMR system.

We will probably need to hire a consultant / developer to assist in implementation of OpenEMR in my company. I’m sure the expense of that will be worth the cost.

---

<div class="post-metadata">

**Author:** ![preetimochi](https://community.open-emr.org/user_avatar/community.open-emr.org/preetimochi/32/16973_2.png) [@preetimochi](https://community.open-emr.org/u/preetimochi)\
**Post date:** [April 8, 2022, 9:47pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/14 "2022-04-08T21:47:21Z")

</div>

I selected launch from Website & t2.micro. I tried to SSH in & it had the same error as online its timing out.

 ![Screen Shot 2022-04-08 at 2.45.47 PM](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/f/c/fc7c16f8a8ff29b59a8c6d67cac3f32ab15614bd.png)

---

<div class="post-metadata">

**Author:** ![preetimochi](https://community.open-emr.org/user_avatar/community.open-emr.org/preetimochi/32/16973_2.png) [@preetimochi](https://community.open-emr.org/u/preetimochi)\
**Post date:** [April 8, 2022, 9:52pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/15 "2022-04-08T21:52:17Z")

</div>

I seem to be able to SSH in on the free Lightsail version but even trying to SSH in on the Express version is timing out. I’m seeing these errors so trying to work through these - I’m on a Mac so not sure I can do the first but trying to set up the IAM instance profile.

 ![Screen Shot 2022-04-08 at 2.51.12 PM](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/1/f/1f4050193b9c849507df4b7d5c274581ea754bc9.png)

---

<div class="post-metadata">

**Author:** ![jesdynf](https://community.open-emr.org/user_avatar/community.open-emr.org/jesdynf/32/15698_2.png) [@jesdynf](https://community.open-emr.org/u/jesdynf)\
**Post date:** [April 8, 2022, 10:00pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/16 "2022-04-08T22:00:28Z")

</div>

You wouldn’t be able to connect that way, I never installed SSM Agent. (Maybe I should?)

I will note that the user you should connect with is “ubuntu”, not “root”, though that wouldn’t cause timeouts. I continue to suspect this is a network or security group issue – no other user has reported an inability to connect to an Express instance. The domain and command do look otherwise correct, however.

---

<div class="post-metadata">

**Author:** ![preetimochi](https://community.open-emr.org/user_avatar/community.open-emr.org/preetimochi/32/16973_2.png) [@preetimochi](https://community.open-emr.org/u/preetimochi)\
**Post date:** [April 8, 2022, 10:18pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/17 "2022-04-08T22:18:17Z")

</div>

For the security group, I just chose the default security group settings. It seems to be passing both of the status checks. The only other thing I can think of is that Im currently located in the west coast but the instance is on east coast availability zone, would that make a difference? Also where would I have set up the ubuntu user?

 ![Screen Shot 2022-04-08 at 3.17.20 PM](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/5/8/58aa20f4e56126625edd758d5e929fe3f3ec61c1.png)

---

<div class="post-metadata">

**Author:** ![jesdynf](https://community.open-emr.org/user_avatar/community.open-emr.org/jesdynf/32/15698_2.png) [@jesdynf](https://community.open-emr.org/u/jesdynf)\
**Post date:** [April 8, 2022, 10:21pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/18 "2022-04-08T22:21:42Z")

</div>

You wouldn’t’ve set it up, I did when I made the instance. I gave AWS a Ubuntu 20.04 instance I configured, and then when you spun it up in your environment AWS added your key to it.

But I think you just put your finger on the problem – the “default” security group _does not allow public access to servers_. Create a new security group that allows inbound access to 80/443 and your ip to 22 and add it to the instance and you should be good.

(Do not /replace/ the ‘default’ security group, that’s important and it matters, just add your new group.)

---

<div class="post-metadata">

**Author:** ![preetimochi](https://community.open-emr.org/user_avatar/community.open-emr.org/preetimochi/32/16973_2.png) [@preetimochi](https://community.open-emr.org/u/preetimochi)\
**Post date:** [April 8, 2022, 10:47pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/19 "2022-04-08T22:47:36Z")

</div>

This seems to be progress, never got this before. But I did as you suggested and added a new security group with inbound access to ports 80/443/22.

 ![Screen Shot 2022-04-08 at 3.46.34 PM](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/1/e/1ec50604509ab6e5ddbb4a03a3cf976c00f83e8e.png)

---

<div class="post-metadata">

**Author:** ![preetimochi](https://community.open-emr.org/user_avatar/community.open-emr.org/preetimochi/32/16973_2.png) [@preetimochi](https://community.open-emr.org/u/preetimochi)\
**Post date:** [April 8, 2022, 10:49pm UTC](https://community.open-emr.org/t/aws-express-new-install/17508/20 "2022-04-08T22:49:59Z")

</div>

Here are the ports added, for any future persons reference - 22 was MyIP as the option

 ![Screen Shot 2022-04-08 at 3.48.56 PM](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/b/a/ba704bae65f267c1bc5475db03a3048c803d5b1e.png)

[Next page](https://community.open-emr.org/t/aws-express-new-install/17508.md?page=2)
