Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Remove ecs cli #177

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions content/cleanup/_index.md.disabled

This file was deleted.

18 changes: 1 addition & 17 deletions content/microservices/cleanup/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,6 @@ copilot app delete
{{% /expand %}}


{{%expand "Expand here to cleanup ecs cli portion of the workshop" %}}

## Delete our compute resources, starting with the services, then ALB, then ECS Cluster, VPC, etc...
```
cd ~/environment/ecsdemo-frontend

ecs-cli compose --project-name ecsdemo-crystal service rm --cluster-config container-demo
ecs-cli compose --project-name ecsdemo-nodejs service rm --cluster-config container-demo
ecs-cli compose --project-name ecsdemo-frontend service rm --delete-namespace --cluster-config container-demo

aws cloudformation delete-stack --stack-name container-demo-alb
aws cloudformation wait stack-delete-complete --stack-name container-demo-alb
aws cloudformation delete-stack --stack-name container-demo
```
{{% /expand %}}

{{%expand "Expand here to cleanup the cdk portion of the workshop" %}}
## Delete each service stack, and then delete the base platform stack
```bash
Expand All @@ -59,4 +43,4 @@ for service in services:
frontend_logs = c.describe_log_groups(logGroupNamePrefix=service)
print([c.delete_log_group(logGroupName=x['logGroupName']) for x in frontend_logs['logGroups']])"
```
{{% /expand %}}
{{% /expand %}}
19 changes: 0 additions & 19 deletions content/microservices/cleanup/tabs/ecscli.md

This file was deleted.

3 changes: 1 addition & 2 deletions content/microservices/crystal/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ pre: '<i class="fa fa-film" aria-hidden="true"></i> '
{{< tabs name="Deploy Crystal Service" >}}
{{< tab name="copilot-cli" include="tabs/copilot.md" />}}
{{< tab name="cdk" include="tabs/cdk.md" />}}
{{< tab name="ecs-cli fargate mode" include="tabs/ecscli.md" />}}
{{< /tabs >}}
{{< /tabs >}}
65 changes: 0 additions & 65 deletions content/microservices/crystal/tabs/ecscli.md

This file was deleted.

2 changes: 0 additions & 2 deletions content/microservices/frontend/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ pre: '<i class="fa fa-film" aria-hidden="true"></i> '
{{< tabs name="Deploy Frontend" >}}
{{< tab name="copilot-cli" include="tabs/copilot.md" />}}
{{< tab name="cdk" include="tabs/cdk.md" />}}
{{< tab name="ecs-cli fargate mode" include="tabs/ecscli.md" />}}
{{< tab name="ecs-cli ec2 mode" include="tabs/ecscli-ec2-mode.md" />}}
{{< /tabs >}}
91 changes: 0 additions & 91 deletions content/microservices/frontend/tabs/ecscli-ec2-mode.md

This file was deleted.

91 changes: 0 additions & 91 deletions content/microservices/frontend/tabs/ecscli.md

This file was deleted.

3 changes: 1 addition & 2 deletions content/microservices/nodejs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ pre: '<i class="fa fa-film" aria-hidden="true"></i> '
{{< tabs name="Deploy Frontend" >}}
{{< tab name="copilot-cli" include="tabs/copilot.md" />}}
{{< tab name="cdk" include="tabs/cdk.md" />}}
{{< tab name="ecs-cli fargate mode" include="tabs/ecscli.md" />}}
{{< /tabs >}}
{{< /tabs >}}
Loading