An EC2 instance passes through various stages throughout its life cycle. It all starts with launching an EC2 instance using a specific AMI. The following diagram is an illustration of the EC2 instance lifecycle:
![](https://static.packt-cdn.com/products/9781789617313/graphics/assets/3364175d-562d-44d4-ad80-3ef8fc80379d.png)
Figure 5.1: EC2 instance life cycle
The different stages of the instance life cycle that we will be looking into are as follows:
- Instance launch
- Instance stop and start
- Instance reboot
- Instance retirement
- Instance termination