Common patterns
Deploy an ECS service
An AWS infrastructure pattern, deployed with formae.
A load-balanced containerized service on ECS, with its own networking. One forma
provisions the VPC and public subnets, the security groups, an ECS cluster and
task definition, an Application Load Balancer with a listener and target group,
and the ECS service behind it.
Deploy. Apply the example forma. formae orders the resources by their
dependencies automatically, so the VPC comes up before the subnets, the load
balancer before the service, and so on:
Verify. Once the command completes, the stack’s resources are under
management:
Tear down. Remove everything the forma created:
The full forma is in the
ecs-hello-world example.

