Skip to content

Commit e4c053a

Browse files
authored
Merge pull request #14 from mccgeoff/main
Adding tributary configs (v2)
2 parents cb6619b + 3e1486c commit e4c053a

5 files changed

Lines changed: 107 additions & 0 deletions

File tree

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
vpc_GettingStartedCLI:
2+
title: Get started using Amazon VPC using the CLI
3+
title_abbrev: Get started with Amazon VPC
4+
synopsis_list:
5+
- Set up your account
6+
- Create and configure a VPC
7+
- Configure your network
8+
- Configure security
9+
- Deploy resources
10+
- Test and verify
11+
- Clean up resources
12+
- Consider production implications
13+
- Consider security implications
14+
category: Scenarios
15+
languages:
16+
Bash:
17+
versions:
18+
- sdk_version: 3
19+
github_name: "Sample developer tutorials"
20+
github: https://github.com/aws-samples/sample-developer-tutorials/tree/main/tuts/002-vpc-gs
21+
excerpts:
22+
- description:
23+
snippet_files:
24+
- tuts/002-vpc-gs/vpc-gs.sh
25+
services:
26+
ec2: {
27+
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}
28+
29+
vpc_GettingStartedIpam:
30+
title: Get started using Amazon VPC IPAM using the CLI
31+
title_abbrev: Get started with VPC IPAM
32+
synopsis_list:
33+
- Set up and configure Amazon VPC IP Address Manager (IPAM) using the CLI.
34+
- Create an IPAM with operating regions (e.g., us-east-1, us-west-2).
35+
- Retrieve the private scope ID for the IPAM.
36+
- Create a hierarchical structure of IPv4 pools (top-level, regional, and development pools).
37+
- Provision CIDR blocks to each pool (e.g., 10.0.0.0/8, 10.0.0.0/16, 10.0.0.0/24).
38+
- Create a VPC using a CIDR allocated from an IPAM pool.
39+
- Verify IPAM pool allocations and VPC creation.
40+
- Troubleshoot common issues like permission errors, CIDR allocation failures, and dependency violations.
41+
- Clean up IPAM resources (VPC, pools, CIDRs, and IPAM) to avoid unnecessary charges.
42+
- Explore next steps for advanced IPAM features.
43+
category: Scenarios
44+
languages:
45+
Bash:
46+
versions:
47+
- sdk_version: 3
48+
github_name: "Sample developer tutorials"
49+
github: https://github.com/aws-samples/sample-developer-tutorials/tree/main/tuts/009-vpc-ipam-gs
50+
excerpts:
51+
- description:
52+
snippet_files:
53+
- tuts/009-vpc-ipam-gs/vpc-ipam-gs.sh
54+
services:
55+
ec2: {
56+
CreateIpam, CreateIpamPool, CreateVpc, DeleteIpam, DeleteIpamPool, DeleteVpc, DeprovisionIpamPoolCidr, DescribeIpamPools, DescribeIpams, DescribeVpcs, GetIpamPoolAllocations, GetIpamPoolCidrs, ProvisionIpamPoolCidr}
57+
58+
vpc_GettingStartedPrivate:
59+
title: Create a VPC with private subnets and NAT gateways using the CLI
60+
title_abbrev: Create a VPC with private subnets and NAT gateways
61+
synopsis_list:
62+
- Create a VPC with private subnets and NAT gateways using the CLI.
63+
- Set up the necessary components including VPC, subnets, route tables, and NAT gateways.
64+
- Configure security groups and IAM roles for proper access and security.
65+
- Use CLI commands to automate the creation and configuration of these resources.
66+
category: Scenarios
67+
languages:
68+
Bash:
69+
versions:
70+
- sdk_version: 3
71+
github_name: "Sample developer tutorials"
72+
github: https://github.com/aws-samples/sample-developer-tutorials/tree/main/tuts/008-vpc-private-servers-gs
73+
excerpts:
74+
- description:
75+
snippet_files:
76+
- tuts/008-vpc-private-servers-gs/vpc-private-servers-gs.sh
77+
services:
78+
ec2: {
79+
AllocateAddress, AssociateRouteTable, AttachInternetGateway, AuthorizeSecurityGroupIngress, CreateInternetGateway, CreateLaunchTemplate, CreateNatGateway, CreateRoute, CreateRouteTable, CreateSecurityGroup, CreateSubnet, CreateVpc, CreateVpcEndpoint, DeleteAutoScalingGroup, DeleteInternetGateway, DeleteLaunchTemplate, DeleteLoadBalancer, DeleteNatGateway, DeleteRouteTable, DeleteSecurityGroup, DeleteSubnet, DeleteTargetGroup, DeleteVpc, DeleteVpcEndpoints, DescribeAvailabilityZones, DescribeImages, DescribePrefixLists, DetachInternetGateway, ReleaseAddress}
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: [main]
7+
pull_request:
8+
branches: [main]
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/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/008-vpc-private-servers-gs/vpc-private-servers-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 with Private Subnets and NAT Gateways (IMDSv2 Compliant Version)

tuts/009-vpc-ipam-gs/vpc-ipam-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
# IPAM Getting Started CLI Script - Version 7

0 commit comments

Comments
 (0)