Skip to content

Commit 20cd7a6

Browse files
committed
Add README.md and tutorial walkthrough for script-only tutorials
1 parent 88e07e8 commit 20cd7a6

6 files changed

Lines changed: 203 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Aws Codeartifact Gs
2+
3+
An AWS CLI tutorial that demonstrates Codeartifact operations.
4+
5+
## Running
6+
7+
```bash
8+
bash aws-codeartifact-gs.sh
9+
```
10+
11+
To auto-run with cleanup:
12+
13+
```bash
14+
echo 'y' | bash aws-codeartifact-gs.sh
15+
```
16+
17+
## What it does
18+
19+
1. Creating domain: $DOMAIN
20+
2. Creating repository: $REPO
21+
3. Getting authorization token
22+
4. Getting repository endpoint
23+
5. Listing repositories
24+
25+
## Resources created
26+
27+
- Domain
28+
- Repository
29+
30+
The script prompts you to clean up resources when it finishes.
31+
32+
## Cost
33+
34+
Free tier eligible for most operations. Clean up resources after use to avoid charges.
35+
36+
## Related docs
37+
38+
- [AWS CLI codeartifact reference](https://docs.aws.amazon.com/cli/latest/reference/codeartifact/index.html)
39+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Aws Codeartifact Gs
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 domain: $DOMAIN
9+
10+
The script handles this step automatically. See `aws-codeartifact-gs.sh` for the exact CLI commands.
11+
12+
## Step 2: Creating repository: $REPO
13+
14+
The script handles this step automatically. See `aws-codeartifact-gs.sh` for the exact CLI commands.
15+
16+
## Step 3: Getting authorization token
17+
18+
The script handles this step automatically. See `aws-codeartifact-gs.sh` for the exact CLI commands.
19+
20+
## Step 4: Getting repository endpoint
21+
22+
The script handles this step automatically. See `aws-codeartifact-gs.sh` for the exact CLI commands.
23+
24+
## Step 5: Listing repositories
25+
26+
The script handles this step automatically. See `aws-codeartifact-gs.sh` for the exact CLI commands.
27+
28+
## Cleanup
29+
30+
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.
31+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Aws Codedeploy Gs
2+
3+
An AWS CLI tutorial that demonstrates Deploy operations.
4+
5+
## Running
6+
7+
```bash
8+
bash aws-codedeploy-gs.sh
9+
```
10+
11+
To auto-run with cleanup:
12+
13+
```bash
14+
echo 'y' | bash aws-codedeploy-gs.sh
15+
```
16+
17+
## What it does
18+
19+
1. Creating application: $APP_NAME
20+
2. Listing applications
21+
3. Getting application details
22+
23+
## Resources created
24+
25+
- Application
26+
27+
The script prompts you to clean up resources when it finishes.
28+
29+
## Cost
30+
31+
Free tier eligible for most operations. Clean up resources after use to avoid charges.
32+
33+
## Related docs
34+
35+
- [AWS CLI deploy reference](https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html)
36+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Aws Codedeploy Gs
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 application: $APP_NAME
9+
10+
The script handles this step automatically. See `aws-codedeploy-gs.sh` for the exact CLI commands.
11+
12+
## Step 2: Listing applications
13+
14+
The script handles this step automatically. See `aws-codedeploy-gs.sh` for the exact CLI commands.
15+
16+
## Step 3: Getting application details
17+
18+
The script handles this step automatically. See `aws-codedeploy-gs.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+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Aws Codepipeline Gs
2+
3+
An AWS CLI tutorial that demonstrates Codepipeline operations.
4+
5+
## Running
6+
7+
```bash
8+
bash aws-codepipeline-gs.sh
9+
```
10+
11+
To auto-run with cleanup:
12+
13+
```bash
14+
echo 'y' | bash aws-codepipeline-gs.sh
15+
```
16+
17+
## What it does
18+
19+
1. Creating S3 bucket for artifacts
20+
2. Creating IAM role
21+
3. Creating pipeline: $PIPE_NAME
22+
4. Getting pipeline state
23+
5. Listing pipelines
24+
25+
## Resources created
26+
27+
- Bucket
28+
- Pipeline
29+
- Role
30+
- Role Policy
31+
32+
The script prompts you to clean up resources when it finishes.
33+
34+
## Cost
35+
36+
Free tier eligible for most operations. Clean up resources after use to avoid charges.
37+
38+
## Related docs
39+
40+
- [AWS CLI codepipeline reference](https://docs.aws.amazon.com/cli/latest/reference/codepipeline/index.html)
41+
- [AWS CLI iam reference](https://docs.aws.amazon.com/cli/latest/reference/iam/index.html)
42+
- [AWS CLI s3 reference](https://docs.aws.amazon.com/cli/latest/reference/s3/index.html)
43+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Aws Codepipeline Gs
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 S3 bucket for artifacts
9+
10+
The script handles this step automatically. See `aws-codepipeline-gs.sh` for the exact CLI commands.
11+
12+
## Step 2: Creating IAM role
13+
14+
The script handles this step automatically. See `aws-codepipeline-gs.sh` for the exact CLI commands.
15+
16+
## Step 3: Creating pipeline: $PIPE_NAME
17+
18+
The script handles this step automatically. See `aws-codepipeline-gs.sh` for the exact CLI commands.
19+
20+
## Step 4: Getting pipeline state
21+
22+
The script handles this step automatically. See `aws-codepipeline-gs.sh` for the exact CLI commands.
23+
24+
## Step 5: Listing pipelines
25+
26+
The script handles this step automatically. See `aws-codepipeline-gs.sh` for the exact CLI commands.
27+
28+
## Cleanup
29+
30+
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.
31+

0 commit comments

Comments
 (0)