Difference between revisions of "Aws ec2 run-instances"

From wikieduonline
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
+
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/run-instances.html
* https://docs.aws.amazon.com/cli/latest/reference/ec2/run-instances.html
 
  
  
Line 9: Line 8:
 
[[Placement]] options:
 
[[Placement]] options:
 
* <code>aws ec2 run-instances [[--placement]] "GroupName = my-cluster"</code>
 
* <code>aws ec2 run-instances [[--placement]] "GroupName = my-cluster"</code>
aws ec2 run-instances --placement "GroupName = HDFS-Group-A, PartitionNumber = 3"
+
* <code>aws ec2 run-instances --placement "GroupName = HDFS-Group-A, PartitionNumber = 3"</code>
 +
 
 +
* <code>aws ec2 run-instances .../... [[--key-name]] [[aws ec2 create-key-pair|your_key_name_precreated]]</code>
  
 
  [[aws ec2]] run-instances
 
  [[aws ec2]] run-instances
  An error occurred (AuthFailure) when calling the RunInstances operation: AWS was not able to validate the provided access credentials
+
  [[An error occurred (AuthFailure) when calling the RunInstances operation: AWS was not able to validate the provided access credentials]]
  
  
== Related commands ==
+
== Related ==
 
* <code>[[aws ec2 describe-instances]]</code>
 
* <code>[[aws ec2 describe-instances]]</code>
 
* <code>[[aws ec2 terminate-instances]]</code>
 
* <code>[[aws ec2 terminate-instances]]</code>
* [[Create aws ec2 instance with ansible]]
+
* <code>[[aws ec2 create-key-pair]]</code>
 +
 
 
* <code>[[gcloud compute instances create]]</code>
 
* <code>[[gcloud compute instances create]]</code>
 +
* <code>[[aws_instance]]</code>
 +
* [[Ansible: create Amazon ec2 instance]] <code>([[task:]] ec2)</code>
 +
* [[Terraform: AWS instance example with aws ami lookup and key name]] (<code>[[aws_instance]]</code>)
 +
* [[Create-instance]]
  
 
== See also ==
 
== See also ==
* {{aws ecs2}}
+
* {{aws ec2}}
 
* {{EC2}}
 
* {{EC2}}
  
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 11:14, 20 October 2023


Placement options:

  • aws ec2 run-instances --placement "GroupName = my-cluster"
  • aws ec2 run-instances --placement "GroupName = HDFS-Group-A, PartitionNumber = 3"
aws ec2 run-instances
An error occurred (AuthFailure) when calling the RunInstances operation: AWS was not able to validate the provided access credentials


Related[edit]

See also[edit]

Advertising: