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 Dashboard, click on Instances. Select your NICE DCV EC2 instance, click on Actions -> Instance State -> Terminate
Confirm by clicking, Yes, 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.