Case Study

Enhancing Efficiency and Security through Containerization and Centralized Monitoring in AWS

Download the Case Study
Industry 

Software Development

Expertise 

Amazon ECS, Amazon VPC, AWS CloudTrail, Amazon S3, Kibana, Elasticsearch

Offerings/solutions 

Advanced AWS Architecture for Microservices Using ECS, Autoscaling, and Security Groups

About the Client

FieldCircle is an innovative field service management software designed to boost efficiency, transparency, and profitability for small to medium-sized businesses and mid-market companies. By optimizing scheduling and dispatch processes, FieldCircle ensures technicians are deployed effectively, increasing overall productivity. The software provides real-time information and enhances communication between customers, back-office teams, and field service engineers, ensuring swift responses and superior service delivery.

Highlights

Efficiency

Efficiently manages logs

Visualization

Centralized monitoring and visualization

Optimization

Strategic task placement

The Challenge

Amazon ECS cluster faces multiple operational challenges. Unused Docker images, or dangling images, are accumulating on Amazon EC2 instances, causing disk space depletion and impeding functionality. Excessive consumption of AWS EBS volume space by logs disrupts services. The lack of centralized logging and monitoring complicates management. Also, the deployment strategy’s reliance on a single Availability Zone increases downtime risk, emphasizing the need for redundancy measures.

Solutions

  • Deployed highly available, scalable, and fault-tolerant microservices on an Amazon ECS cluster, utilizing Autoscaling and Application Load Balancers.
  • Configured custom security groups with specific naming conventions as virtual firewalls for all AWS workloads, effectively managing incoming and outgoing traffic.
  • Deployed MongoDB databases as containers on the Amazon ECS cluster running on Amazon EC2 instances and transitioned MySQL databases from public subnets to private subnets on RDS.
  • Set up the EFK (Elasticsearch, Fluent-bit, Kibana) stack on Amazon EC2 instances as a centralized logging and monitoring solution.
  • Collect application and container logs using Fluent-bit and Elastic APM-Agent and visualize them on Kibana dashboards.
  • Configured Private Hosted Zones with records for Elasticsearch, APM, and Kibana to ensure data generated by applications remains within the Amazon VPC and to avoid data transfer charges.
  • Deployed Fluent-bit as a Sidecar Container alongside the main application to collect and transfer container logs to Elasticsearch.
  • Enabled AWS CloudTrail logs across all regions and stored them in a central Amazon S3 bucket, with log file integrity validation.
  • Modified the existing Launch Template to include additional subnets for high availability, and wrote a custom userdata script to clear dangling images.
  • Leveraged Amazon ECS Service with Placement Strategies to distribute containers evenly among instances in different Availability Zones.

The Results

CloudThat has adopted containerization for all applications, integrating fluentbit for streamlined log management. They’ve implemented Elasticsearch, Kibana, and APM for centralized monitoring. Strategic task placement ensures even distribution of containers across infrastructure for optimal performance. Amazon EC2 instances, including Autoscaling-managed ones, have been moved from public to private subnets.

Download the Case Study

AWS Partner – Data Analytics Services Competency

Pioneering Data Analytics space by being an AWS Partner – Data Analytics Services Competency.

Learn more

An authorized partner for all major cloud providers

A cloud agnostic organization with the rare distinction of being an authorized partner for AWS, Microsoft, Google and VMware.

Learn more

A house of strong pool of certified consulting experts

150+ cloud certified experts in AWS, Azure, GCP, VMware, etc.; delivered 200+ projects for top 100 fortune 500 companies.

Learn more

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!