Cleanup
It will take a bit time to finish the cleanup
-
Empty S3 bucket.
- Open AWS S3 console.
- Select fcj-book-shop-by-myself.
- Click Empty.
- Enter
permanently delete
.
- Click Empty.
- Do the same for bucket starting with aws-sam-cli-managed-default-, book-image-resize-shop-by-myself and codepipeline-us-east-1-.
-
Delete pipeline.
- Open AWS CodePipeline console.
- Select fcjBookStoreFEPipeline pipeline.
- Click Delete pipeline.
- Enter
delete
.
- Click Delete.
- Do the same for fcjBookStorePipeline.
-
Delete CodeBuild project.
- Open AWS CodeBuild console.
- Select fcjBookStoreBuildProject Build project.
- Click Actions, then click Delete.
- Enter
delete
.
- Click Delete.
-
Delete Connection between Gitlab and AWS.
- Open AWS CodeBuild console.
- Click Settings on the left menu and click Connections in the dropdown.
- Select fcjBookStoreGitlabConnection.
- Click Delete.
- Enter
delete
.
- Click Delete.
-
Delete CloudFormation stacks.
-
Execute the below command to delete the AWS SAM application.
sam delete --stack-name fcj-book-store
sam delete --stack-name aws-sam-cli-managed-default
-
If you have issues when deleting with command. Open AWS Cloudformation console. Then, delete all stacks related to this workshop.
-
Delete codepipeline-us-east-1-… bucket.
- Open AWS S3 console.
- Select codepipeline-us-east-1-….
- Click Delete.
- Enter
codepipeline-us-east-1-...
.
- Click Delete bucket.
-
Delete Git repository.