Create Security Group
Configure security group for launch template
You need to allow the following network traffic to your PostgreSQL instance.
SSH: Allows you to access Linux instance through your terminal
PostgreSQL: Allows incoming requests for PostgreSQL server
To create a security group for your instance in the launch template,
Navigate to your AWS EC2 dashboard.
Under "Network & Security", select "Security Groups"
Select "Create security group"
Security group name (Example): PostgreSQL Server Security
Description (Example): Allow PostgreSQL
VPC: Select VPC for your instance
Security group rules (Inbound): Select add rule and add the following:
SSH: For source, choose "Anywhere"
PostgreSQL: For source, choose "Anywhere"
You do not need to change the outbound settings.
Tags: Skip tags
Select "Create Security Group"
Your security group for your PostgreSQL server is ready to be added to your launch template.
Last updated