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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南