The following list summarizes EC2 best practices:
- Ensure that unused EC2 instances are stopped and, if not required, terminate them. This reduces unnecessary costs in the monthly AWS billing.
- Closely observe snapshots and AMIs, regularly perform housekeeping, and discard all the AMIs and snapshots that are not required. It is recommended that you automate and monitor this process.
- It is equally important to perform a periodical AMI and snapshots restore to make sure that the recovery process is performing within the stipulated time.
- Ensure that an instance type is set as per the requirements of the application hosted on the instance. It is recommended that you optimize the instance type according to application performance.
- To match a seasonal spike in compute requirement, plan for autoscaling and load balancing.
- Divide your application load into multiple...