Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wordpress-fargate: lock down security group permissions #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jre21
Copy link

@jre21 jre21 commented Jun 1, 2021

This change tightens down all the security group definitions. The wordpress security group previously went unused. I've now assigned it to the ecs cluster and reworked the security group rules to correctly model all expected traffic flows. The new logic describes traffic as being allowed between two security groups when one resource needs to communicate with another, instead of assigning every security group to the ecs cluster so that both sides of a connection reside within the same group. I also modified several rules which previously allowed incoming connections on all ports to restrict them to only ports that our intended services are listening on.

@jre21 jre21 changed the title Lock down security group permissions wordpress-fargate: lock down security group permissions Jun 1, 2021
peterkc added a commit to peterkc-devops/terraform-examples that referenced this pull request Jul 25, 2021
commit c2189f7335b5dc6b6c2cf387d2dab82d66f1a557
Author: Peter C <[email protected]>
Date:   Sat Jul 24 18:57:48 2021 -0700

    Lock down security group permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant