In this chapter, we have learned about different storage options in AWS and their usability.
In short, we have following storage options in AWS—for EC2 instances:
- Ephemeral storage or instance store
For security at the EC2 level, we can ensure data security and safety using encryption, snapshots, and by defining RAID.
Defining encryption at the volume level does impact your application's code, but if we take a snapshot of an encrypted volume, that also becomes encrypted. It encrypts data at rest and data transition between volumes and instances.
Defining RAID gives you fault tolerance at the volume level.
Ephemeral storage, or instance store, is high-performance volatile storage that is used to store temporary data. So, it is always advisable to store persistent data into a persistent volume.
For static content, we have S3 storage, which is object storage with unlimited capacity. To ensure the security of S3 storage, we have multiple options, such as defining an IAM policy, S3...