Terminate the AMI Instance
Because Amazon charges you while the instance is running, you must shut it down when you have finished using it.
- Get the ID of the AMI so you can terminate it:
$ ec2-describe-instances
- Terminate the Photon OS instance by running the following command:
$ ec2-terminate-instances <instance-id>
Replace the placeholder with the ID that the ec2-describe-images
command returned. If you ran a second instance of Photon OS with the cloud-init file that runs docker, terminate that instance as well.
Last modified November 8, 2023: Update downloading-photon.md (3799256)