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
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
@@ -111,7 +110,7 @@ We can now create an ECS cluster and deploy our NGINX web server.
111
110
LocalStack enables the deployment of ECS task definitions, services, and tasks, allowing us to deploy our ECR containers via the ECS Fargate launch type, which uses the local Docker engine to deploy containers locally.
112
111
To create the necessary ECS infrastructure on our local machine before deploying our NGINX web server, we will use a CloudFormation template.
113
112
114
-
You can create a new file named `ecs.infra.yml` inside a new `templates` directory, using a [publicly available CloudFormation template as a starting point](https://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/ECS/FargateLaunchType/clusters/public-vpc.yml).
113
+
You can create a new file named `ecs.infra.yml` inside a new `templates` directory, using a [publicly available CloudFormation template as a starting point](https://github.com/aws-cloudformation/aws-cloudformation-templates/blob/main/ECS/FargateLaunchType/services/public-service.yaml).
115
114
To begin, we'll add the `Mappings` section and configure the subnet mask values, which define the range of internal IP addresses that can be assigned.
116
115
117
116
```yaml
@@ -373,14 +372,13 @@ Outputs:
373
372
To deploy the CloudFormation template we created earlier, use the following command:
$ awslocal cloudformation wait stack-create-complete --stack-name infra
384
382
{{< /command >}}
385
383
386
384
You can also check your deployed stack on the LocalStack Web Application by navigating to the [CloudFormation resource browser](https://app.localstack.cloud/resources/cloudformation/stacks).
@@ -549,14 +547,14 @@ Resources:
549
547
Next, let's deploy the CloudFormation template by running the following command:
0 commit comments