Revision as of 18:10, 24 April 2012 by Jeff rubinoff (Talk | contribs)

NetBeans 7.2 introduces support for Amazon Elastic Beanstalk Service (EBS). Provide the IDE with your Amazon Web Services authentication details, and you can deploy web applications directly to the Amazon Cloud. NetBeans IDE automatically mounts existing EBS environments. You can create a new EBS environment when you deploy a web application to EBS.

Registering Elastic Beanstalk Service in NetBeans IDE

Register Elastic Beanstalk Service in the IDE's Services window as a Cloud provider.

  1. Open the IDE's Services window. (Window > Services or Ctrl-5)
  2. Right-click the Cloud node and select Add Cloud. The Add Cloud Provider dialog opens.
  3. Select Amazon Beanstalk as the Cloud Provider. Click Next.
  4. Enter your key and secret key. Image:Register.png
  5. Click through the rest of the wizard. NetBeans IDE mounts your existing Amazon Beanstalk Tomcat environments as running Tomcat servers.

You can deploy Tomcat-compliant web applications to existing EBS environments as you would deploy an application to any server. For a new web application, select one of the EBS servers when you create the application. For an existing web application, open the project's Run properties and select one of the EBS servers.

Creating a New Elastic Beanstalk Environment

You can create a new Elastic Beanstalk environment when you create a web application.

  1. In the Server and Settings page of the New Web Application wizard, click Add Server. The Add Server Instance dialog opens.
  2. Select Amazon Beanstalk as the server type. The Create New Virtual Application or Environment window page opens.
  3. Select the Amazon Beanstalk account you want to use. Give the new environment an arbitrary name and select a Tomcat container type.

The IDE creates a new environment on Amazon Beanstalk:


Press F6 on your project to build it, deploy it and open it in browser:


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo