AWS DEPLOYMENT : Simplified
A Beginner's Journey Through Ampilfy, EC2, S3

When I started deploying applications on AWS, the process feels confusing and it looked like it will tough. In AWS there are multiple services like AWS Amplify, Amazon EC2, and AmazonS3 each services are for different purpose, I started thinking to use which first and who. This blog is about my first attempt to explain the confusion that how deployment works in these three AWS services, based on my learning experience. If you’re a beginner for AWS services trying to understand AWS deployments in a practical way through this vlog.In first I have started the deployment using AWS Amplify.
DEPLOYMENT IN AWS (AMPLIFY)

This architecture shows how AWS Amplify integrates CI/CD, frontend hosting, and media processing services using AWS-managed components.
AWS Amplify Workflow (Quick Explanation)
The application code is stored in a GitHub repository.
GitHub Actions triggers the CI/CD pipeline whenever code is pushed.
Jest runs automated tests to ensure code quality.
AWS Amplify CLI (
amplify init,add,push) builds and deploys frontend and backend resources.Media files are processed using AWS Elemental services (MediaLive, MediaPackage, MediaStore).
Uploaded files in Amazon S3 trigger AWS Lambda, which uses MediaConvert for transcoding.
Amazon CloudFront delivers the application and media globally with low latency.
End users access a secure, scalable, serverless application.
In one line
AWS Amplify automates CI/CD, hosting, and backend integration using fully managed AWS services.
DEPLOYMENT IN AWS (EC2)
EC2 Deployment Workflow (Quick Explanation)

How Deployment Works
Code is pushed to a GitHub repository.
One or more EC2 instances run the application.
The application is started using PM2 / systemd.
Application Load Balancer (ALB):
Distributes traffic across EC2 instances
Improves availability and scalability
AWS Certificate Manager (ACM) provides an SSL certificate.
ALB handles HTTPS (port 443) termination securely.
Traffic is forwarded to EC2 instances on HTTP.
Users access the app via a secure HTTPS domain.
One-line Summary
Using ALB with EC2 enables scalable, highly available, and secure HTTPS deployments.
DEPLOYMENT IN AWS (S3)
there are few methods for S3 deployment In S3 only support websites, that can be used by doing the following steps.
How Deployment Works
Application code is pushed to a GitHub repository.
AWS Amplify connects directly to the repository.
Every push triggers automatic build & deployment.
Amplify builds the app and stores files in Amazon S3.
Amazon CloudFront delivers content globally.
Amplify provides HTTPS by default with managed SSL.
No servers or instance management required.
One-line Summary
AWS Amplify deploys static apps to S3 with built-in CI/CD, CDN, and HTTPS — fully serverless.