Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
A security group that allows inbound web traffic (TCP ports 80 and 443).
The template creates the security group into an existing VPC, and requires the following details:
See Related Items section for configuration templates to create a new VPC.
AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
SecurityGroup:
Type: 'AWS::EC2::SecurityGroup'
Properties:
GroupDescription: A security group that allows inbound web traffic (TCP ports 80 and 443).
VpcId: ''
SecurityGroupEgress:
- FromPort: -1
ToPort: -1
IpProtocol: '-1'
Description: ''
CidrIp: 0.0.0.0/0
SecurityGroupIngress:
- FromPort: 80
ToPort: 80
IpProtocol: tcp
Description: Allow HTTP traffic
CidrIp: ''
- FromPort: 443
ToPort: 443
IpProtocol: tcp
Description: Allow HTTPS traffic
CidrIp: ''
GroupName: allow-web-traffic
Parameters: {}
Metadata: {}
Conditions: {}