aws ec2 run-instances
aws ec2 run-instances --profile YOUR_PROFILE --image-id ami-12345678 --instance-type t3.nano --endpoint https://fcu.eu-west-2.outscale.com
aws ec2 run-instances --profile YOUR_PROFILE --image-id ami-12345678 --endpoint https://fcu.eu-west-2.outscale.com
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 commands
aws ec2 describe-instances
aws ec2 terminate-instances
- Create aws ec2 instance with ansible
gcloud compute instances create
See also
- AWS EC2, AWS::EC2,
aws ec2
[describe-instances | describe-instance-status
|run-instances | terminate-instances | stop-instances
|tags
|describe-vpcs
|describe-addresses
|describe-availability-zones
|describe-subnets
|import-key-pair
|create-key-pair
|create-vpc
|create-internet-gateway
|modify-instance-attribute | ec2-instance-connect | get-console-output
] - AWS EC2, Amazon EC2 API,
aws ec2, AWS::EC2
, Amazon EC2 Spot Instances, CPU credits, Instance type, EC2 limitations, 169.254.169.254, Instance metadata and user data (IMDS),InstanceType, InstanceId
, Amazon EC2 Auto Scaling, AWS EC2 Instance Connect, launch template, lifecycle, AWS Security group (SG), Amazon EC2 Recycle Bin, Amazon EC2 Mac Instances, Global View
Advertising: