File tree Expand file tree Collapse file tree
185-lambda-dead-letter-queue
192-lambda-runtimes-and-quotas
193-ec2-regions-and-zones Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Ec2 Ebs Types
2+
3+ A read-only script that queries Ec2 resources and displays information.
4+
5+ ## Running
6+
7+ ``` bash
8+ bash ec2-ebs-types.sh
9+ ```
10+
11+ ## What it does
12+
13+ 1 . Listing EBS volume types
14+ 2 . Listing your volumes by type
15+ 3 . Describing volume modifications
16+
17+ ## Resources created
18+
19+ None — this script is read-only.
20+
21+ ## Cost
22+
23+ No cost. This script only reads existing resources.
24+
25+ ## Related docs
26+
27+ - [ AWS CLI ec2 reference] ( https://docs.aws.amazon.com/cli/latest/reference/ec2/index.html )
28+
Original file line number Diff line number Diff line change 1+ # Ec2 Ebs Types
2+
3+ ## Prerequisites
4+
5+ 1 . AWS CLI installed and configured (` aws configure ` )
6+ 2 . Appropriate IAM permissions for the AWS services used
7+
8+ ## Step 1: Listing EBS volume types
9+
10+ The script handles this step automatically. See ` ec2-ebs-types.sh ` for the exact CLI commands.
11+
12+ ## Step 2: Listing your volumes by type
13+
14+ The script handles this step automatically. See ` ec2-ebs-types.sh ` for the exact CLI commands.
15+
16+ ## Step 3: Describing volume modifications
17+
18+ The script handles this step automatically. See ` ec2-ebs-types.sh ` for the exact CLI commands.
19+
Original file line number Diff line number Diff line change 1+ # Lambda Dead Letter
2+
3+ An AWS CLI tutorial that demonstrates Iam operations.
4+
5+ ## Running
6+
7+ ``` bash
8+ bash lambda-dead-letter.sh
9+ ```
10+
11+ To auto-run with cleanup:
12+
13+ ``` bash
14+ echo ' y' | bash lambda-dead-letter.sh
15+ ```
16+
17+ ## What it does
18+
19+ 1 . Creating function that always fails
20+ 2 . Invoking async (will fail and go to DLQ)
21+ 3 . Checking DLQ (after retries, ~ 3 min)
22+
23+ ## Resources created
24+
25+ - Function
26+ - Queue
27+ - Role
28+
29+ The script prompts you to clean up resources when it finishes.
30+
31+ ## Cost
32+
33+ Free tier eligible for most operations. Clean up resources after use to avoid charges.
34+
35+ ## Related docs
36+
37+ - [ AWS CLI iam reference] ( https://docs.aws.amazon.com/cli/latest/reference/iam/index.html )
38+ - [ AWS CLI lambda reference] ( https://docs.aws.amazon.com/cli/latest/reference/lambda/index.html )
39+ - [ AWS CLI sqs reference] ( https://docs.aws.amazon.com/cli/latest/reference/sqs/index.html )
40+
Original file line number Diff line number Diff line change 1+ # Lambda Dead Letter
2+
3+ ## Prerequisites
4+
5+ 1 . AWS CLI installed and configured (` aws configure ` )
6+ 2 . Appropriate IAM permissions for the AWS services used
7+
8+ ## Step 1: Creating function that always fails
9+
10+ The script handles this step automatically. See ` lambda-dead-letter.sh ` for the exact CLI commands.
11+
12+ ## Step 2: Invoking async (will fail and go to DLQ)
13+
14+ The script handles this step automatically. See ` lambda-dead-letter.sh ` for the exact CLI commands.
15+
16+ ## Step 3: Checking DLQ (after retries, ~ 3 min)
17+
18+ The script handles this step automatically. See ` lambda-dead-letter.sh ` for the exact CLI commands.
19+
20+ ## Cleanup
21+
22+ The script prompts you to clean up all created resources. If you need to clean up manually, check the script log for the resource names that were created.
23+
Original file line number Diff line number Diff line change 1+ # Ec2 Instance Types
2+
3+ A read-only script that queries Ec2 resources and displays information.
4+
5+ ## Running
6+
7+ ``` bash
8+ bash ec2-instance-types.sh
9+ ```
10+
11+ ## What it does
12+
13+ 1 . Listing instance type families
14+ 2 . Describing a specific type
15+ 3 . Finding instances by criteria
16+
17+ ## Resources created
18+
19+ None — this script is read-only.
20+
21+ ## Cost
22+
23+ No cost. This script only reads existing resources.
24+
25+ ## Related docs
26+
27+ - [ AWS CLI ec2 reference] ( https://docs.aws.amazon.com/cli/latest/reference/ec2/index.html )
28+
Original file line number Diff line number Diff line change 1+ # Ec2 Instance Types
2+
3+ ## Prerequisites
4+
5+ 1 . AWS CLI installed and configured (` aws configure ` )
6+ 2 . Appropriate IAM permissions for the AWS services used
7+
8+ ## Step 1: Listing instance type families
9+
10+ The script handles this step automatically. See ` ec2-instance-types.sh ` for the exact CLI commands.
11+
12+ ## Step 2: Describing a specific type
13+
14+ The script handles this step automatically. See ` ec2-instance-types.sh ` for the exact CLI commands.
15+
16+ ## Step 3: Finding instances by criteria
17+
18+ The script handles this step automatically. See ` ec2-instance-types.sh ` for the exact CLI commands.
19+
Original file line number Diff line number Diff line change 1+ # Lambda Container
2+
3+ A read-only script that queries Lambda resources and displays information.
4+
5+ ## Running
6+
7+ ``` bash
8+ bash lambda-container.sh
9+ ```
10+
11+ ## What it does
12+
13+ 1 . Listing Lambda runtimes
14+ 2 . Getting Lambda service quotas
15+ 3 . Listing functions by runtime
16+ 4 . Listing event source mappings
17+
18+ ## Resources created
19+
20+ None — this script is read-only.
21+
22+ ## Cost
23+
24+ No cost. This script only reads existing resources.
25+
26+ ## Related docs
27+
28+ - [ AWS CLI lambda reference] ( https://docs.aws.amazon.com/cli/latest/reference/lambda/index.html )
29+
Original file line number Diff line number Diff line change 1+ # Lambda Container
2+
3+ ## Prerequisites
4+
5+ 1 . AWS CLI installed and configured (` aws configure ` )
6+ 2 . Appropriate IAM permissions for the AWS services used
7+
8+ ## Step 1: Listing Lambda runtimes
9+
10+ The script handles this step automatically. See ` lambda-container.sh ` for the exact CLI commands.
11+
12+ ## Step 2: Getting Lambda service quotas
13+
14+ The script handles this step automatically. See ` lambda-container.sh ` for the exact CLI commands.
15+
16+ ## Step 3: Listing functions by runtime
17+
18+ The script handles this step automatically. See ` lambda-container.sh ` for the exact CLI commands.
19+
20+ ## Step 4: Listing event source mappings
21+
22+ The script handles this step automatically. See ` lambda-container.sh ` for the exact CLI commands.
23+
Original file line number Diff line number Diff line change 1+ # Ec2 Metadata
2+
3+ A read-only script that queries Ec2 resources and displays information.
4+
5+ ## Running
6+
7+ ``` bash
8+ bash ec2-metadata.sh
9+ ```
10+
11+ ## What it does
12+
13+ 1 . Describing your running instances
14+ 2 . Describing instance status
15+ 3 . Listing regions
16+ 4 . Listing availability zones
17+
18+ ## Resources created
19+
20+ None — this script is read-only.
21+
22+ ## Cost
23+
24+ No cost. This script only reads existing resources.
25+
26+ ## Related docs
27+
28+ - [ AWS CLI ec2 reference] ( https://docs.aws.amazon.com/cli/latest/reference/ec2/index.html )
29+
Original file line number Diff line number Diff line change 1+ # Ec2 Metadata
2+
3+ ## Prerequisites
4+
5+ 1 . AWS CLI installed and configured (` aws configure ` )
6+ 2 . Appropriate IAM permissions for the AWS services used
7+
8+ ## Step 1: Describing your running instances
9+
10+ The script handles this step automatically. See ` ec2-metadata.sh ` for the exact CLI commands.
11+
12+ ## Step 2: Describing instance status
13+
14+ The script handles this step automatically. See ` ec2-metadata.sh ` for the exact CLI commands.
15+
16+ ## Step 3: Listing regions
17+
18+ The script handles this step automatically. See ` ec2-metadata.sh ` for the exact CLI commands.
19+
20+ ## Step 4: Listing availability zones
21+
22+ The script handles this step automatically. See ` ec2-metadata.sh ` for the exact CLI commands.
23+
You can’t perform that action at this time.
0 commit comments