User Tools

Site Tools


set_the_security_group

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
set_the_security_group [2017/08/04 22:02] – created walkeradminset_the_security_group [2017/08/05 14:36] walkeradmin
Line 8: Line 8:
 \\  \\ 
 \\  \\ 
 +Below is an example of some security groups. Remember, the default security group "launch-wizard-1" is automatically created when you manually create an EC2 Instance. 
 +\\  
 +\\  
 +{{ :awssecuritygroup001.jpg?800 |}} 
 +\\  
 +I believe the security group can be referenced in the Terraform script by either it's group name or its group ID. 
 +\\  
 +\\  
 +Below we can see the contents of the security group launch-wizard-1. 
 +\\  
 +\\  
 +{{ :awssecuritygroup002.jpg?800 |}} 
 +\\  
 +By default, only the SSH rule is added, I added the two HTTP rules as my EC2 Instance is a web server, and without port 80 it's pretty useless. 
 +\\  
 +\\  
 +In the script, my security group setting will be: 
 +<file> 
 +security_groups= ["launch-wizard-1"
 +</file> 
 +\\  
 +This Terraform script does not create a security group, you have to manually create the security group, The Terraform Script simply points to an existing Security Group (or Security Groups). 
 +\\  
 +\\ 
set_the_security_group.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1