Documentation ¶
Index ¶
- func NewInternetGateway(stack *stack.MyStack)
- func NewNatGateway(stack *stack.MyStack)
- func NewPublicApplicationLoadBalancer(stack *stack.MyStack)
- func NewRouteTables(stack *stack.MyStack)
- func NewServiceDiscoveryPrivateNamespace(stack *stack.MyStack)
- func NewSubnets(stack *stack.MyStack)
- func NewVpc(stack *stack.MyStack)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInternetGateway ¶
This method will create the Internet Gateway
Internet gateway ensure that our VPC will be able to configure routes to access the internet
func NewNatGateway ¶
This function will create two nat gateways
The NAT Gateway will be responsible to configure the internet Egress for the private subnets it mens that, the private subnet will be able to have outbound traffic to internet
func NewPublicApplicationLoadBalancer ¶
This method will create the public application load balancer
The application load balancer will be exposed in the internet and will be responsible to delivery all the request to the HTTP services that are deployed in the private subnet
func NewRouteTables ¶
This method will create the route tables for each subnet and associate the route tables with than
The route table bound the internet gateway to the public subnets and the nat gateway to the private subnets
func NewServiceDiscoveryPrivateNamespace ¶
This method will create the Discovery Private Namespace
Private Namespace allow ECS Services to communicate between than
func NewSubnets ¶
This function will create 4 subnets under our VPC, two private and two publics
The private subnets will be routed through the NAT Gateway and the public will be routed through the internet gateway
Types ¶
This section is empty.