3 Tier Architecture within AWS

Teshika Holmes
3 min readOct 15, 2022

--

One of the infinite tasks that DevOps engineers work on for companies large or small. Working on this assignment was a “beast” but somehow I had made it through. There were some bumps and bruises as I have tried to understand the assignment. I managed and this is the best I have done.

3 Tiered Architecture. It was the best I could do with the free stuff.

This project was a “beast” to say the least. It took me almost a month to complete it but somehow got through it. The first part I have started out with is to build out one tier at a time. The first tier is the Web Tier with two EC2s, one a private subnet and the other a public subnet using Ubuntu and CentOS Linux. The same for the Application Tier, two EC2 instances, both with the same Linux OS. The third tier is a free MySQL database. I chose Dynamo DB (I was under pressure to finish).

The EC2s were created with a VPC, 3 EC2s that were both public and private, another being a bastion host. It took weeks for me to get this project together and I have destroyed it a few times then started back over. I may have to do a redo after Level Up In Tech program is done. Then I can come back and edit this to it’s full potential. Happy face!

Week 10 EC2 that are getting a workout.

The EC2 are t2.micro, of course in order to ensure that 2 are private IP, and 2 are public IP addresses, in 2 different availability zones.

First is the web tier EC2. These were created within an AutoScale group with a minimum of 2 EC2s created at the time. The second is the creation of the security keys to make sure the web tiers with public IP addresses can get onto the internet and display a web page.

Beginning of the 3 tier project

The second set of EC2s created were the Application Tier. I only built 1 tier at a time as this project was time-consuming. The application tier only consisted of 2 private subnets. The way these EC2s were by an auto-scaling group (same as the web tier EC2s). A security group was added as well.

The database tier was the most complicated as it took me a few weeks and I was able to get the database done. It is supposed to be a MySql RDS. Ooops, I forgot to do that and ended up creating a DynamoDB instead. I like working with DynamoDB and I need to work on my SQL skillset as well. Thank for the encouragement Level Up In Tech.

bastion host used to allow the application tier to communicate with the MySQL RDS database and the Web tier.
web tier EC2 1
web tier EC2 2 note the IP addresses. created via AutoScale and configured into the EC2.

--

--

Teshika Holmes

I write stories about me or tech from time to time. I’m a rebellious GenXer who is fed up with the illusions. I love animals and I work in IT.