Tuesday, July 30, 2019

VPC: Web server and database server implementation

Incorporated two Web servers in a Public network and two Database servers in a Private network to illustrate a Virtual Public Cloud implementation.




                                                           Virtual Private Cloud
Your VPCs
Name:                                   VPC-1
VPC ID:                                vpc-241e8243
State:                                     Available
IPv4 CIDR:                           10.50.0.0/16
IPv6 CIDR:   
DHCP Options Set:               dopt-18638e7f
Route table:                           rtb-f603cf91
Network ACL:                      acl-f8aae59f
Tenancy:                               Default
Default VPC:                        No

Subnets
Name:                                   VPC-1-Public
Subnet ID:                             subnet-b9cf7ede
VPC:                                     vpc-241e8243 | VPC-1
IPv4 CIDR:                          10.50.1.0/24

Name:                                   VPC-1-Private
Subnet ID:                            subnet-bccf7edb
VPC:                                     vpc-241e8243 | VPC-1
IPv4 CIDR:                           10.50.2.0/24

Route Tables
Name:
Route Table ID:                     rtb-f60c3f91
Explicitly Associated with:   0 Subnets
VPC:                                      vpc-241e8243 | VPC-1

Name:
Route Table ID:                     rtb-f20c3f95
Explicitly Associated with:   1 Subnet
VPC:                                      vpc-241e8243 | VPC-1

Name:                                    Route-Private-NAT
Route Table ID:                     rtb-1afdce7d
Explicitly Associated with:   1 Subnet
VPC:                                      vpc-241e8243 | VPC-1

Internet Gateways
Name:                                    Internet-Gateway-1
ID:                                         igw-34052450
State:                                     Attached
VPC:                                     vpc-241e8243 | VPC-1

Elastic IPs
Elastic IP:                             52.27.162.65
Allocation ID:                      eipalloc-338b8954
Instance:                               -
Private IP address:               10.50.2.26
Scope:                                  vpc
Public DNS:                         eipassoc-46bc293c
Network Interface ID:          eni-36d1fd46

NAT Gateways
NAT Gateway:                     nat-0e38dd76ef07367f2
Status:                                  Available
Elastic IP Address:              52.27.162.65
Private IP Address:             10.50.2.26
Network Interface ID:         eni-36d1fd46
VPC:                                   vpc-241e8243
Subnet:                                subnet-bccf7edb

                                                                    Security
Network ACLs
Name:
Network ACL ID:                acl-f8aae59f
Associated With:                  2 Subnets
Default:                                Yes
VPC:                                    vpc-241e8243 | VPC-1

Security Groups
Name tag:
Group ID:                             sg-5f452c27
Group Name:                        default
VPC:                                    vpc-241e8243 | VPC-1
Description:                         default VPC security group
Inbound Rules:
                     Type                           Protocol                      Port Range                      Source
                ALL Traffic                       ALL                             ALL                           sg-5f452c27
Outbound Rules:
                     Type                           Protocol                      Port Range                      Source
                ALL Traffic                       ALL                             ALL                           0.0.0.0/0

Name tag:                             SG-Database-1
Group ID:                             sg-52b0d92a
Group Name:                        SG-Database-1
VPC:                                    vpc-241e8243 | VPC-1
Description:                         Security group for Database servers
Inbound Rules:
                     Type                           Protocol                      Port Range                      Source
                ALL Traffic                       ALL                             ALL                           sg-5f452c27
Outbound Rules:
                     Type                           Protocol                      Port Range                      Source
                ALL Traffic                       ALL                             ALL                           0.0.0.0/0

Name tag:                             SG-Management
Group ID:                             sg-7ab3da02
Group Name:                        SG-Management
VPC:                                    vpc-241e8243 | VPC-1
Description:                         Management
Inbound Rules:
                     Type                           Protocol                      Port Range                      Source
                  SSH(22)                       TCP(6)                             22                             0.0.0.0/0
Outbound Rules:
                    Type                           Protocol                      Port Range                      Source
                  SSH(22)                       TCP(6)                             22                             sg-52b0d92a
                  SSH(22)                       TCP(6)                             22                             sg-acb1d8d4
                  SSH(22)                       TCP(6)                             22                             sg-fc82eb84

Name tag:                             SG-NAT
Group ID:                             sg-fc82eb84
Group Name:                        SG-NAT
VPC:                                    vpc-241e8243 | VPC-1
Description:                         Security Group for NAT
Inbound Rules:
                     Type                           Protocol                      Port Range                      Source
                  SSH(22)                       TCP(6)                             22                             sg-7ab3da02
                 HTTP(80)                     TCP(6)                             80                             sg-52b0d92a
                 HTTPS(443)                 TCP(6)                            443                            sg-52b0d92a
Outbound Rules:
                    Type                           Protocol                      Port Range                      Source
                  HTTP(80)                     TCP(6)                             80                             0.0.0.0/0
                 HTTPS(443)                 TCP(6)                            443                             0.0.0.0/0

Name tag:                             SG-WebServer-1
Group ID:                             sg-acb1d8d4
Group Name:                        SG-WebServer-1
VPC:                                    vpc-241e8243 | VPC-1
Description:                         Security Group for Web servers
Inbound Rules:
                     Type                           Protocol                      Port Range                      Source
                  SSH(22)                       TCP(6)                             22                             sg-7ab3da02
                 HTTP(80)                     TCP(6)                             80                               0.0.0.0/0
                 HTTPS(443)                 TCP(6)                            443                              0.0.0.0/0
Outbound Rules:
                    Type                           Protocol                      Port Range                      Source
                  HTTP(80)                     TCP(6)                             80                             0.0.0.0/0
                 HTTPS(443)                  TCP(6)                            443                            0.0.0.0/0
            MySQL/Aurora(3306)       TCP(6)                            3306                         sg-52b0d92a


No comments:

Post a Comment