Skip to main content

Command Palette

Search for a command to run...

Migrating to AWS with Application Discovery Service (ADS)

Updated
β€’12 min read
Migrating to AWS with Application Discovery Service (ADS)
P

PRAFUL PATEL β˜οΈπŸš€, Highly skilled and motivated Cloud Engineer with a proven track record of designing, implementing, and managing robust cloud infrastructure solutions. With years of hands-on experience, I am deeply passionate about creating scalable and resilient cloud architectures that drive innovation and deliver optimal business outcomes. πŸ›  Key Competencies:

Cloud Platforms: AWS, Azure, GCP, OCI Infrastructure as Code: Terraform, Ansible Containers & Orchestration: Docker, Kubernetes Scripting: Python, Bash/Shell CI/CD & Version Control: GitHub, Jenkins, CircleCI Monitoring & Analytics: Grafana, Prometheus, Datadog, New Relic Backup & Recovery: Veeam Operating Systems: Linux, Windows DevOps Tools: AWS Code Build, Code Pipeline, Azure DevOps

πŸ“š Continuous Learning: Staying ahead in the rapidly evolving cloud landscape is my priority. I am committed to expanding my skill set and embracing emerging cloud technologies to drive efficiency and innovation. Passionate Cloud/DevOps enthusiast dedicated to designing, building, and deploying cutting-edge technology solutions. As a devoted YouTuber, I love sharing insights through informative videos and crafting technical blogs that delve into areas like ☁️ Cloud, πŸ› οΈ DevOps, 🐧 Linux, and πŸ“¦ Containers. πŸ’» Open Source Advocate: Contributing to open-source projects is a vital part of my journey. I actively engage in projects centered around Cloud, DevOps, Linux, and Containers, fostering collaboration and innovation within the community. πŸ’Œ Let's Connect: I am enthusiastic about virtual collaborations and meeting fellow professionals. Let's explore how I can contribute to your organization's cloud goals. Feel free to connect or DM me.

🌐 Portfolio: Check out my portfolio πŸ”— LinkedIn: Connect on LinkedIn πŸ› οΈ GitHub: Explore my projects πŸŽ₯ YouTube: Watch my videos πŸ“ Medium: Read my articles 🌐 Dev.to: Check out my posts

πŸ“‹ Overview

The Application Discovery Service (ADS) is the first step in migrating your workloads to AWS. It helps analyze your on-premises environment, identifying dependencies, resource usage, and configurations to streamline your migration journey.

Cloud migration is a strategic decision that requires proper planning, cost analysis, and infrastructure assessment before execution. This blog serves as a step-by-step guide to migrating workloads from an on-premises environment to AWS using Application Discovery Service (ADS).

πŸ“Œ Follow the Detailed Documentation on GitHub

For in-depth step-by-step guidance on AWS migration using Application Discovery Service (ADS) and TCO analysis, refer to the full project documentation on GitHub.

πŸ”— GitHub Repository: AWS Migration Project

πŸ”— Watch the Project Video on YouTube

πŸ“„ Detailed Guides Include:
βœ… Pha
se 1: AWS Application Discovery & TCO Analysis πŸ“Š
βœ… Phase 2: Migration Planning & Execution πŸš€
βœ… Phase 3: Post-Migration Optimization & Scaling πŸ“ˆ

🌍 What is AWS Application Discovery Service (ADS)?

ADS is the first step in migrating workloads to AWS. It helps analyze on-premises infrastructure, identifying:
βœ… Resource utiliz
ation (CPU, memory, storage, and networking).
βœ… Application dependencies to ensure smooth transition.
βœ… Right-sizing AWS infrastructure for cost optimization.

πŸ“Œ Key Focus Areas of This Blog

1️⃣ Phase 1: Discovery & TCO Analysis

  • Analyze on-premises workloads using ADS.

  • Evaluate cost savings through a Total Cost of Ownership (TCO) analysis.

  • Plan AWS infrastructure (EC2, RDS, Auto Scaling, Storage).

🌐 On-Premises Infrastructure Setup for AWS Migration

Before migrating workloads to AWS, it is crucial to understand the existing on-premises environment. This helps in determining infrastructure dependencies, resource utilization, and compatibility with AWS services. πŸš€

🏒 On-Premises Setup Overview

πŸ”Ή Web Application Server

  • Hosted on a local server running Apache or NGINX.

  • Handles HTTP requests and serves dynamic/static content.

  • Connected to the database server for backend processing.

