Skip to content

Commit d047d25

Browse files
remove startup instruction for cloudformation quickstart
1 parent a0de208 commit d047d25

File tree

1 file changed

+3
-45
lines changed
  • content/en/docs/Local AWS Services/cloudformation

1 file changed

+3
-45
lines changed

Diff for: content/en/docs/Local AWS Services/cloudformation/index.md

+3-45
Original file line numberDiff line numberDiff line change
@@ -11,59 +11,17 @@ description: >
1111

1212
AWS CloudFormation is AWS's primary Infrastructure-as-Code (IaC) service. It is used to declaratively define your architecture on the AWS cloud, including resources such as S3 Buckets, Lambda Functions, and much more.
1313

14-
CloudFormation **Stack** templates are written in either YAML or JSON and can be written manually or generated by higher-level tools such as [AWS CDK]( {{< ref "docs/integrations/aws-cdk" >}} ), [Pulumi]({{< ref "docs/integrations/pulumi" >}}) or [Serverless Framework]( {{< ref "docs/integrations/serverless-framework" >}}).
15-
<!-- TODO: SAM -->
14+
CloudFormation **Stack** templates are written in either YAML or JSON and can be written manually or generated by higher-level tools such as [AWS CDK]( {{< ref "docs/integrations/aws-cdk" >}} ), [AWS SAM]( {{< ref "docs/integrations/aws-sam" >}}) [Pulumi]({{< ref "docs/integrations/pulumi" >}}) or [Serverless Framework]( {{< ref "docs/integrations/serverless-framework" >}}).
1615

1716
## Quickstart
1817

1918
In this quickstart guide we will deploy a simple CloudFormation stack consisting of a single S3 Bucket.
2019

2120
### Prerequisites
2221

23-
- [`docker`](https://docs.docker.com/get-docker/)
24-
- [`docker-compose`](https://docs.docker.com/compose/install/)
25-
- [`awslocal`]({{< ref "aws-cli#localstack-aws-cli-awslocal" >}})
22+
Make sure you've set up [`awslocal`]({{< ref "aws-cli#localstack-aws-cli-awslocal" >}}) and that you have a running LocalStack instance.
2623

27-
### Deploy a stack to LocalStack
28-
29-
#### 1. Start an instance of LocalStack via Docker
30-
31-
In general you need to at least include **S3** and **IAM** in addition to your other services when starting your LocalStack instance.
32-
We are doing this here by setting the `SERVICES` environment variable.
33-
34-
```yaml
35-
# content of ./docker-compose.yml
36-
version: "3.8"
37-
38-
services:
39-
localstack:
40-
container_name: "cfn_quickstart_localstack_main"
41-
image: localstack/localstack
42-
network_mode: bridge
43-
ports:
44-
- "127.0.0.1:53:53"
45-
- "127.0.0.1:53:53/udp"
46-
- "127.0.0.1:443:443"
47-
- "127.0.0.1:4566:4566"
48-
- "127.0.0.1:4571:4571"
49-
environment:
50-
- SERVICES=cloudformation,s3,iam
51-
52-
```
53-
54-
```bash
55-
# start the container
56-
docker-compose up -d
57-
58-
# check if all services have started (look for a line reading "Ready.")
59-
docker-compose logs
60-
61-
# check if all required services are up
62-
# the output should include: {"s3": "running", "iam": "running"}
63-
curl http://localhost:4566/health
64-
```
65-
66-
#### 2. Write and deploy a simple CloudFormation stack
24+
### Deploy a CloudFormation Stack to LocalStack
6725

6826
{{< tabpane >}}
6927
{{< tab header="YAML" lang="yaml" >}}

0 commit comments

Comments
 (0)