# How to Stop an Amazon EC2 Instance

### Table of contents

* [Tasks](https://abisec.gitbook.io/devsecops/aws/broken-reference)
* [Steps](https://abisec.gitbook.io/devsecops/aws/broken-reference)

#### Tasks <a href="#heading-tasks" id="heading-tasks"></a>

* Delete the ec2 instance named `xfusion-ec2` present in `us-east-1` region.
* Before submitting your task, make sure instance is in `terminated` state.

#### Steps <a href="#heading-steps" id="heading-steps"></a>

1. Select the ec2 instance name `xfusion-ec2`.
2.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728366394711/40b7a480-d2c6-4142-821d-34643199f525.png?auto=compress,format\&format=webp)
```

```
Select Instance and then Instance State → Terminate(delete Instance)
```

3\.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728366460233/ea975203-9b0b-4941-aee1-52bdbd0fc4b6.png?auto=compress,format\&format=webp)

Terminate (delete) instance now.
```

4\.

```
![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728366531572/0e502e77-f444-4b2f-be9a-9286bfcc76ba.png?auto=compress,format\&format=webp)

Instance is in `terminated` state now.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1728366813577/10c19134-f7ee-4f3f-b291-84a0f6ef44f0.png?auto=compress,format\&format=webp)

\#aws #cloudcomputing #happylearning
```

AWSinstanceCloudCloud ComputingDevopsDevSecOpsAmazon Web Services
