comparison xml/en/docs/howto_setup_development_environment_on_ec2.xml @ 974:9c9a3915aeda

EC2 guide: NGINX SE changed to NGINX Plus.
author Andrei Belov <defan@nginx.com>
date Thu, 22 Aug 2013 19:56:01 +0400
parents 3992b30c22f2
children 30d7ab9687c0
comparison
equal deleted inserted replaced
973:f8ef590048e7 974:9c9a3915aeda
4 Copyright (C) Nginx, Inc. 4 Copyright (C) Nginx, Inc.
5 --> 5 -->
6 6
7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd">
8 8
9 <article name="Setting up NGINX SE environment on Amazon EC2" 9 <article name="Setting up NGINX Plus environment on Amazon EC2"
10 link="/en/docs/howto_setup_development_environment_on_ec2.html" 10 link="/en/docs/howto_setup_development_environment_on_ec2.html"
11 lang="en" 11 lang="en"
12 rev="2"> 12 rev="2">
13 13
14 <section name="NGINX AMI on EC2"> 14 <section name="NGINX AMI on EC2">
35 35
36 <list type="bullet" compact="no"> 36 <list type="bullet" compact="no">
37 37
38 <listitem> 38 <listitem>
39 Latest version of 39 Latest version of
40 <link url="http://nginx.com/products/">NGINX SE</link> 40 <link url="http://nginx.com/products/">NGINX Plus</link>
41 optimized for use with AWS. 41 optimized for use with AWS.
42 </listitem> 42 </listitem>
43 43
44 <listitem> 44 <listitem>
45 A set of pre-packaged software to build highly 45 A set of pre-packaged software to build highly
46 available <link url="http://nginx.com/products/">NGINX SE</link> 46 available <link url="http://nginx.com/products/">NGINX Plus</link>
47 configurations. 47 configurations.
48 </listitem> 48 </listitem>
49 49
50 <listitem> 50 <listitem>
51 Helper script used to install and configure typical 51 Helper script used to install and configure typical
52 development environments with 52 development environments with
53 <link url="http://nginx.com/products/">NGINX SE</link>. 53 <link url="http://nginx.com/products/">NGINX Plus</link>.
54 </listitem> 54 </listitem>
55 55
56 </list> 56 </list>
57 57
58 </para> 58 </para>
59 59
60 </section> 60 </section>
61 61
62 <section id="setting_up_nginx_environment_on_aws" 62 <section id="setting_up_nginx_environment_on_aws"
63 name="Step-by-step guide to start working with NGINX AMI"> 63 name="Step-by-step guide to start working with NGINX Plus AMI">
64 64
65 <para> 65 <para>
66 To quickly set up NGINX SE environment on AWS: 66 To quickly set up NGINX Plus environment on AWS:
67 <list type="bullet" compact="no"> 67 <list type="bullet" compact="no">
68 <listitem> 68 <listitem>
69 Follow 69 Follow
70 <link url="http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/Welcome.html"> 70 <link url="http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/Welcome.html">
71 Getting Started with EC2</link> guide to sign up to AWS and 71 Getting Started with EC2</link> guide to sign up to AWS and
72 get more information about EC2 itself. 72 get more information about EC2 itself.
73 Then you can proceed to 73 Then you can proceed to
74 <link url="https://aws.amazon.com/marketplace/pp/B00A04GAG4"> 74 <link url="https://aws.amazon.com/marketplace/pp/B00A04GAG4">
75 NGINX Amazon Linux AMI</link> or 75 NGINX Plus Amazon Linux AMI</link> or
76 <link url="https://aws.amazon.com/marketplace/pp/B00DIF4A6Y"> 76 <link url="https://aws.amazon.com/marketplace/pp/B00DIF4A6Y">
77 NGINX Ubuntu AMI</link> product page on AWS Marketplace and launch the AMI. 77 NGINX Plus Ubuntu AMI</link> product page on AWS Marketplace and launch the AMI.
78 When configuring the firewall rules, it is necessary to add a rule 78 When configuring the firewall rules, it is necessary to add a rule
79 to accept web traffic on TCP ports 80 and 443 (“1-click launch” 79 to accept web traffic on TCP ports 80 and 443 (“1-click launch”
80 will do that automatically). 80 will do that automatically).
81 </listitem> 81 </listitem>
82 82
83 <listitem> 83 <listitem>
84 As soon as the new instance is launched, NGINX SE will be automatically 84 As soon as the new instance is launched, NGINX Plus will be automatically
85 started and configured to serve default index.html page. 85 started and configured to serve default index.html page.
86 You can check it by pointing your web browser to the public DNS 86 You can check it by pointing your web browser to the public DNS
87 name of your newborn EC2 instance. 87 name of your newborn EC2 instance.
88 Also, you can log in to your instance and use 88 Also, you can log in to your instance and use
89 <programlisting> 89 <programlisting>
90 /etc/init.d/nginx status 90 /etc/init.d/nginx status
91 </programlisting> 91 </programlisting>
92 to check the status of your NGINX SE server. 92 to check the status of your NGINX Plus server.
93 </listitem> 93 </listitem>
94 94
95 <listitem> 95 <listitem>
96 To configure NGINX SE for use with different web frameworks 96 To configure NGINX Plus for use with different web frameworks
97 quickly and efficiently, you can use a special helper script 97 quickly and efficiently, you can use a special helper script
98 included in the AMI. 98 included in the AMI.
99 Log in to your EC2 instance and start: 99 Log in to your EC2 instance and start:
100 100
101 <programlisting> 101 <programlisting>
119 After the installation completes and the web application is installed 119 After the installation completes and the web application is installed
120 in a subdirectory inside <path>/var/www</path>, 120 in a subdirectory inside <path>/var/www</path>,
121 additional instructions will be provided on how to start/stop sample 121 additional instructions will be provided on how to start/stop sample
122 application. 122 application.
123 For example, the Rails/Unicorn application will reside in 123 For example, the Rails/Unicorn application will reside in
124 <path>/var/www/rails/sample-unicorn</path>, and specific part of NGINX SE 124 <path>/var/www/rails/sample-unicorn</path>, and specific part of nginx
125 configuration will be in <path>/etc/nginx/conf.d/rails-unicorn.conf</path>. 125 configuration will be in <path>/etc/nginx/conf.d/rails-unicorn.conf</path>.
126 Installed application and configuration files can be used as a basis 126 Installed application and configuration files can be used as a basis
127 for further development. 127 for further development.
128 </listitem> 128 </listitem>
129 </list> 129 </list>
130 </para> 130 </para>
131 131
132 </section> 132 </section>
133 133
134 <section id="available_software" 134 <section id="available_software"
135 name="Software available for automatic configuration with NGINX AMI"> 135 name="Software available for automatic configuration with NGINX Plus AMI">
136 136
137 <para> 137 <para>
138 The following software is available for automatic installation 138 The following software is available for automatic installation
139 and configuration using <literal>nginx-setup</literal> helper script: 139 and configuration using <literal>nginx-setup</literal> helper script:
140 140
187 187
188 <section id="if_something_goes_wrong" 188 <section id="if_something_goes_wrong"
189 name="What if something goes wrong?"> 189 name="What if something goes wrong?">
190 190
191 <para> 191 <para>
192 In case you encounter any problems with NGINX SE configuration, 192 In case you encounter any problems with nginx configuration,
193 the documentation is available on 193 the documentation is available on
194 <link url="http://nginx.org/en/docs/"/>. 194 <link url="http://nginx.org/en/docs/"/>.
195 </para> 195 </para>
196 196
197 <para> 197 <para>
198 Customers who purchased NGINX AMI at AWS Marketplace are eligible for 198 Customers who purchased NGINX Plus AMI at AWS Marketplace are eligible for
199 assistance under AWS support provided by Nginx Inc. engineering team. 199 assistance under AWS support provided by Nginx Inc. engineering team.
200 In order to activate support, the following form must be filled out: 200 In order to activate support, the following form must be filled out:
201 <link url="http://nginx.com/ami-support-activation/"/>. 201 <link url="http://nginx.com/ami-support-activation/"/>.
202 Please note that you will need your AWS Account Number. 202 Please note that you will need your AWS Account Number.
203 In some cases we may also ask you to provide EC2 instance ID(s). 203 In some cases we may also ask you to provide EC2 instance ID(s).