AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates and immedately starts a new server. The server is ready to use when it is
HEALTHY state. By default, you can create a maximum of 10 servers.
This operation is asynchronous.
LimitExceededException is thrown when you have created the maximum
number of servers (10). A
ResourceAlreadyExistsException is thrown when
a server with the same name already exists in the account. A
is thrown when you specify a backup ID that is not valid or is for a backup that does
not exist. A
ValidationException is thrown when parameters of the request
are not valid.
If you do not specify a security group by adding the
parameter, AWS OpsWorks creates a new security group.
Chef Automate: The default security group opens the Chef server to the world on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.
Puppet Enterprise: The default security group opens TCP ports 22, 443, 4433, 8140, 8142, 8143, and 8170. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.
By default, your server is accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses and address ranges only. To edit security group rules, open Security Groups in the navigation pane of the EC2 management console.
For .NET Core and PCL this operation is only available in asynchronous form. Please refer to CreateServerAsync.
public abstract CreateServerResponse CreateServer( CreateServerRequest request )
Container for the necessary parameters to execute the CreateServer service method.
|LimitExceededException||The limit of servers or backups has been reached.|
|ResourceAlreadyExistsException||The requested resource cannot be created because it already exists.|
|ResourceNotFoundException||The requested resource does not exist, or access was denied.|
|ValidationException||One or more of the provided request parameters are not valid.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms