In this project, you’ll deploy web servers for a highly available web app using CloudFormation.
In this project we deploy:
- CloudWatch Alarms to trigger automatic scaling in/out instances. Cpu utilization of the AutoScalingGroup has been considered as the metric
- a VPCEndpoint for connecting to the S3 bucket. In this way we can avoid data processing charges for NAT gateways. (more info)
- Resources:
- AWS::EC2::VPC
- AWS::EC2::InternetGateway
- AWS::EC2::VPCGatewayAttachment
- AWS::EC2::Subnet
- AWS::EC2::RouteTable
- AWS::EC2::Route
- AWS::EC2::SubnetRouteTableAssociation
- AWS::EC2::EIP
- AWS::EC2::NatGateway
- AWS::EC2::Subnet
- AWS::EC2::RouteTable
- AWS::EC2::Route
- AWS::EC2::SubnetRouteTableAssociation
- AWS::EC2::Subnet
- AWS::EC2::SubnetRouteTableAssociation
- AWS::EC2::EIP
- AWS::EC2::NatGateway
- AWS::EC2::Subnet
- AWS::EC2::RouteTable
- AWS::EC2::Route
- AWS::EC2::SubnetRouteTableAssociation
- AWS::EC2::VPCEndpoint
- AWS::IAM::Role
- AWS::IAM::InstanceProfile
- AWS::EC2::SecurityGroup
- AWS::AutoScaling::LaunchConfiguration
- AWS::AutoScaling::AutoScalingGroup
- AWS::EC2::SecurityGroup
- AWS::ElasticLoadBalancingV2::LoadBalancer
- AWS::ElasticLoadBalancingV2::Listener
- AWS::ElasticLoadBalancingV2::ListenerRule
- AWS::ElasticLoadBalancingV2::TargetGroup
- AWS::AutoScaling::ScalingPolicy
- AWS::CloudWatch::Alarm