What are the attributes used while ec2 instance creation using AWS CLI?

0 votes
What are the attributes used while ec2 instance creation using AWS CLI? Please help me with the list.
Feb 15, 2019 in AWS by Theodore
57 views

1 answer to this question.

0 votes

This is the list of attributes that can be used during EC2 Instance creation:-

 create-instance
--stack-id <value>
--layer-ids <value>
--instance-type <value>
[--auto-scaling-type <value>]
[--hostname <value>]
[--os <value>]
[--ami-id <value>]
[--ssh-key-name <value>]
[--availability-zone <value>]
[--virtualization-type <value>]
[--subnet-id <value>]
[--architecture <value>]
[--root-device-type <value>]
[--block-device-mappings <value>]
[--install-updates-on-boot | --no-install-updates-on-boot]
[--ebs-optimized | --no-ebs-optimized]
[--agent-version <value>]
[--tenancy <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

For more information on each of the following attribute visit the documentation from AWS:-

https://docs.aws.amazon.com/cli/latest/reference/opsworks/create-instance.html

answered Feb 15, 2019 by Lionel

Related Questions In AWS

0 votes
1 answer

How to Pass the VPC ID while creating the Ec2 instance in AWS using Python Boto3

import boto3 ec2 = boto3.resource('ec2') instance = ec2.create_instances( ...READ MORE

answered Jan 29, 2019 in AWS by Priyaj
• 57,490 points
470 views
+1 vote
1 answer
0 votes
1 answer

What are the books to refer while learning AWS?

You can begin with the courses that ...READ MORE

answered Jul 12, 2018 in AWS by Priyaj
• 57,490 points
61 views
0 votes
1 answer
0 votes
1 answer

What are the advantage of using AWS Lambda?

AWS Lambda has multiple benefits working on it. Ease ...READ MORE

answered Jan 11, 2019 in AWS by ishan kumar
176 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer