February 2017
Intermediate to advanced
440 pages
8h 45m
English
Amazon's security groups are similar to traditional firewalls, with ingress (incoming traffic) and egress (outgoing traffic) rules applied to EC2 instances. Those rules can be updated on-demand. We'll create an initial security group allowing ingress Secure Shell (SSH) traffic only for our own IP address, while allowing all outgoing traffic.
To step through this recipe, you will need the following:
The resource we're using is called aws_security_group. Here's the basic structure:
resource "aws_security_group" "base_security_group" { name = "base_security_group" ...Read now
Unlock full access