Clean Up Resources

Clean Up Resources

Note: In the next section, we will explore Elastic Container Services and implement a CI/CD Pipeline, so we can skip some parts in the resource cleanup.

Clean Up Elastic Container Registry

On the AWS Console interface:

  • Search for and select Elastic Container Registry.

9.1

You will see the two repositories we created earlier:

  • Select fcjresbar-be.
  • Click Delete.

9.2

  • Confirm the Delete action.

9.3

Similarly, perform the same for the other repository:

  • Select fcjresbar-fe.
  • Click Delete.

9.4

  • Confirm the Delete action.

9.5

Clean Up EC2

  • Search for and select EC2.

9.6

  • Select the EC2 instance we created, FCJ-Lab-my-server.

9.7

Delete Security Group

  • Search for and select VPC.

9.8

In the left panel:

  • Select Security Groups.
  • Choose FCJ-Lab-sg-private.
  • Click Action.
  • Select Delete security groups.

9.9

Similarly:

  • Select Security Groups.
  • Choose FCJ-Lab-sg-public.
  • Click Action.
  • Select Delete security groups.

9.10

Delete Role

  • Search for and select IAM.

9.11

In the left panel:

  • Select Roles.
  • Search for customRWECRRole.
  • Select the created role.
  • Click Delete.

9.12

  • Enter customRWECRRole.
  • Click Delete.

9.13

Clean Up VPC

  • Search for and select VPC.
  • Select VPC-Lab-vpc.
  • Click Action.
  • Select Delete VPC.

9.14

Clean Up RDS

On the AWS Console interface:

  • Search for and select RDS.

9.15

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

9.16

  • 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.

9.17