# Agent Install

When provisioning an Instance, there are some network and configuration requirements to successfully install the Agent. Typically when a VM Instance is still in the provisioning phase long after the VM is up, the Instance is unable to reach VM Essentials, or depending on Agent install mode, VM Essentials is unable to reach the Instance.

The most common reason an Agent install fails is the provisioned Instance cannot reach the VM Essentials Appliance via the `appliance_url` set in Administration > Settings over both 443 and 80. When an Instance is provisioned from VM Essentials, it must be able to reach the VM Essentials appliance via the `appliance_url` or the Agent will not be installed.

In addition to the main `appliance_url` in Administration > Settings, additional `appliance_urls` can be set per Cloud in the Advanced options of the Cloud configuration pane when creating or editing a Cloud. When this field is populated, it will override the main appliance URL for anything provisioned into that Cloud.

TIP

The VM Essentials current log, located at `/var/log/morpheus/morpheus-ui/current`, is very helpful when troubleshooting Agent installations.

**Subtopics**  

- **[Agent Install Modes](https://support.hpe.com/hpesc/public/api/document/sd00007620en_us/render?page=GUID-6DFEB5BD-002C-4C1A-B22B-2549A4416076.html)**
- **[SSH/Winrm](https://support.hpe.com/hpesc/public/api/document/sd00007620en_us/render?page=GUID-2F46F59C-22A3-4416-AC2A-BE1522B152D2.html)**
- **[VMware tools (vmtools) RPC mode](https://support.hpe.com/hpesc/public/api/document/sd00007620en_us/render?page=GUID-B8FB507C-D7BB-462A-847F-E5A4B708E142.html)**
- **[Cloud-Init Agent install mode](https://support.hpe.com/hpesc/public/api/document/sd00007620en_us/render?page=GUID-04410F73-1BA6-46D4-A7A4-E4706C5FD522.html)**
