User Tools

Site Tools


the_script

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
the_script [2017/08/04 19:39] walkeradminthe_script [2017/08/05 14:34] – [Security Groups] walkeradmin
Line 79: Line 79:
 \\  \\ 
 In this example we are using the t2.micro, as this falls in to the free tier category (as long as you are still in your free tier period.) In this example we are using the t2.micro, as this falls in to the free tier category (as long as you are still in your free tier period.)
 +\\ 
 +\\ 
 +
 +----
 +==== EC2 Key Pair ====
 +The Key Name is the name of the Key Pair you wish to use with the EC2 Instance you will create.
 +\\ 
 +<sxh>
 +        key_name = "TestSvr"
 +</sxh>
 +\\ 
 +This script does not create a key pair, it must already exist for the script to work.
 \\  \\ 
 \\  \\ 
Line 84: Line 96:
 ---- ----
 ==== EC2 Names  ==== ==== EC2 Names  ====
-Key name is simply a name to identify the EC2 Instance as.+The Name = terraform-instance is another label to identify this by.
 \\  \\ 
 <sxh> <sxh>
-        key_name = "TestWebSvr" 
         Name = "terraform-instance"         Name = "terraform-instance"
 </sxh> </sxh>
 \\  \\ 
-The Name = terraform-instance is another label to identify this by.+The Name is just a label so you can identify this EC2 Instance when it is in a list with other instances, ensure this name is unique or you will cause yourself some confusion.
 \\  \\ 
 \\  \\ 
Line 104: Line 115:
 \\  \\ 
 The security groups "launch-wizard-1" is the default security group and has the default inbound settings of <color #ed1c24>SSH, TCP, 22, 0.0.0.0/0</color> which allows for SSH access. The security groups "launch-wizard-1" is the default security group and has the default inbound settings of <color #ed1c24>SSH, TCP, 22, 0.0.0.0/0</color> which allows for SSH access.
 +\\ 
 +\\ 
 +The Security Group must already exist, the Terraform Script does not create this, it simply points to an existing one.
 +\\ 
 +\\ 
the_script.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1