πŸ”Ή Database Server

  • Uses MySQL as the primary database.

  • Stores application data, user information, and business transactions.

  • Communicates with the web application over a local network.

πŸŽ‰ Web Application UX – Online Banquet Booking System

A seamless user experience (UX) is the backbone of any successful online banquet booking system. Whether users are reserving banquet halls for weddings, corporate events, or private parties, the platform should be intuitive, responsive, and hassle-free.

Let’s explore the ideal UX flow for an Online Banquet Booking System and how it ensures a smooth journey for users. πŸš€

πŸ–₯️ Key Features for an Intuitive UX

1️⃣ Home Page – First Impressions Matter! 🏑

  • A visually appealing landing page with a search bar for quick venue lookup.

  • High-quality images & videos showcasing banquet halls.

  • Featured halls with ratings, price range, and capacity.

  • Call-to-Action (CTA): β€œFind Your Perfect Venue” πŸ”Ž

2️⃣ Venue Search & Filtering πŸ”

  • Smart search with filters for:
    βœ… Location πŸ“
    βœ… Date & Availability πŸ“…
    βœ… Capacity 🏒
    βœ… Budget πŸ’°
    βœ… Amenities (WiFi, Parking, Catering) 🍽️

3️⃣ Venue Details Page 🏒

  • Detailed descriptions of banquet halls with images, pricing, and amenities.

  • Customer reviews & ratings ⭐⭐⭐⭐⭐

  • Availability calendar to check open slots.

  • A "Book Now" button for seamless reservations.

4️⃣ Seamless Booking Flow πŸ›’

  • Step 1: User selects a date & time slot.

  • Step 2: Chooses add-ons (catering, decoration, music, etc.) 🎢

  • Step 3: Provides personal details & special requests.

  • Step 4: Online payment integration πŸ’³ (Stripe, PayPal, UPI).

  • Step 5: Confirmation email & SMS πŸ“©.

5️⃣ User Dashboard & Booking Management πŸ› οΈ

  • Users can view, modify, or cancel bookings.

  • Download invoices & event details πŸ“œ.

  • Track upcoming reservations.

  • Loyalty rewards & offers for repeat customers. 🎁

6️⃣ Admin Panel for Venue Owners 🏒

  • Manage venue listings, pricing, and availability.

  • Track customer bookings & payments.

  • Generate reports on revenue & performance πŸ“Š.

πŸ” Challenges with On-Premises Infrastructure

❌ High Maintenance Costs – Requires constant hardware upgrades and monitoring.
❌ Scalability Issues – Limited ability to scale resources dynamically.
❌ Security Risks – On-premises setups often require manual security configurations.
❌ Disaster Recovery Concerns – Risk of data loss without cloud backups or redundancy.

πŸ”œ Next Steps: Migrating to AWS EC2 & RDS

With the AWS Application Discovery data analyzed, the next step is to migrate workloads to AWS efficiently. In Phase 2, we will:

βœ… Choose the right EC2 instance types & storage
βœ… Set up Auto Scaling & Load Balancers
βœ… Optimize database migration with RDS or Aurora

πŸ’‘ Why Migrate to AWS?

βœ… Elastic Compute Scaling – Easily scale web servers using EC2 Auto Scaling.
βœ… Managed Databases – Leverage Amazon RDS for automated backups and maintenance.
βœ… High Availability – Deploy across multiple AWS Regions & Availability Zones.
βœ… Lower TCO (Total Cost of Ownership) – Reduce upfront infrastructure costs.

πŸ— What is AWS Application Discovery Service?

AWS Application Discovery Service (ADS) helps enterprises automate the collection of on-premises system metadata before migrating workloads to AWS.

How AWS ADS Works

πŸ”Ή Scans on-premises servers and collects CPU, memory, storage, and network data.
πŸ”Ή Identifies application dependencies and usage patterns.
πŸ”Ή Provides insights for right-sizing AWS infrastructure post-migration.

AWS ADS supports two discovery methods:
1️⃣ Agent-Based Discovery (For deep-level data collection, including system processes).
2️⃣ Agentless Discovery (For VMware-based environments).

➑️ Detailed Documentation: AWS ADS Official Guide


🎯 Why Use AWS ADS for Migration?

βœ… Comprehensive Data Collection: Automates server discovery and provides real-time metrics.
βœ… Migration Planning: Helps identify dependencies and application workloads.
βœ… Optimized AWS Resources: Right-size EC2 and RDS instances post-migration.
βœ… Cost-Saving: Eliminates over-provisioning by analyzing actual resource usage.

