Clean Up Resources

Delete Elastic Container Service

  • Search for and select Elastic Container Service.

10.1

  • Choose FCJ-Lab-cluster.

10.2

In the Services section:

  • Select the two running services.
  • Click Delete service.

10.3

  • Enter delete.
  • Click Delete.

10.4

After cleaning up the running services, we will proceed to delete the Cluster:

  • Click Delete cluster.

10.5

  • Enter delete FCJ-Lab-cluster.
  • Click Delete.

10.6

Next, we will clean up the task definitions:

  • Select Task definitions.
  • Choose the task you want to delete.

10.7

  • Continue following the instructions:
    • Select the task definition.
    • Click Action.
    • Choose Deregister.

10.8

Repeat the process to delete the remaining task.

10.9

  • Follow the instructions.

10.10

You have successfully deleted the ECS and its services.

Clean Up Elastic Container Registry

On the AWS Console interface:

  • Search for and select Elastic Container Registry.

10.11

You will see the two repositories we created earlier:

  • Select fcjresbar-be.
  • Click Delete.

10.12

  • Confirm the Delete action.

10.13

Similarly, perform the same for the other repository:

  • Select fcjresbar-fe.
  • Click Delete.

10.14

  • Confirm the Delete action.

10.15

Delete Load Balancer

  • Search for and select Load Balancer.

10.16

  • Choose the Load Balancer you created.
  • Click Action.
  • Select Delete load balancer.

10.17

  • Enter confirm.
  • Click Delete.

10.18

Clean Up Target Groups

In the left panel:

  • Select Target Groups.
  • Choose the target group you created.
  • Click Action.
  • Select Delete.

10.19

Clean Up RDS

On the AWS Console interface:

  • Search for and select RDS.

10.20

  • Select Databases.
  • Choose the RDS instance you created.
  • Click Action.
  • Select Delete.

10.21

  • Check I acknowledge that upon instance deletion, automated backups, including system snapshots and point-in-time recovery, will no longer be available.
  • Enter delete me.
  • Click Delete.

10.22

NAT Gateway

  • Search for and select NAT gateway

10.23

  • Select the NAT Gateway you created
  • Click on Action
  • Choose Delete NAT gateway

10.24