Configure AWS Profile
When we want to deploy through locally or deploying through CDK. We need AWS CLI setup.
It is a very simple process to download the CLI and instantly connect to AWS.
Firstly we need to install AWS CLI through AWS.
Or follow the below steps
- Download and run the AWS CLI MSI installer for Windows (64-bit): 
- Alternatively, you can run the - msiexeccommand to run the MSI installer.- C:\>- msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi- For various parameters that can be used with - msiexec, see msiexec on the Microsoft Docs website.
- To confirm the installation, open the Start menu, search for cmdto open a command prompt window, and at the command prompt use theaws --versioncommandC:\>aws --versionaws-cli/2.7.24 Python/3.8.8 Windows/10 exe/AMD64 prompt/off
For any errors check troubleshoot
We can now go ahead and execute the command in windows terminal
aws configure --profile preprod
Navigate to IAM -> Users
Select your user and navigate to Security Credentials
Look for Access Key Id and Security access key.
Access key ID: ABCDEF4GSTCD80DGHF9JI
Secret Access Key: A6CDrgj389fbrigrse35jksgkjs58kjsier47HI2
Default region name: us-east-1
Default output format: text
 
No comments:
Post a Comment
If you have any doubts, Please let me know