βš™οΈ Pre-Requisites & Deployment

Before deploying AWS ADS, ensure the following:

πŸ”Ή 1️⃣ Pre-Requisite Setup

βœ… Configure IAM Roles & Policies for ADS to access on-premises servers.
βœ… Verify network connectivity between your on-premises servers and AWS.
βœ… Ensure your firewall rules allow ADS communication.

πŸ“„ Step-by-Step Guide: Pre-Requisite Setup


πŸ”Ή 2️⃣ Deploy AWS ADS

πŸš€ Steps to deploy:
1️⃣ Install AWS Discovery Agent on on-premises servers.
2️⃣ Configure agent-based or agentless discovery (depending on your infrastructure).
3️⃣ Set up AWS Migration Hub to monitor discovery insights.
4️⃣ Verify ADS is collecting data from your on-premises workloads.

πŸ“„ Detailed Guide: AWS ADS Deployment


🎯 Key Benefits of AWS ADS

βœ… 1. Data-Driven Migration Decisions

βœ”οΈ Collect real-time data on CPU, memory, and disk utilization.
βœ”οΈ Avoid assumptions and right-size AWS instances based on actual resource usage.

πŸ”— 2. Application Dependency Mapping

βœ”οΈ Identify interconnected workloads that must be migrated together.
βœ”οΈ Reduce post-migration downtime and compatibility issues.

πŸ’° 3. Cost Optimization

βœ”οΈ Prevent over-provisioning AWS resources.
βœ”οΈ Ensure efficient workload placement based on real-world usage metrics.

πŸ“Š 4. Faster Migration Planning

βœ”οΈ Reduce planning time using automated discovery insights.
βœ”οΈ Eliminate the need for manual infrastructure assessments.

πŸš€ Phase 1: AWS Application Discovery & TCO Analysis

Cloud migration is more than just moving workloads to the cloud. Understanding your existing infrastructure, dependencies, and costs is critical before making the move. In Phase 1, we leveraged AWS Application Discovery Service (ADS) to analyze our environment and performed a Total Cost of Ownership (TCO) Analysis to estimate the potential savings and efficiency improvements.

This blog walks you through the key steps, tools used, and what we achieved in this phase! πŸ“Š


πŸ“Œ Key Steps in Phase 1

πŸ”Ή AWS Application Discovery & TCO Analysis


πŸ” What We Achieved in Phase 1

βœ… 1. Setting Up AWS Migration Prerequisites

πŸ“„ Discovery Service Deployment: Collecting Data

  • Configured AWS Migration Hub to track migration progress 🌍.

  • Created necessary IAM roles and permissions for secure access πŸ”.

  • Defined AWS Application Discovery Service (ADS) setup to analyze infrastructure.

πŸ›  2. Deploying AWS Discovery Service

  • Installed ADS Agents on Web and Database servers to collect system data πŸ–₯οΈπŸ“Š.

Data Collectors:

WebServer

Technical Information

Performance Information

DbServer

Technical Information

Performance Information

  • Verified network dependencies, CPU utilization, memory usage, and active processes.

WebServer

DbServer

  • Organized servers into Application Groups for better classification.

πŸ’° 3. High-Level TCO (Total Cost of Ownership) Analysis

  • Compared on-premise costs vs. AWS projected costs across:

    • Compute (EC2 vs. on-prem servers) βš™οΈ

    • Storage (S3, EBS vs. local storage) πŸ“¦

    • Networking (AWS Data Transfer vs. existing network costs) 🌐

    • Database (AWS RDS vs. on-prem SQL/Oracle) πŸ—„οΈ

  • Identified potential cost savings and ROI for cloud migration πŸ“‰.


πŸ› οΈ Tools Used in This Phase

πŸ”Ή AWS Application Discovery Service (ADS) – Collected system performance, network dependencies, and server data.
πŸ”Ή AWS Migration Hub – Centralized dashboard for tracking server inventory and migration status.
πŸ”Ή IAM (Identity and Access Management) – Created roles and permissions for secure access.
πŸ”Ή CloudTrail – Monitored activities and logs related to migration actions.
πŸ”Ή Application Groups – Used in Migration Hub to organize and manage servers efficiently.


πŸ“Š High-Level TCO Analysis for WebServer & DatabaseServer Migration to AWS


πŸ“‹ Overview

