Question about creating a VPC using the CLI

0

I was reading documentation about creating a VPC using the CLI and it made me realize that I must not understand the environment correctly. It seems to me that in order to use the CLI I first have to create an EC2 instance (which as I understand, gets created in a VPC), log into the EC2 to access the CLI, then use the CLI to create a new VPC. Is this a correct assumption? Would the new VPC be a child or sub component of the VPC that the EC2 belongs to?

thanks

asked 4 years ago225 views
1 Answer
0
Accepted Answer

Hello. You can install and run the AWS CLI from your own computer. The CLI does not require you to run it from the AWS network. It requires that you run the aws configure command to specify your AWS access keys.

Julie

AWS
answered 4 years ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions