Skip to content

Commit 46c1e5e

Browse files
committed
Merging feat branch to main on fork for testing
2 parents abd8c09 + 2098cdd commit 46c1e5e

154 files changed

Lines changed: 37211 additions & 16 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
vpc_GettingStartedCLI:
2+
title: Get started using Amazon VPC using the AWS CLI
3+
title_abbrev: Get started with Amazon VPC
4+
synopsis_list:
5+
- Prerequisites & setup
6+
- VPC creation & basic configuration
7+
- Network configuration
8+
- Security configuration
9+
- Resource deployment
10+
- Verification & testing
11+
- Cleanup & resource management
12+
- Production considerations
13+
- Security considerations
14+
category: Scenarios
15+
languages:
16+
Bash:
17+
versions:
18+
- sdk_version: 3
19+
github: sample-developer-tutorials/tuts/002-vpc-gs
20+
excerpts:
21+
- description:
22+
snippet_files:
23+
- tuts/002-vpc-gs/vpc-gs.sh
24+
services:
25+
ec2: {
26+
AllocateAddress, AssociateRouteTable, AttachInternetGateway, AuthorizeSecurityGroupIngress, CreateInternetGateway, CreateKeyPair, CreateNatGateway, CreateRoute, CreateRouteTable, CreateSecurityGroup, CreateSubnet, CreateVpc, DeleteInternetGateway, DeleteKeyPair, DeleteNatGateway, DeleteRouteTable, DeleteSecurityGroup, DeleteSubnet, DeleteVpc, DescribeAvailabilityZones, DescribeImages, DescribeInstances, DescribeInternetGateways, DescribeNatGateways, DescribeRouteTables, DescribeSecurityGroups, DescribeSubnets, DescribeVpcs, DetachInternetGateway, DisassociateRouteTable, ModifySubnetAttribute, ModifyVpcAttribute, ReleaseAddress, RunInstances, TerminateInstances}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Validate Documentation Metadata
2+
3+
on: # yamllint disable-line rule:truthy
4+
workflow_dispatch:
5+
push:
6+
branches: [trib-setup]
7+
pull_request:
8+
branches: [trib-setup]
9+
10+
jobs:
11+
validate-doc-metadata:
12+
name: Validate Doc Metadata
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: checkout repo content
17+
uses: actions/checkout@v4
18+
- name: validate metadata
19+
uses: awsdocs/aws-doc-sdk-examples-tools@main

tuts/001-lightsail-gs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@
33
This tutorial demonstrates how to get started with Amazon Lightsail using the AWS CLI. You'll learn the fundamental concepts and operations for working with this AWS service through command-line interface.
44

55
You can either run the automated script `lightsail-gs.sh` to execute all operations automatically with comprehensive error handling and resource cleanup, or follow the step-by-step instructions in the `lightsail-gs.md` tutorial to understand each AWS CLI command and concept in detail. The script includes interactive prompts and built-in safeguards, while the tutorial provides detailed explanations of features and best practices.
6+
7+
## Resources Created
8+
9+
The script creates the following AWS resources in order:
10+
11+
• Lightsail instance (nano_3_0 bundle with Amazon Linux 2023)
12+
• Lightsail disk (8 GB block storage disk)
13+
• Lightsail instance snapshot (backup of the instance)
14+
15+
The script prompts you to clean up resources when you run it, including if there's an error part way through. If you need to clean up resources later, you can use the script log as a reference point for which resources were created.

tuts/002-vpc-gs/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,26 @@
33
This tutorial demonstrates how to get started with Amazon VPC using the AWS CLI. You'll learn the fundamental concepts and operations for working with this AWS service through command-line interface.
44

55
You can either run the automated script `vpc-gs.sh` to execute all operations automatically with comprehensive error handling and resource cleanup, or follow the step-by-step instructions in the `vpc-gs.md` tutorial to understand each AWS CLI command and concept in detail. The script includes interactive prompts and built-in safeguards, while the tutorial provides detailed explanations of features and best practices.
6+
7+
## Resources Created
8+
9+
The script creates the following AWS resources in order:
10+
11+
• EC2 VPC (10.0.0.0/16 CIDR block with DNS support and hostnames enabled)
12+
• EC2 subnet (public subnet in AZ1 - 10.0.0.0/24)
13+
• EC2 subnet (public subnet in AZ2 - 10.0.1.0/24)
14+
• EC2 subnet (private subnet in AZ1 - 10.0.2.0/24)
15+
• EC2 subnet (private subnet in AZ2 - 10.0.3.0/24)
16+
• EC2 internet gateway (for public internet access)
17+
• EC2 route table (public route table with internet gateway route)
18+
• EC2 route table association (public subnet AZ1 to public route table)
19+
• EC2 route table association (public subnet AZ2 to public route table)
20+
• EC2 route table (private route table)
21+
• EC2 route table association (private subnet AZ1 to private route table)
22+
• EC2 route table association (private subnet AZ2 to private route table)
23+
• EC2 elastic IP (for NAT gateway)
24+
• EC2 NAT gateway (in public subnet AZ1 for private subnet internet access)
25+
• EC2 security group (web server security group allowing HTTP/HTTPS)
26+
• EC2 security group (database security group allowing MySQL from web servers)
27+
28+
The script prompts you to clean up resources when you run it, including if there's an error part way through. If you need to clean up resources later, you can use the script log as a reference point for which resources were created.

tuts/002-vpc-gs/vpc-gs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
#!/bin/bash
25

36
# VPC Creation Script

