A Security Group acts as a virtual firewall for your EC2 instance, controlling inbound and outbound traffic. You’ll need to create one for your public server.