User Guide > Tasks > Working with Plugins > Enabling/Disabling Tunneling for Your Zend Server Amazon EC2 Instance

Enabling/Disabling Tunneling for Your Amazon EC2 Instance

This procedure describes how to enable and disable Tunneling for your Zend Server Amazon EC2 Instance. Tunneling provides a means of persistent connection between Zend Studio and a remote server, in this case your Amazon EC2 Instance, situated behind a Firewall or NAT. After creating a tunnel, all communication between Zend Studio and your Zend Server can go through that tunnel, instead of assigning more communication ports for the Debug sessions made on the Amazon EC2 Instance.

Enabling Tunneling for Your Amazon EC2 Instance

This procedure describes how to enable tunneling for your Zend Server Amazon EC2 Instance. Before enabling Tunneling for your Zend Server you must add an Amazon EC2 Remote Connection Profile for your Instance.

 

 

Instructions on how to complete a procedure

To enable Tunneling for your Zend Server Amazon EC2 Instance:

  1. Go to Window | Preferences | PHP | PHP Servers.
    The PHP Servers Preferences page opens.

  1. Select your Amazon Instance and click Edit.
    The Edit Server dialog opens.

  1. In the Zend Server tab mark the 'Enable Zend Server Integration' check-box and the 'Use Default' check-box.

  2.  In the Password text field enter the password you defined in your Zend Server.

  1. In the Tunnel tab mark the 'Enable Tunneling' check-box and click OK.
    For more information on the Tunneling settings dialog see Setting Up a Tunneling Server.

To confirm that Tunneling is enabled for your Amazon Instance, make sure that the icon in your GUI  is green (). If it is red (), select your Amazon EC2 Instance from the icon's dropdown menu to enable Tunneling.

You can now create a new PHP project with Remote Server Support with a Zend Server Amazon EC2 Instance  or debug your PHP application as a PHP web page on your Zend Server Amazon EC2 Instance.

Disabling Tunneling for Your Amazon EC2 Instance

Disabling Tunneling for your Amazon EC2 Instance will not allow Zend Studio to debug your PHP application as a PHP web page on your Amazon EC2 Instance.  

 

 

Instructions on how to complete a procedure

To disable Tunneling for your Amazon Instance:

  1. Go to and from the dropdown menu select your Amazon Instance.

  1. If the icon is green () click on it and Tunneling will be disabled.
    If the icon is red () Tunneling has already been disabled.

 To enable Tunneling see Enabling Tunneling for Your Amazon EC2  Instance.

Debugging a PHP application on an Amazon Instance is not possible when Tunneling is disabled.

 

 

Related Links

Related Links:

Adding an Amazon EC2 Remote Connection Profile

Setting Up Your Zend Server Amazon EC2 Instance

Amazon AWS Toolkit for Zend Studio

Prerequisites

Setting Up Your Amazon EC2 Instance in Zend Studio

Working with Amazon AWS Toolkit for Zend Studio

 

 

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