tuts/003-s3-gettingstarted/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,19 @@
33
This tutorial demonstrates how to get started with Amazon S3 using the AWS CLI. You'll learn the fundamental concepts and operations for working with this AWS service through command-line interface.
44

55
You can either run the automated script `s3-gettingstarted.sh` to execute all operations automatically with comprehensive error handling and resource cleanup, or follow the step-by-step instructions in the `s3-gettingstarted.md` tutorial to understand each AWS CLI command and concept in detail. The script includes interactive prompts and built-in safeguards, while the tutorial provides detailed explanations of features and best practices.
6+
7+
## Resources Created
8+
9+
The script creates the following AWS resources in order:
10+
11+
• S3 bucket (primary bucket for tutorial)
12+
• S3 bucket (secondary bucket for cross-region replication)
13+
• S3 public access block configuration
14+
• S3 bucket versioning configuration
15+
• S3 bucket encryption configuration
16+
• S3 object (sample text file)
17+
• S3 object (sample image file)
18+
• S3 object (sample document file)
19+
• S3 bucket tagging configuration
20+
21+
The script prompts you to clean up resources when you run it, including if there's an error part way through. If you need to clean up resources later, you can use the script log as a reference point for which resources were created.

tuts/004-cloudmap-custom-attributes/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,27 @@
33
This tutorial demonstrates how to configure AWS Cloud Map with custom attributes using the AWS CLI. You'll learn to create service discovery namespaces, register services with custom metadata, and query services based on custom attributes for advanced service discovery scenarios.
44

55
You can either run the automated script `cloudmap-custom-attributes.sh` to execute all operations automatically with comprehensive error handling and resource cleanup, or follow the step-by-step instructions in the `cloudmap-custom-attributes.md` tutorial to understand each AWS CLI command and concept in detail. The script includes interactive prompts and built-in safeguards, while the tutorial provides detailed explanations of features and best practices.
6+
7+
## Resources Created
8+
9+
The script creates the following AWS resources in order:
10+
11+
• Service Discovery http namespace
12+
• Service Discovery http namespace (b)
13+
• DynamoDB table
14+
• Service Discovery service
15+
• Service Discovery instance
16+
• Service Discovery instance (b)
17+
• IAM role
18+
• IAM policy
19+
• IAM role policy
20+
• IAM role policy (b)
21+
• Service Discovery service (b)
22+
• Lambda function
23+
• Service Discovery instance (c)
24+
• Service Discovery instance (d)
25+
• Lambda function (b)
26+
• Service Discovery instance (e)
27+
• Service Discovery instance (f)
28+
29+
The script prompts you to clean up resources when you run it, including if there's an error part way through. If you need to clean up resources later, you can use the script log as a reference point for which resources were created.

tuts/005-cloudfront-gettingstarted/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@
33
This tutorial demonstrates how to set up and configure Amazon CloudFront distributions using the AWS CLI. You'll learn to create distributions, configure origins, set up caching behaviors, and implement content delivery optimization for global web applications.
44

55
You can either run the automated script `cloudfront-gettingstarted.sh` to execute all operations automatically with comprehensive error handling and resource cleanup, or follow the step-by-step instructions in the `cloudfront-gettingstarted.md` tutorial to understand each AWS CLI command and concept in detail. The script includes interactive prompts and built-in safeguards, while the tutorial provides detailed explanations of features and best practices.
6+
7+
## Resources Created
8+
9+
The script creates the following AWS resources in order:
10+
11+
• CloudFront origin access control
12+
• CloudFront distribution
13+
• S3 bucket policy
14+
15+
The script prompts you to clean up resources when you run it, including if there's an error part way through. If you need to clean up resources later, you can use the script log as a reference point for which resources were created.

tuts/007-chimesdk-routingcalls/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,17 @@
33
This tutorial demonstrates how to set up call routing with Amazon Chime SDK using the AWS CLI. You'll learn to configure voice connectors, set up routing rules, manage phone numbers, and implement telephony solutions for communication applications.
44

55
You can either run the automated script `chimesdk-routingcalls.sh` to execute all operations automatically with comprehensive error handling and resource cleanup, or follow the step-by-step instructions in the `chimesdk-routingcalls.md` tutorial to understand each AWS CLI command and concept in detail. The script includes interactive prompts and built-in safeguards, while the tutorial provides detailed explanations of features and best practices.
6+
7+
## Resources Created
8+
9+
The script creates the following AWS resources in order:
10+
11+
• IAM role
12+
• IAM role policy
13+
• Lambda function
14+
• Lambda function (b)
15+
• Chime SDK Voice sip media application
16+
• Chime SDK Voice sip media application (b)
17+
• Chime SDK Voice sip rule
18+
19+
The script prompts you to clean up resources when you run it, including if there's an error part way through. If you need to clean up resources later, you can use the script log as a reference point for which resources were created.

tuts/007-chimesdk-routingcalls/chimesdk-routingcalls.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ This tutorial creates resources that are mostly free of charge:
2222

2323
The main costs would come from:
2424
- Phone numbers: $1.00 per phone number per month
25-
- Call processing: Inbound calls ($0.00422 per minute), outbound calls (varies by destination)
25+
- Call processing: Usage-based pricing that varies by call type and destination
26+
27+
For detailed pricing information including PSTN rates and PSTN Audio Application usage rates, see the [Amazon Chime SDK Pricing page](https://aws.amazon.com/chime/chime-sdk/pricing/).
2628

2729
The tutorial includes cleanup instructions to ensure you don't incur ongoing charges after completion.
2830

0 commit comments

Comments
 (0)