Data Store
The datastore is used to persist data needed by the microservices. Popular stores for session data are in-memory caches such as Memcached or Redis. Putting a cache between application servers and a database is a common mechanism for reducing the read load on the database, which, in turn, may allow resources to be used to support more writes. Caches also can improve latency.For larger data AWS provides relational and NoSQL databases. AWS offer object store S3 which is very popular object store, this can be used to host static websites.
- Amazon Aurora is a MySQL and PostgreSQL-compatible relational database built for the cloud, that combines the performance and availability of traditional enterprise databases with the simplicity and cost-effectiveness of open source databases.
- Amazon DynamoDB to create a database table that can store and retrieve any amount of data and serve any level of request traffic.
This is the complete Microservices Architecture on AWS and its different layers and the amazon services used on those layers.
Microservices Architecture on AWS
Monolithic applications are built using different layers, a user interface layer, a business layer, and a persistence layer. A central idea of a microservices architecture is to split functionalities into vertical layers but by implementing a specific domain.