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

已提问 4 年前235 查看次数
1 回答
0
已接受的回答

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
已回答 4 年前
profile picture
专家
已审核 10 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则