Zend_Service_Amazon_Ec2-WindowsInstance.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- EN-Revision: 16389 -->
  3. <!-- Reviewed: no -->
  4. <sect1 id="zend.service.amazon.ec2.windows.instance">
  5. <title>Zend_Service_Amazon_Ec2: Windows Instanzen</title>
  6. <para>
  7. Die Verwendung von Amazon EC2 Instanzen auf denen Windows läuft ist ähnlich wie die
  8. Verwendung von Instanzen die Linux oder UNIX und Windows verwenden:
  9. </para>
  10. <itemizedlist>
  11. <listitem>
  12. <para>
  13. Remote Desktop—Um auf Windows Instanzen zuzugreifen muß Remote Desktop statt SSH
  14. verwendet werden.
  15. </para>
  16. </listitem>
  17. <listitem>
  18. <para>
  19. Administratives Passwort—Um auf Windows Instanzen das erste Mal zugreifen zu
  20. können muß man das administrative Passwort holen indem der ec2-get-password
  21. Befehl verwendet wird.
  22. </para>
  23. </listitem>
  24. <listitem>
  25. <para>
  26. Vereinfachtes Bündeln- Um eine Windows Instanz zu bündeln muß ein einzelnes
  27. Kommando verwendet werden, der die Instanz beendet, diese als AMI speichert, und
  28. Sie wieder startet.
  29. </para>
  30. </listitem>
  31. </itemizedlist>
  32. <para>
  33. As part of this service, Amazon EC2 instances can now run Microsoft Windows Server
  34. 2003. Our base Windows image provides you with most of the common functionality associated
  35. with Windows. However, if you require more than two concurrent Windows users or need to
  36. leverage applications that require LDAP, Kerberos, RADIUS, or other credential services,
  37. you must use Windows with Authentication Services. For example, Microsoft Exchange Server
  38. and Microsoft SharePoint Server require Windows with Authentication Services.
  39. </para>
  40. <note>
  41. <para>
  42. To get started using Windows instances, we recommend using the AWS Management Console.
  43. There are differences in pricing between Windows and Windows with Authentication
  44. Services instances. For information on pricing, go to the Amazon EC2 Product Page.
  45. </para>
  46. </note>
  47. <para>
  48. Amazon EC2 currently provides the following Windows AMIs:
  49. </para>
  50. <itemizedlist>
  51. <listitem>
  52. <para>Windows Authenticated (32-bit)</para>
  53. </listitem>
  54. <listitem>
  55. <para>Windows Authenticated (64-bit)</para>
  56. </listitem>
  57. <listitem>
  58. <para>Windows Anonymous (32-bit)</para>
  59. </listitem>
  60. <listitem>
  61. <para>Windows Anonymous (64-bit)</para>
  62. </listitem>
  63. </itemizedlist>
  64. <para>
  65. The Windows public AMIs that Amazon provides are unmodified
  66. versions of Windows with the following two exceptions: we added
  67. drivers to improve the networking and disk I/O performance and
  68. we created the Amazon EC2 configuration service. The Amazon EC2
  69. configuration service performs the following functions:
  70. </para>
  71. <itemizedlist>
  72. <listitem>
  73. <para>
  74. Randomly sets the Administrator password on initial launch,
  75. encrypts the password with the user's SSH key, and reports
  76. it to the console. This operation happens upon initial AMI
  77. launch. If you change the password, AMIs that are created
  78. from this instance use the new password.
  79. </para>
  80. </listitem>
  81. <listitem>
  82. <para>
  83. Configures the computer name to the internal DNS name. To
  84. determine the internal DNS name, see Using Instance Addressing.
  85. </para>
  86. </listitem>
  87. <listitem>
  88. <para>
  89. Sends the last three system and application errors from the
  90. event log to the console. This helps developers to identify
  91. problems that caused an instance to crash or network connectivity
  92. to be lost.
  93. </para>
  94. </listitem>
  95. </itemizedlist>
  96. <sect2 id="zend.service.amazon.ec2.windows.instance.operations">
  97. <title>Windows Instances Usage</title>
  98. <example id="zend.service.amazon.ec2.windows.instance.operations.bundle">
  99. <title>Bundles an Amazon EC2 instance running Windows</title>
  100. <para>
  101. <methodname>bundle()</methodname> has three require paramters and one optional
  102. </para>
  103. <itemizedlist>
  104. <listitem>
  105. <para><emphasis>instanceId</emphasis> The instance you want to bundle</para>
  106. </listitem>
  107. <listitem>
  108. <para><emphasis>s3Bucket</emphasis> Where you want the ami to live on S3</para>
  109. </listitem>
  110. <listitem>
  111. <para>
  112. <emphasis>s3Prefix</emphasis> The prefix you want to assign to the AMI on S3
  113. </para>
  114. </listitem>
  115. <listitem>
  116. <para>
  117. <emphasis>uploadExpiration</emphasis> The expiration of the upload policy.
  118. Amazon recommends 12 hours or longer. This is based in nubmer of
  119. minutes. Default is 1440 minutes (24 hours)
  120. </para>
  121. </listitem>
  122. </itemizedlist>
  123. <para>
  124. <methodname>bundle()</methodname> returns a multi-demential array that contains
  125. instanceId, bundleId, state, startTime, updateTime, progress
  126. s3Bucket and s3Prefix.
  127. </para>
  128. <programlisting language="php"><![CDATA[
  129. $ec2_instance = new Zend_Service_Amazon_Ec2_Instance_Windows('aws_key',
  130. 'aws_secret_key');
  131. $return = $ec2_instance->bundle('instanceId', 's3Bucket', 's3Prefix');
  132. ]]></programlisting>
  133. </example>
  134. <example id="zend.service.amazon.ec2.windows.instance.operations.describe">
  135. <title>Describes current bundling tasks</title>
  136. <para>
  137. <methodname>describeBundle()</methodname> Describes current bundling tasks
  138. </para>
  139. <para>
  140. <methodname>describeBundle()</methodname> returns a multi-demential array that
  141. contains instanceId, bundleId, state, startTime, updateTime, progress
  142. s3Bucket and s3Prefix.
  143. </para>
  144. <programlisting language="php"><![CDATA[
  145. $ec2_instance = new Zend_Service_Amazon_Ec2_Instance_Windows('aws_key',
  146. 'aws_secret_key');
  147. $return = $ec2_instance->describeBundle('bundleId');
  148. ]]></programlisting>
  149. </example>
  150. <example id="zend.service.amazon.ec2.windows.instance.operations.cancel">
  151. <title>Cancels an Amazon EC2 bundling operation</title>
  152. <para>
  153. <methodname>cancelBundle()</methodname> Cancels an Amazon EC2 bundling operation
  154. </para>
  155. <para>
  156. <methodname>cancelBundle()</methodname> returns a multi-demential array that
  157. contains instanceId, bundleId, state, startTime, updateTime, progress
  158. s3Bucket and s3Prefix.
  159. </para>
  160. <programlisting language="php"><![CDATA[
  161. $ec2_instance = new Zend_Service_Amazon_Ec2_Instance_Windows('aws_key',
  162. 'aws_secret_key');
  163. $return = $ec2_instance->cancelBundle('bundleId');
  164. ]]></programlisting>
  165. </example>
  166. </sect2>
  167. </sect1>