Amazon EC2 best practices

Here are some of the best practices to get the maximum benefit from your Amazon EC2 instance:

  • You can use approved AMIs and not the blacklisted AMIs to launch AWS EC2 instances.
  • You can create an Amazon Machine Image (AMI) from an existing instance and save the configuration as a template. You can use this template to launch instances in the future. This instance should be encrypted to meet compliance and security requirements.
  • Make sure that you are using custom resource tags with proper naming conventions to track AWS resources.
  • Optimize cost by removing any unassociated Elastic IP addresses and unused Amazon Machine Images.
  • Take frequent backups of EBS volumes using Amazon EBS Snapshots.
  • For high availability ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.