configure_labels
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| configure_labels [2017/08/04 21:39] – walkeradmin | configure_labels [2017/08/05 14:32] (current) – walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Configure Labels ====== | ====== Configure Labels ====== | ||
| <color darkorange> | <color darkorange> | ||
| + | \\ | ||
| + | \\ | ||
| + | {{: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| ---- | ---- | ||
| + | |||
| When creating an EC2 Instance, there are some labels that can be set, these don't seem particularly important, until you have a lot of instances to manage, then you suddenly realise the value of these labels. If you have a lot of EC2 Instances and have not labelled them, you will have a hard time working out which EC2 Instance is performing what task(s). | When creating an EC2 Instance, there are some labels that can be set, these don't seem particularly important, until you have a lot of instances to manage, then you suddenly realise the value of these labels. If you have a lot of EC2 Instances and have not labelled them, you will have a hard time working out which EC2 Instance is performing what task(s). | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | Below is a single EC2 Instance in AWS, and you can see the two labels | + | Below is a single EC2 Instance in AWS, and you can see the label that is in the Terraform script. |
| \\ | \\ | ||
| \\ | \\ | ||
| - | {{ :awslabels001.jpg?900 |}} | + | {{ :awslabels001c.jpg?500 |}} |
| \\ | \\ | ||
| - | On the left we have ' | + | \\ |
| + | On the left we have ' | ||
| + | \\ | ||
| + | <sxh text; first-line: 01; highlight: [13];> | ||
| + | provider " | ||
| + | access_key = " | ||
| + | secret_key = " | ||
| + | region = " | ||
| + | } | ||
| + | |||
| + | resource " | ||
| + | ami = " | ||
| + | instance_type = " | ||
| + | key_name = " | ||
| + | security_groups= [" | ||
| + | tags { | ||
| + | Name = " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | In the example script, I will use the following: | ||
| + | \\ | ||
| + | < | ||
| + | tags { | ||
| + | Name = " | ||
| + | } | ||
| + | </ | ||
| + | |||
configure_labels.1501882779.txt.gz · Last modified: (external edit)
