-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
439463b
commit e226f8d
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Chapter 1 - Security | ||
## Set and export your default region: | ||
|
||
`export AWS_REGION=us-east-1` | ||
```export AWS_REGION=us-east-1``` | ||
|
||
## Set your AWS ACCOUNT ID:: | ||
|
||
`AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)` | ||
```AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)``` | ||
|
||
## Validate AWS Cli Setup and access: | ||
|
||
`aws ec2 describe-instances` | ||
```aws ec2 describe-instances``` |