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:

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