Instance stores
Provides temporary block-level storage for Amazon EC2 instance.
disk storage physically attached to host computer for EC2 instance - has same lifespan as instance
instance terminated - you lose any data in instance store
Amazon Elastic Block Store (Amazon EBS)
service that provides block-level storage volumes that you can use with Amazon EC2 instances.
o Stop/terminate Amazon EC2 instance, all data on attached EBS volume remains available.
o Create EBS volume – define configuration e.g. volume size and type and provision it.
o After you create EBS volume, can attach to Amazon EC2 instance.
o EBS volumes for data that needs to persist – important to back up data.
o Can take incremental backups of EBS volumes by creating Amazon EBS snapshots.
Amazon EBS Snapshots
o First backup taken of a volume copies all data.
o Subsequent backups – only blocks of data that have changed since most recent snapshot saved.
Incremental backups different from full backups
o All data in a storage volume copies each time backup occurs.
o Full backup includes data that has not changed since most recent backup.
Object storage
o When a file in object storage is modified, the entire object is updated.
Amazon Simple Storage Service (Amazon S3)
Amazon S3 Storage Classes
S3 Standard
S3 Standard-Infrequent Access (S3 Standard-IA)
S3 One Zone-Infrequent Access (S3 One Zone-IA)
S3 Intelligent-Tiering
S3 Glacier
S3 Glacier Deep Archive
S3 Standard
S3 Standard-Infrequent Access (S3 Standard-IA)
lower storage price and higher retrieval price.
S3 One Zone-Infrequent Access (S3 One Zone-IA)
• Good storage class to consider if following conditions apply: o You want to save costs on storage.
o You can easily reproduce your data in the event of an Availability Zone failure.
S3 Intelligent-Tiering
S3 Glacier
S3 Glacier Deep Archive
• Lowest-cost object storage class ideal for archiving.
• Able to retrieve objects within 12 hours.
o Deciding between Amazon S3 Glacier and Amazon S3 Glacier Deep Archive – consider how quickly you need to retrieve archived objects.
File Storage
Amazon Relational Database Service (Amazon RDS)
• Service that enables you to run relational databases in AWS Cloud.
• Managed service that automates tasks e.g. hardware provisioning, database setup, patching, backups.
o Spend less time completing administrative tasks and more time using data to innovate your applications.
• Can integrate Amazon RDS with other services to fulfil business and operational needs.
o E.g. AWS Lambda to query database from serverless application.
Amazon Elastic File System (Amazon EFS)
scalable file system used with AWS Cloud services and on-premises resources.
• Add/remove files – Amazon EFS grows and shrinks automatically.
o Can scale on demand to petabytes without disrupting applications.
Relational Databases
Amazon RDS Database Engines (optimised for memory, performance, input/output (I/O))
Supported database engines:
Amazon RDS Database Engines (optimised for memory, performance, input/output (I/O))
Supported database engines: Amazon Aurora PostgreSQL MySQL MariaDB Oracle Database Microsoft SQL Server
Amazon Aurora
• Enterprise-class relational database.
• Compatible with MySQL and PostgreSQL relational databases.
• Up to five times faster than standard MySQL databases.
• Up to three times faster than standard PostgreSQL databases.
• Helps reduce database costs by reducing unnecessary input/output (I/O) operations.
o Ensuring database resources remain reliable and available.
• Consider if workloads require high availability.
o Replicates six copies of data across three Availability Zones.
o Continuously backs up data to Amazon S3.
Amazon DynamoDB
• Serverless – do not have to provision, patch or manage servers.
o Do not have to install, maintain or operate software.
Nonrelational Databases
• Create tables.
o Table is place where you can store and query data.
• Sometimes referred to as “NoSQL databases” use structures other than rows and columns to organise data.
• Type of structural approach: key-value pairs.
o Data organised into items (keys) and items have attributes (values).
o Attributes as being different features of data.
o Can add/remove attributes from items in table at any time.
o Not every item in table has to have same attributes.
Amazon Redshift
AWS Database Migration Service (AWS DMS)
• Enables you to migrate relational databases, nonrelational databases and other types of data stores.
• Move data between source database and target database.
o Source and target databases can be of same type or different types.
o During migration – source database remains operational, reducing downtime for any applications that rely on database.