Now that you are done with your NICE DCV EC2 instance, we can terminate it from the EC2 Dashboard as shown below:
Go to EC2 Console, select your NICE DCV EC2 instance, click on Instance state -> Terminate instance
Confirm by clicking, Terminate.
Now that you are done with your NICE DCV EC2 workshop. We can delete the instance profile created in previous steps, with the following command:
aws cloudformation delete-stack --stack-name DCVInstanceProfile
With this, we clean up all the AWS resources related to this NICE DCV workshop.