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

demandé il y a 4 ans235 vues
1 réponse
0
Réponse acceptée

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
répondu il y a 4 ans
profile picture
EXPERT
vérifié il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions