Creating a 3-tier Application With Totalcloud’s Code-Free Workflows

Let’s say you have the use case to deploy a 3-tier application on your cloud infrastructure. With the currently available methods, you’d either manually code it or provision it using the AWS CLI, or you’d write out a Cloudformation or Terraform script.

Needless to say, the manual method is not only tedious but chaotic, time-consuming & prone to errors. You’re not just programmatically scripting the requirements and configuring multiple services independently, but spending time testing them, fixing bugs & then deploying it. Some of these issues are solved by tools like Terraform & CloudFormation, that allow you to write code that’s more readable — but the catch here is that your DevOps engineers need a considerable amount of Terraform & CF language knowledge and skill to be able to write the code.

This complex process can be made a whole lot simpler, and 40% faster by deploying the application through simple workflows. As it was a customer-requested use case, we templatized it. Anyone can build this out on our automation builder by simply putting together the building blocks in a logical manner — without a single line of code. Imagine explaining the concept to a colleague on a whiteboard? That’s exactly how it works. Your DevOps engineers can express the use case in the form of a workflow in no more than a few minutes, end to end — and with complete customization. If you feel the absolute need to write custom code somewhere — you can do that too.

These no-code workflows cut down engineering effort by more than 99%, without demanding them to learn a new language. We’re democratizing the process, so anyone can do it. These same building blocks can be arranged in any combination to achieve any such use case, no matter how complex, without any programming.

This specific customer use case required a 3-tier Application — divided into 3 separate layers — one public layer and two private layers. The public layer acts as a shield for the private layer. The public layer is easily accessible to outside sources but the private layers are strictly designated only to those inside the network. We created 3 workflows — one to provision each layer — that ran sequentially to deploy this application.

Process

The goal of these three workflows to create the individual layers that mimic the three layers of a 3-tier application. Our outer layer being the network layer, following up with the traffic layer and then the database layer. We’ll configure a fixed set of AWS services to get this done. No coding, no navigating between different pages or any other hassle. Everything will be available in the workflow setup, we just need to connect the nodes and create a flow of events.

We shall be making use of the following AWS services to design and build a three-tier cloud infrastructure

  • Elastic Compute Cloud (EC2)
  • Auto Scaling Group
  • Virtual Private Cloud(VPC)
  • Elastic Load Balancer (ELB)
  • Security Groups
  • The Internet Gateway.

We use Totalcloud Workflows to create a trigger, action, and some custom code nodes that configures the earlier mentioned services to create the application.

What a 3 Tier Application offers

  • Scalability
  • High Availability
  • Fault Tolerance
  • Security

Network Layer

Here, we set up all the network resources to establish a connection and manage the other resources.

The first few nodes are set up to establish the VPC. 4 subnets are created with designated IPs that will be attached to the internet gateway. This way, we establish a connection between our services to the internet.

Normally, with AWS, you will need to configure each of these services separately. With these action nodes, however, you can configure several different services consecutively without any coding or navigating between pages.

Traffic Layer

The traffic layer manages the traffic with the below services, it also responds and reacts to changing demands in traffic.

The second workflow is entirely focused on managing moving data. This is achieved by setting up route tables and associate route tables connected to the previously established internet gateway.

A load balancer is also configured to manage the data across the EC2 instances. In case, you need to adjust the EC2 scale to match your incoming load, we’re also configuring an auto-scaling group.

Database Layer

Here, we created the DB Instances that will help store and manage the data.

An RDS db instance to act as our database. The cloudFront content distribution will allow the user to distribute the data to desired locations.

Conclusion

Many other use cases can be translated similarly to our workflows. It’s a matter of combining the resources accurately. The building blocks that we’ve laid out with our platform can be used in any number of ways with zero coding. If you have a resource you wish to simplify, try to use our workflows to your advantage.

Creating a 3-tier Application With Totalcloud’s Code-Free Workflows

Smart Scheduling at your fingertips

Go from simple to smart, real-time AWS resource scheduling to save cost and increase team productivity.

Learn More
More Posts

You Might Also Like

Cloud Computing
20 Cloud Influencers You Should Be Following in 2020
It’s important to follow the right individuals so that you remain on the loop and always find yourself learning things that you were unaware of. These thought leaders and influencers can only be the avenues by which you meet other interesting technologists.
September 23, 2020
Hrishikesh
Cloud Computing
Everything You Need To Know About Kubernetes Scheduler
When creating a Kubernetes cluster, scheduling the pod to an available node is an important component of the process. This component works under specific rules and technicalities that I’d like to explore in this article...
September 23, 2020
Hrishikesh
Cloud Automation
New In: No-code cloud management workflows for Azure, VMware & Private Cloud (in addition to AWS)
At TotalCloud, we’ve been enabling workflow-based cloud management for AWS to make it intuitive, accelerated, and no-code. Instead of programming cloud management use cases or depending on siloed solutions, we built out a platform that gives you building blocks to assemble any cloud management solution. 
September 4, 2020
Sayonee
Cloud Computing
List of Essential Kubernetes Tools
Kubernetes is a Container-as-a-Service with tons of unique tools to choose from. External tools play a role in integrating with different systems or maintaining control over the clusters you deploy. Manual health checks and troubleshooting is not ideal to keep a system in full health.This list of tools will provide ample support to your containers and have enough configuration to leave management flexible...
August 12, 2020
Hrishikesh
AWS Use Case Files
TotalCloud Inventory Actions: Giving a new meaning to Cloud Inventory
Learn how the TotalCloud Inventory Dashboard can become equivalent to your cloud provider’s SDK. Carry out any action on any discovered resource with Inventory Actions.
July 30, 2020
Sayonee
AWS Tips & Tricks
AWS Tutorial: Create an AWS Instance Scheduler with Terraform
Terraform is a popular IaaS tool used by many to create, update, and maintain their AWS architecture. If you use Terraform to provision your AWS architecture, you won’t be disappointed with our new AWS tutorial video.We provide you with the means to set up your own instance scheduler from Terraform...
July 20, 2020
Hrishikesh