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 16, 2019 in AWS by Theodore
967 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 16, 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
• 58,020 points
3,599 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
• 58,020 points
782 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
1,409 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP