Aws_profile yog dab tsi?
Aws_profile yog dab tsi?

Video: Aws_profile yog dab tsi?

Video: Aws_profile yog dab tsi?
Video: AWS Profile Setup with Multiple AWS Accounts with BoltOps Pro 2024, Kaum ib hlis
Anonim

AWS_PROFILE . Qhia meej lub npe ntawm CLI profile nrog cov ntawv pov thawj thiab cov kev xaiv siv. Qhov no tuaj yeem yog lub npe ntawm qhov profile khaws cia hauv daim ntawv pov thawj lossis cov ntaub ntawv config, lossis tus nqi siv los siv lub neej ntawd profile.

Hauv qhov no, AWS profile name yog dab tsi?

A npe profile yog ib phau ntawm kev teeb tsa thiab cov ntaub ntawv pov thawj uas koj tuaj yeem thov rau a AWS CLI hais kom ua. Thaum koj teev a profile khiav ib tug hais kom ua, cov chaw thiab cov ntaub ntawv pov thawj yog siv los khiav qhov hais kom ua.

Tsis tas li ntawd, cov ntaub ntawv pov thawj AWS khaws cia nyob qhov twg? Cov AWS CLI khw tus cov ntaub ntawv pov thawj uas koj hais nrog aws configure hauv ib lub zos cov ntaub ntawv npe cov ntaub ntawv pov thawj , nyob rau hauv ib daim ntawv teev npe. aws hauv koj lub tsev directory. Lwm cov kev xaiv configuration uas koj teev nrog aws configure yog khaws cia rau hauv cov ntaub ntawv hauv zos npe hu ua config, tseem khaws cia hauv. aws folder hauv koj home directory.

Ntawm no, kuv lub npe AWS profile nyob qhov twg?

Cov cov ntaub ntawv nyob ntawm ~/. aws /config ntawm Linux lossis macOS, lossis ntawm C: Cov neeg siv USERNAME. aws config ntawm Windows. Cov ntaub ntawv no muaj tus configuration chaw rau tus ua ntej profile thiab ib qho npe profiles.

Yuav ua li cas ua AWS profile?

Koj ua tau teeb tsa ib npe profile siv cov-- profile kev sib cav. Yog tias koj cov ntaub ntawv config tsis muaj (qhov chaw nyob yog ~ /. aws /config), cov AWS CLI yuav tsim nws rau koj. Txhawm rau khaws tus nqi uas twb muaj lawm, ntaus nkag thaum raug ceeb toom rau tus nqi.

Pom zoo: