User Guide > Tasks > Working with Plugins > Adding an Amazon EC2 Remote Connection Profile

Adding an Amazon EC2 Remote Connection Profile

This procedure describes how to add a new Remote Connection Profile for your Amazon EC2 Instance. Adding a Remote Connection Profile allows you to define the connection settings for a remote server, in this case your Amazon EC2 Instance, which you can then associate with your project. Adding an Amazon EC2 Remote Connection Profile is necessary before enabling Tunneling for Your Zend Server Amazon EC2 Instance.
Before adding a profile, you must set up your Amazon EC2 Instance in Zend Studio.

 

 

Instructions on how to complete a procedure

To add a new Amazon EC2 Remote Connection Profile:

  1. Go to Project | Properties | Remote Server Support - Or - Select Properties | Remote Server Support from the Right Click Menu in your project directory.
    The Remote Project Properties page opens.

  1. Mark the 'Enable remote connection properties' check-box and click Manage.
    The Create a Remote System Connection dialog opens.

  1. Enter a host name for your new remote system connection and select Amazon EC2 from the System Type dropdown menu.

  2. Click Finish to open the Remote Connection Profile dialog.

  1. Click Select.
    The Amazon AWS Instance Selection dialog opens.

  1. Select the Amazon EC2 Instance you would like to use and click Finish.
    The details are automatically configured in the Remote Connection Profile dialog according to the Instance you have chosen.

  1. Click Test Connection to check that Zend Studio can connect to your Amazon EC2 Instance according to the current settings.

Note:

If the test connection fails, see Setting Up Your Zend Server Amazon EC2 Instance to review all the settings that need to be in place in order to for Zend Studio to be able to connect to your Instance.

  1. Click Finish to save your new Remote Connection Profile and return to the Remote Server Support Properties page with your configured Remote Connection Profile selected.

 

  1. Select a Project Directory - A Project Directory is a folder within the Initial Directory that you would like to work with.  
    The Project Directory is often the same as the project name.

  2. Select an Upload Files mode - The Upload Files dropdown menu allows you to select to transfer files to the remote server in three ways:

    • Manually - Data is only transferred to/from the remote server when you manually perform the procedure. This option is available for uploading and downloading data to/from the remote server. See Uploading Manually or Downloading Manually for more information.

    • On Save - Data is transferred to the remote server every time you save your project or perform a change event. This option is only available for uploading data to the remote server. See Uploading On Save for more information.

    • On Run - Data is transferred to the remote server before you run or debug your project. This option is only available for uploading data to the remote server. See Uploading On Run for more information.

  3. Click OK to save and apply your changes.

You can now enable Tunneling for your Zend Server Amazon EC2 Instance.

Once you have defined a Remote Connection Profile, you can associate it with any PHP remote project. This is done by selecting the associated Alias Name from the Remote Connection dropdown menu in the Remote Server Support Properties page of the project.

 

 

Related Links

Related Links:
Enabling/Disabling Tunneling for Your Zend Server Amazon EC2 Instance

Setting Up Your Amazon EC2 Instance in Zend Studio

Amazon AWS Toolkit for Zend Studio

Setting Up Your Zend Server Amazon EC2 Instance

Working with Amazon AWS Toolkit for Zend Studio

 

 

©1999-2013 Zend Technologies LTD. All rights reserved.