As organizations migrate their Web Servers and Database Servers from on-premises infrastructure to AWS Cloud, performing a Total Cost of Ownership (TCO) analysis is crucial. This document evaluates the on-prem vs AWS cloud cost breakdown, helping decision-makers optimize costs, improve scalability, and enhance security.

βœ… What This Guide Covers

  • πŸ“Š TCO breakdown of on-prem vs. AWS

  • πŸ’» Recommended AWS services for Web & Database servers

  • πŸ’° Projected cost savings and optimization strategies

For a detailed documentation on the TCO (Total Cost of Ownership) Analysis, visit:

πŸ“„ πŸ“Œ High-Level TCO Analysis Documentation

πŸ“Œ Current On-Premises Infrastructure Overview

πŸ“Œ Web Server Analysis (ip-10-0-1-82) πŸ’»

πŸ”Ή Application: WebApp
πŸ”Ή OS: Ubuntu 24.04.1 LTS
πŸ”Ή CPU: 1 vCPU (x86_64)
πŸ”Ή RAM: 1 GB
πŸ”Ή Storage: 8 GB SSD
πŸ”Ή Hypervisor: Xen
πŸ”Ή Network Interfaces: 1

Performance Metrics πŸ“Š

  • CPU Usage: 0.35% πŸ–₯️

  • RAM Usage: 38.77% πŸ’Ύ

  • Disk Reads: 1.59 KBPS πŸ“₯

  • Disk Writes: 2.82 KBPS πŸ“€

πŸ’‘ Observations:
βœ… CPU usage is minimal, meaning we don’t need a high-end instance.
βœ… RAM consumption is moderate (38.77%), but might need an upgrade in production.
βœ… Disk I/O is low, so an EBS gp3 volume would be a good fit post-migration.

πŸ—„οΈ Database Server Analysis (ip-10-0-2-254)

πŸ”Ή Application: DatabaseServer
πŸ”Ή OS: Ubuntu 24.04.1 LTS
πŸ”Ή CPU: 1 vCPU (x86_64)
πŸ”Ή RAM: 1 GB
πŸ”Ή Storage: 8 GB SSD
πŸ”Ή Hypervisor: Xen
πŸ”Ή Network Interfaces: 1

Performance Metrics πŸ“Š

  • CPU Usage: 0.31% πŸ–₯️

  • RAM Usage: 43.34% πŸ’Ύ

  • Disk Reads: 0.86 KBPS πŸ“₯

  • Disk Writes: 1.79 KBPS πŸ“€

πŸ’‘ Observations:
βœ… Low CPU utilization suggests no need for a compute-heavy instance.
βœ… Higher RAM usage (43.34%) indicates potential memory constraints.
βœ… Disk I/O is light, making gp3 SSD storage an optimal choice.

πŸ› οΈ Migration Considerations & Recommendations

Based on this performance analysis, here’s our recommended AWS migration plan:

πŸ”Ή EC2 Instance Sizing:

  • Web Server β†’ t3.micro (2 vCPU, 1GB RAM)

  • Database Server β†’ t3.small (2 vCPU, 2GB RAM) (Upgrade for better performance)

πŸ”Ή Storage Optimization:

  • Use gp3 EBS volumes for both servers to balance cost and performance.

πŸ”Ή Auto Scaling:

  • Configure AWS Auto Scaling to handle unexpected traffic spikes.

πŸ”Ή Database Optimization:

  • Consider Amazon RDS for managed PostgreSQL/MySQL instead of self-managed DB.

πŸ“Š TCO Breakdown: On-Premises vs. AWS

πŸ’° On-Premises Cost Estimate

CategoryEstimated Annual Cost (USD)
Hardware (CPU, RAM, Storage, Network)$1000
Power & Cooling$250
Network Infrastructure (Firewall, Router, Bandwidth)$400
IT Maintenance (Admin, Patching, Backups)$800
Security & Compliance$500
Backup & Disaster Recovery$300
Total On-Premises Cost~$3250 per year

☁️ AWS Cost Estimate (EC2 + RDS)

AWS ServiceEstimated Monthly Cost (USD)Estimated Annual Cost (USD)
t4g.micro EC2 (WebServer)$7.70$92.40
t4g.nano EC2 (DatabaseServer)$3.85$46.20
10GB EBS (gp3 Storage)$2.00$24.00
Amazon RDS (db.t4g.micro, 10GB SSD, Multi-AZ)$18.00$216.00
Data Transfer (Low-Traffic Estimate)$4.00$48.00
Amazon CloudWatch (Basic Monitoring)FreeFree
Backup (EBS Snapshot + RDS Automated Backups)$5.00$60.00
Total AWS Cost$40.55~$486.60 per year

πŸ“‰ TCO Savings Analysis

MetricOn-PremisesAWSSavings (%)
Annual Cost~$3250~$48685% Reduction
ScalabilityLowHighFlexible Auto-Scaling
MaintenanceHighLowManaged Services
SecurityManualAWS IAM, WAFBetter Compliance
Performance MonitoringManualCloudWatchAutomated Insights

βœ… AWS Migration reduces costs by ~85%
βœ… Significant reduction in maintenance, networking, and power costs
βœ… AWS RDS provides auto-scaling & automatic failover for databases

πŸ“Œ Next Steps - How to Perform a Detailed TCO Analysis

Step 1: Identify Current Costs

πŸ“Œ Analyze existing hardware, software, networking, maintenance, security costs.
πŸ“Œ Calculate power, cooling, IT support, disaster recovery expenses.

Step 2: Map AWS Services

πŸ“Œ Identify right-sized EC2 instances, Amazon RDS, storage options.
πŸ“Œ Estimate AWS Networking, Backup, and Security Costs.

Step 3: Calculate AWS TCO

πŸ“Œ Use AWS Pricing Calculator β†’ AWS TCO Calculator
πŸ“Œ C
ompare on-premises annual costs vs AWS annual costs.

Step 4: Optimize AWS Costs

πŸ“Œ Consider Savings Plans, Reserved Instances, or Spot Instances for long-term savings.
πŸ“Œ Implement Auto-Scaling & Monitoring to avoid over-provisioning.


🎯 Conclusion

Migrating Web Servers & Database Servers to AWS provides:
βœ… 85% cost savings compared to on-prem infrastructure
βœ… Scalability &
high availability via AWS Auto-Scaling, RDS Multi-AZ
βœ… Reduced IT maintenance using managed AWS services
βœ… Enhanced security & monitoring with AWS IAM, WAF, and CloudWatch

πŸš€ Ready to migrate? Start by running AWS Application Discovery Service (ADS) for automatic migration insights.

πŸ“– References

Phase 2 - Database Migration & Execution

With Phase 1 complete, we now have full visibility into our infrastructure, dependencies, and costs. The next step is migration planning and execution!

πŸ“Œ In Phase 2, we will:
βœ… Choose the right AWS services
for hosting applications
βœ… Develop an automated infrastructure strategy (Terraform, CloudFormation)
βœ… Optimize our AWS cost management for long-term savings

πŸ’¬ Have questions about AWS migration? Drop a comment below!
πŸ“’ Follow for more real-world AWS Cloud Migration insights! πŸš€

πŸ’‘ Why This Blog?

This guide is designed for IT professionals, cloud architects, and DevOps engineers who want to:
βœ… Understand AWS migration best practices.
βœ… Perform detailed cost comparisons between on-prem and AWS.
βœ… Use AWS services effectively to ensure a smooth migration.

Whether you’re planning a small-scale migration or a large enterprise transition, this blog will help you navigate each phase efficiently!

πŸ“’ Stay tuned for real-world AWS migration insights and hands-on tutorials! πŸš€

πŸ”— GitHub Repository: mgn-aws-project01

πŸ§‘β€πŸ’» Author

πŸ‘¨β€πŸ’» Created and maintained by Praful Patel.
πŸ”— GitHub | 🌍 Tech Blog

A

Thanks for the comprehensive document. A very well written and I liked following - Started with an Application use case, breadth of migration process and depth of tooling and steps. The TCO is exhaustive.

AWS Projects

Part 3 of 12

πŸ”₯ **AWS Cloud Hands-On Projects**: Elevate Your Skills with Real-World Experience πŸš€ Dive into a world of cloud mastery as we explore captivating projects that fuse cutting-edge technology with hands

Up next

AWS Serverless Project: Video Upload and Playback Application

Overview This project showcases a fully serverless video upload and playback application built using AWS services. The application enables users to upload videos, store them in Amazon S3, and manage metadata in DynamoDB. Videos can then be fetched an...

More from this blog

C

cloud/devops

29 posts

PRAFUL PATEL β˜οΈπŸš€, Highly skilled and motivated Cloud/DevOps Engineer with a proven track record of designing, implementing, and managing robust cloud infrastructure solutions.