Cloud Architecture : Multi-tier Layered Architecture

Kamran Ghyan
2 min readJan 21, 2021

In this article, we will build multi layer architecture for blog website and that perform the functions, e.g read blog, comment and share blogs on social media.

First principle while building architecture, architecture should be loosely coupled design and attributes of scalability and elasticity. In multi layer architecture divide application functions into multi layers, such as presentation, business, database, and services so that each layer can be implemented and scaled independently.

With multi layer architecture, it is easy to adopt new technologies and make development more efficient. This architecture provides flexibility to add new features in each layer without disturbing features of other layers, so if one layer get compromised, the other layers won’t be impacted. Application troubleshooting and management also become manageable as you can easily pinpoint where the issue is coming from and which part of the application needs to troubleshoot.

Multi Layer Architecture

In the above architecture, We have the following three layers

Web Layer: The web layer is the user-facing part of the application. End users interact with the web layer to collect or provide information.
Application Layer: The application layer mostly contains business logic and acts upon information received from the web layer.
Database Layer: All kinds of user data and application data are stored in the database layer.

I used AWS cloud service provider info-graphic, you can use any of choice, But the architecture remains the same.

In this article, you learned about multi-tier architecture; however,
the same architecture that is built for a single organization is also called
a single tenancy. In next article we will build multi-tenant architecture which is also known as Software-as-a-Service (SaaS).

--

--

Kamran Ghyan

Software Engineer, System Architecture, Cloud Architecture, AI enthusiastic