DEV Community

Cover image for A Practical Guide To Deploying A Three-tier Application On AWS

A Practical Guide To Deploying A Three-tier Application On AWS

Kelvin Onuchukwu on June 01, 2023

This post was originally published at Practical Cloud. View the longer, original version here. Multi-tiered architectures have become the most po...
Collapse
 
sohamds profile image
Soham De Sarkar

Thanks for this in-depth article on deploying a complex production-level application. Being a beginner to cloud, it helps people like me to bolster the learning from articles like this.

Collapse
 
brandondamue profile image
Brandon Damue

Great article! Deploying a complex production-level application on AWS can be a daunting task, but your article breaks it down into clear and actionable steps. I particularly appreciate how you discuss the various AWS services used and their specific roles in the deployment process. Your insights and best practices provide valuable guidance for anyone embarking on a similar journey. Keep up the excellent work!

Collapse
 
kelvinskell profile image
Kelvin Onuchukwu

Thank you.

Collapse
 
huncyrus profile image
huncyrus

Nice walkthrough! Do you have any cost-effective suggestion also? (And some insight of the cost of such stack)

Collapse
 
kelvinskell profile image
Kelvin Onuchukwu

In my day to day work, I use InfraCost. It is a really nice tool for performing cost analysis of your infrastructure before provisioning them - using terraform.

Collapse
 
lakincoder profile image
Lakin Mohapatra

Nice post

Collapse
 
kelvinskell profile image
Kelvin Onuchukwu

Thanks

Collapse
 
143umohsinkhan profile image
Mohsin Khan

Well !! this is greatly explained and described, but just question as mentioned to use PostgreSQL in architecture and using MySql ?

Collapse
 
kelvinskell profile image
Kelvin Onuchukwu

I had a change of heart while building the project. The python application already uses MYSQL. Using Postgres for this walkthrough would have meant re-writing the python application to use Postgres instead of MYSQL.

Collapse
 
ketharadha profile image
K

This is a great article. Hope explained each and every component is very nice.
I was looking for "The third project introduces a Reporting Layer into the architecture." Is the third part of this series is done? If yes, can you please share the link here or update in the start of this document?

Collapse
 
felipegutierrez profile image
Felipe Oliveira Gutierrez

Hey. Thanks for the very comprehensive tutorial. I enjoyed going through all configurations of the 3 tiers.
I was wondering if you can suggest to use AWS KMS on the step 5 to mount the EFS on the EC2 instance and not get the '# Get DB credentials' on the update user data on the EC2 instance. I think that storing passwords on the EC2 is defenetelly not safe, isn't it?

Collapse
 
lynnlangit profile image
Lynn Langit

this is really well-written - nice job and thanks for sharing!

Collapse
 
parkerproject profile image
Parker

A lot of brain power needed to go through this. great write up by the way