Cleanup your Environment

Now that we have successfully completed this lab, to avoid charges please follow the documentation steps to remove resources deployed during this workshop.

If you subscribed to Cloud One in your AWS account, You can use this link to Unsubscribe to Cloud One on AWS Marketplace.


1. Delete the Cloud One Network Security Routes

  • On Route Table DevSec WorkShop Edge association rtb
  • Click on the Edit routes button

cleanup

  • And delete the routes to the Network Security Endpoint

cleanup

  • Click on the Save Changes button

cleanup

  • Click on the Edge Association tab and on the Edit edge association button

cleanup

  • Unselect the Internet Gateway and click on the Save changes button

cleanup

  • On the Actions button click on Delete and delete this route table

cleanup

  • On Route Table eksctl-EKS-DevSecOps-TrendMicroWorkshop-cluster/PublicRouteTable
  • Click on the Edit routes button

cleanup

  • And delete the routes to the Network Security Endpoint

cleanup

  • Click on the Save Changes button

cleanup

  • On Route Table Public subnet az1b route table
  • Click on the Edit routes button

cleanup

  • And delete the routes to the Network Security Endpoint

cleanup

  • Click on the Save Changes button

cleanup


  • Go back to the Cloud One Network Security console
  • On Hosted Infrastructure, expand your VPC
  • And for both Network Security Endpoint click on the delete icon

cleanup

cleanup

cleanup

  • Wait until both are deleted
  • You can click on the Refresh button

cleanup


2. Delete the Load Balancers

  • On the AWS search bar, search for load balancers

cleanup

  • Select the two load balancers created during the workshop, click on Actions and then Delete
  • You can be sure which Load Balancer is by the DNS NAME or the VPC

cleanup

cleanup


3. Delete the EKS Clusters

  • Select the stack named: eksctl-EKS-QA-TrendMicroWorkshop-cluster
  • Click the Delete button

cleanup

cleanup

cleanup

  • Select the stack named eksctl-EKS-QA-TrendMicroWorkshop-nodegroup-AmazonLinux to be deleted.
  • Click the Delete button

cleanup

cleanup

cleanup


  • Select the stack named: eksctl-EKS-DevSecOps-TrendMicroWorkshop-cluster
  • Click the Delete button

cleanup

cleanup

cleanup

  • Select the stack named: eksctl-EKS-DevSecOps-TrendMicroWorkshop-nodegroup-AmazonLinux to be deleted.
  • Click the Delete button

cleanup

cleanup

cleanup


4. Delete the ECR template.

  • Go to the trendworkshopdevcecops repository on AWS ECR, and delete the images there

cleanup

cleanup

cleanup

  • Select the stack named: ECRTrendWorkShopDevSevOps
  • Click the Delete button

cleanup

cleanup

cleanup


5. Delete the Pygoat-TM-Application-Repo-Trend-Workshop template.

  • Select the stack named Pygoat-TM-Application-Repo-Trend-Workshop
  • Click the Delete button
  • The Stack will be deleted

cleanup

cleanup

cleanup


6. Delete the DevSecTrendMicroPipeline template.

  • Select the stack named: DevSecTrendMicroPipeline
  • On the Outputs tab click on the S3 Bucket link

cleanup

  • Delete the file

cleanup

cleanup

cleanup

  • Back to the DevSecTrendMicroPipeline stack
  • Click the Delete button

cleanup

cleanup

cleanup


7. Delete the devsecops-lab-workshop template.

  • Select the stack named: devsecops-lab-workshop
  • Click the Delete button
  • The Stack will be deleted

cleanup

cleanup

cleanup


8. Delete the DevEnvTrendWorkShop and DevEnvTrendWorkShop-PolicyStack template.

  • Select the stack named: DevEnvTrendWorkShop
  • Click the Delete button
  • Both Stacks will be deleted

cleanup

cleanup

cleanup


Thank you for joining our workshop! We hope you enjoyed this and learned new things! 👏 👏