the_script
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
the_script [2017/08/04 19:39] – walkeradmin | the_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 = " | ||
+ | </ | ||
+ | \\ | ||
+ | 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 Name = terraform-instance |
\\ | \\ | ||
<sxh> | <sxh> | ||
- | key_name = " | ||
Name = " | Name = " | ||
</ | </ | ||
\\ | \\ | ||
- | The Name = terraform-instance | + | 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 " | The security groups " | ||
+ | \\ | ||
+ | \\ | ||
+ | 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