# Security considerations for hosting EasyMorph Server in the cloud

**URL:** <https://community.easymorph.com/t/security-considerations-for-hosting-easymorph-server-in-the-cloud/880>\
**Category:** Server (Hub) / Explorer\
**Created:** [January 7, 2019, 10:34pm UTC](https://community.easymorph.com/t/security-considerations-for-hosting-easymorph-server-in-the-cloud/880 "2019-01-07T22:34:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [January 7, 2019, 10:34pm UTC](https://community.easymorph.com/t/security-considerations-for-hosting-easymorph-server-in-the-cloud/880/1 "2019-01-07T22:34:18Z")

</div>

This chapter has been added to EM Server Admin Guide 3.9.2:

* * *

_Cloud hosting_  
If you decided to host EasyMorph Server on a cloud instance (e.g. Amazon EC2, Azure, or Google Cloud) and you’re not using a VPN to access it, you may effectively expose it to the threats of open internet. In this case make sure that:

- No space is configured to use the anonymous access mode
- All passwords used for password-protected spaces are sufficiently strong and have at least 20 characters (check out this [xkcd](https://xkcd.com/936/) about creating long passwords)
- Web Files disabled unless it’s necessary
- If Web Files need to be enabled then disable uploading files unless it’s necessary
- SSL is configured and enforced, SSL certificate is valid and not expired; don’t use self-signed certificates
- Remote admin access is disabled in Server Settings (instead, use Remote Desktop for Server administration)

It is highly recommended to use the cloud provider’s firewall to limit access to your Server instance only for the IP addresses (or IP ranges) that you use.

---

<div class="post-metadata">

**Author:** ![roberto](https://community.easymorph.com/user_avatar/community.easymorph.com/roberto/32/8595_2.png) [@roberto](https://community.easymorph.com/u/roberto)\
**Post date:** [March 21, 2023, 10:28am UTC](https://community.easymorph.com/t/security-considerations-for-hosting-easymorph-server-in-the-cloud/880/2 "2023-03-21T10:28:05Z")

</div>

Hello @dgudkov, can you provide more information regarding connecting to EasyMorph Server using a VPN? If other IPs need to be able to trigger tasks remotely in EasyMorph Server, do all those computers need the VPN Username/Password in order to be able to trigger the tasks? If an IP does an API call to an EasyMorph Server web API that is inside a VPN network, will that API call fail?

Thanks,

Roberto

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [March 21, 2023, 2:27pm UTC](https://community.easymorph.com/t/security-considerations-for-hosting-easymorph-server-in-the-cloud/880/3 "2023-03-21T14:27:52Z")

</div>

The Server API uses the HTTP protocol that requires network connectivity between the client and the Server. You can establish the connectivity in at least two ways:

1. Use VPN. In this case, all clients need to have an established VPN connection to the Server.
2. Expose EasyMorph Server publicly to a whitelisted set of IP addresses managed by a firewall. This is a trickier option because it requires strong security measures. For instance, putting EasyMorph behind a reverse proxy.

There are more modern alternatives to VPN such as tunnels, but I don't know much about it.

Overall, I'm not a network security specialist and can't advise on the exact configuration of network settings and protocols to ensure a secure connection. Ask a network security specialist how to establish between two computers a secure network connection that enables HTTP traffic. This is a typical task that networks security specialists specialize in.
