Cleanup

Environment Cleanup

Now that you finished all the labs contained in this workshop, it’s time to cleanup your AWS account to avoid keep the resources running when you do need them anymore.

The following steps are only required if you’re using your own AWS account. For EventEngine based events, no further action is required.

DMS Tasks

  1. In the AWS Console, open Services, Migration & Transfer, Database Migration Service.
  2. In the navigation pane, click Database migration tasks, then select the tasks that contains ofbiz and/or wordpress in the name, click on Actions and Delete. After, click Delete again to confirm.

Delete DMS tasks

Delete DMS tasks

DMS Endpoints

  1. In the navigation pane, click Endpoints, then select all endpoints where name contains ofbiz and/or wordpress, click on Actions and Delete. After, click Delete again to confirm.

Delete DMS endpoints

Delete DMS endpoints

DMS Replication Instances

  1. In the navigation pane, click Replication instances, then select all Replication Instances where name starts with mid and contains ofbiz and/or wordpress, click on Actions and Delete. After, click Delete again to confirm.

Delete DMS Replication Instances

Delete DMS Replication Instances

DMS Subnet Groups

  1. In the navigation pane, click Subnet Groups, then select all Subnet Groups where name contains ofbiz and/or wordpress, click on Actions and Delete. After, click Delete again to confirm.

Delete DMS Subnet Groups

Delete DMS Subnet Groups


RDS OFBiz

  1. In the AWS Console, open Services, Database, RDS.
  2. Then, click on Databases, expand mid-ofbiz and select the Writer instance. After, go to Actions and select Delete. Delete RDS instance OFBiz
  3. Uncheck the option Create final snapshot? and check the option I acknowledge that upon instance deletion, automated backups, including system snapshots and point-in-time recovery, will no longer be available. (As this is a lab, we will not create a final snapshot. But, in a real environment, it’s a good idea. :)). And then, to confirm the deletion, type delete me and click delete. Delete RDS instance OFBiz

RDS WordPress

  1. In the AWS Console, open Services, Database, RDS.
  2. Then, click on Databases, expand mid-wordpress and select the Writer instance. After, go to Actions and select Delete. Delete RDS instance OFBiz
  3. Uncheck the option Create final snapshot? and check the option I acknowledge that upon instance deletion, automated backups, including system snapshots and point-in-time recovery, will no longer be available. (As this is a lab, we will not create a final snapshot. But, in a real environment, it’s a good idea. :)). And then, to confirm the deletion, type delete me and click delete. Delete RDS instance OFBiz

S3 Migration Factory

  1. In the AWS Console, open Services, Storage, S3.
  2. Click on bucket called migration-factory-test-XXXXXXXXXXXX-front-end (where XXXXXXXXXXXX is the AWS account number).
  3. Select all files using the up left checkbox and after click on Actions and Delete. To confirm, click on Delete button.
  4. Now that the S3 bucket is empty, go back to S3 root level, select the buckey migration-factory-test-XXXXXXXXXXXX-front-end and click on Delete.

CloudEndure project

  1. Logon to CloudEndure project and delete the project created for this workshop.

CloudEndure EC2

  1. Now, let’s terminate the EC2 instances we have migrated with CloudEndure. Go to Services, EC2, Instances. Add “onpremsim.env” and “CloudEndure” as a filters. Then, select all servers listed by the filter, click on Actions, click on Instance State and click on Terminate:

Delete CE EC2 instances

Delete CE EC2 instances

Delete CE EC2 instances


CloudFormation

  1. Now, let’s delete the CloudFormation that was used to create the emulated source environment. Go to Services, Management & Governance, CloudFormation. Select the CloudFormation named MigrationImmersionDay and click Delete.

Other resources

  1. In AWS Console, go to EC2, Volumes. Delete the EBS volumes created by CloudEndure for the related servers used on this workshop.
  2. In AWS Console, go to EC2, Snapshots. Delete the snapshots created by CloudEndure for the related servers used on this workshop.