You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- VPC with two private subnets and two public subnets
6
+
- Autoscaling Group with a Launch Template
7
+
- ECS Service in a pre-configured ECS Cluster to spin up a Nginx web server, and corresponding ECS Capacity Providers
8
+
- Internet-facing Application Load Balancer to access the internal Nginx server, and
9
+
- ACM to generate an Amazon-issued certificate for a base domain, and then create a Route53 A-type record with an endpoint
10
+
11
+
## Usage
12
+
13
+
To run this example, you will need to execute the commands:
14
+
15
+
```bash
16
+
terraform init
17
+
terraform plan
18
+
terraform apply
19
+
```
20
+
21
+
Please note that this example may create resources that can incur monetary charges on your AWS bill. You can run `terraform destroy` when you no longer need the resources.
Copy file name to clipboardExpand all lines: examples/complete/README.md
+2-6
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
<!-- BEGIN_TF_DOCS -->
1
2
# ECS Deployment Complete
2
3
3
4
Configuration in this directory creates:
@@ -20,7 +21,6 @@ terraform apply
20
21
21
22
Please note that this example may create resources that can incur monetary charges on your AWS bill. You can run `terraform destroy` when you no longer need the resources.
22
23
23
-
<!-- BEGIN_TF_DOCS -->
24
24
## Requirements
25
25
26
26
| Name | Version |
@@ -37,10 +37,7 @@ Please note that this example may create resources that can incur monetary charg
| <aname="output_acm_amazon_issued_certificate_arn"></a> [acm\_amazon\_issued\_certificate\_arn](#output\_acm\_amazon\_issued\_certificate\_arn)| ARN of the ACM Amazon-issued certificate for the base domain |
68
65
| <aname="output_alb_allow_all_sg_id"></a> [alb\_allow\_all\_sg\_id](#output\_alb\_allow\_all\_sg\_id)| ID of the Security Group for Application Load Balancer to allow all traffic from any source |
69
66
| <aname="output_alb_arn"></a> [alb\_arn](#output\_alb\_arn)| ARN of the Application Load Balancer for Nginx ECS Service |
70
-
| <aname="output_alb_id"></a> [alb\_id](#output\_alb\_id)| Identifier of the Application Load Balancer for Nginx ECS Service |
71
67
| <aname="output_allow_all_within_vpc_sg_id"></a> [allow\_all\_within\_vpc\_sg\_id](#output\_allow\_all\_within\_vpc\_sg\_id)| ID of the Security Group to allow all traffic from any source within the VPC |
72
68
| <aname="output_allow_nginx_http_from_alb_sg_id"></a> [allow\_nginx\_http\_from\_alb\_sg\_id](#output\_allow\_nginx\_http\_from\_alb\_sg\_id)| ID of the Security Group to allow all Nginx HTTP traffic from Application Load Balancer |
73
69
| <aname="output_asg_arn"></a> [asg\_arn](#output\_asg\_arn)| ARN of the Autoscaling group |
0 commit comments