-
Notifications
You must be signed in to change notification settings - Fork 588
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
Showing
6 changed files
with
232 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+224 KB
0800-VIRTUAL_PRIVATE_CLOUD(VPC)/01_vpc_sizing_and_structure/A4L_IPPlan.numbers
Binary file not shown.
Binary file added
BIN
+429 KB
0800-VIRTUAL_PRIVATE_CLOUD(VPC)/01_vpc_sizing_and_structure/A4L_IPPlan.pdf
Binary file not shown.
Binary file added
BIN
+13.4 KB
0800-VIRTUAL_PRIVATE_CLOUD(VPC)/01_vpc_sizing_and_structure/A4L_IPPlan.xlsx
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
0800-VIRTUAL_PRIVATE_CLOUD(VPC)/03_vpc_subnets/subnets.txt
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
NAME CIDR AZ CustomIPv6Value | ||
|
||
sn-reserved-A 10.16.0.0/20 AZA IPv6 00 | ||
sn-db-A 10.16.16.0/20 AZA IPv6 01 | ||
sn-app-A 10.16.32.0/20 AZA IPv6 02 | ||
sn-web-A 10.16.48.0/20 AZA IPv6 03 | ||
|
||
sn-reserved-B 10.16.64.0/20 AZB IPv6 04 | ||
sn-db-B 10.16.80.0/20 AZB IPv6 05 | ||
sn-app-B 10.16.96.0/20 AZB IPv6 06 | ||
sn-web-B 10.16.112.0/20 AZB IPv6 07 | ||
|
||
sn-reserved-C 10.16.128.0/20 AZC IPv6 08 | ||
sn-db-C 10.16.144.0/20 AZC IPv6 09 | ||
sn-app-C 10.16.160.0/20 AZC IPv6 0A | ||
sn-web-C 10.16.176.0/20 AZC IPv6 0B | ||
|
||
Remember to enable auto assign ipv6 on every subnet you create. |
214 changes: 214 additions & 0 deletions
214
...TE_CLOUD(VPC)/04_configuring_vpc_routing_and_a4l_public_subnets/a4l-vpc-with-subnets.yaml
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 |
---|---|---|
@@ -0,0 +1,214 @@ | ||
|
||
AWSTemplateFormatVersion: 2010-09-09 | ||
Description: Cloudformation template to create the Animals4Life VPC and 12 subnets. Designed to skip ahead to this point in the course. | ||
When applying this template you will be ready to complete the DEMO lesson Configuring A4l public subnets and Jumpbox | ||
Metadata: | ||
LICENSE: Apache License Version 2.0 | ||
Resources: | ||
VPC: | ||
Type: AWS::EC2::VPC | ||
Properties: | ||
CidrBlock: 10.16.0.0/16 | ||
EnableDnsSupport: true | ||
EnableDnsHostnames: true | ||
Tags: | ||
- Key: Name | ||
Value: a4l-vpc1 | ||
IPv6CidrBlock: | ||
Type: AWS::EC2::VPCCidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AmazonProvidedIpv6CidrBlock: true | ||
SubnetReservedA: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 0, !GetAZs '' ] | ||
CidrBlock: 10.16.0.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '00::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-reserved-A | ||
SubnetReservedB: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 1, !GetAZs '' ] | ||
CidrBlock: 10.16.64.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '04::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-reserved-B | ||
SubnetReservedC: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 2, !GetAZs '' ] | ||
CidrBlock: 10.16.128.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '08::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-reserved-C | ||
SubnetDBA: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 0, !GetAZs '' ] | ||
CidrBlock: 10.16.16.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '01::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-db-A | ||
SubnetDBB: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 1, !GetAZs '' ] | ||
CidrBlock: 10.16.80.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '05::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-db-B | ||
SubnetDBC: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 2, !GetAZs '' ] | ||
CidrBlock: 10.16.144.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '09::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-db-C | ||
SubnetAPPA: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 0, !GetAZs '' ] | ||
CidrBlock: 10.16.32.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '02::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-app-A | ||
SubnetAPPB: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 1, !GetAZs '' ] | ||
CidrBlock: 10.16.96.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '06::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-app-B | ||
SubnetAPPC: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 2, !GetAZs '' ] | ||
CidrBlock: 10.16.160.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '0A::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-app-C | ||
SubnetWEBA: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 0, !GetAZs '' ] | ||
CidrBlock: 10.16.48.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '03::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-web-A | ||
SubnetWEBB: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 1, !GetAZs '' ] | ||
CidrBlock: 10.16.112.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '07::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-web-B | ||
SubnetWEBC: | ||
Type: AWS::EC2::Subnet | ||
DependsOn: IPv6CidrBlock | ||
Properties: | ||
VpcId: !Ref VPC | ||
AvailabilityZone: !Select [ 2, !GetAZs '' ] | ||
CidrBlock: 10.16.176.0/20 | ||
AssignIpv6AddressOnCreation: true | ||
Ipv6CidrBlock: | ||
Fn::Sub: | ||
- "${VpcPart}${SubnetPart}" | ||
- SubnetPart: '0B::/64' | ||
VpcPart: !Select [ 0, !Split [ '00::/56', !Select [ 0, !GetAtt VPC.Ipv6CidrBlocks ]]] | ||
Tags: | ||
- Key: Name | ||
Value: sn-web-C | ||
|