what does it do?

If I write the below command, what does it do?
ec2-run ami-e3a5408a -n 20 -g appserver

If I write the below command, what does it do?
ec2-run ami-e3a5408a -n 20 -g appserver

A.
Start twenty instances as members of appserver group.

B.
Creates 20 rules in the security group named appserver

C.
Terminate twenty instances as members of appserver group.

D.
Start 20 security groups



Leave a Reply 2

Your email address will not be published. Required fields are marked *


MQ

MQ

A.

ec2-run-instances ami_id [-n instance_count] [-k keypair] [-g group [-g
group …]] [-d user_data | -f filename] [–instance-type instance_type] [–
availability-zone zone] [–placement-group group_name] [–tenancy tenancy]
[–kernel kernel_id] [–ramdisk ramdisk_id] [–block-device-mapping mapping]
[–monitor] [–subnet subnet_id] [–disable-api-termination] [–instanceinitiated-shutdown-behavior
behavior] [–private-ip-address ip_address]
[–client-token token] [–secondary-private-ip-address ip_address | —
secondary-private-ip-address-count count] [–network-attachment attachment]
[–iam-profile arn | name] [–ebs-optimized] [–associate-public-ip-address
Boolean]