AWS Fargate DevOps: Autoscaling with Terraform at Practice
Learn to deploy, scale, and optimize any web application or worker on AWS ECS Fargate using Terraform, in real examples
2 hr 39 m of video content
Intermediate
Validation of Completion Included
Buy this course now
$99.99Course Overview
Infrastructure as Code has become a cornerstone of modern cloud engineering, enabling organizations to provision, manage, and scale infrastructure consistently through automation. Combined with AWS Fargate, Terraform allows developers and DevOps engineers to deploy containerized applications without managing servers, improving scalability, reliability, and operational efficiency. This course provides practical experience in building cloud-native infrastructure using industry-standard AWS services and Terraform.
This course begins with a Flask-based web application and its architecture before introducing Terraform for provisioning core AWS infrastructure, including networking, SNS, SQS, Application Load Balancers, and AWS Certificate Manager. You will then deploy containerized applications to Amazon ECS Fargate using Docker, Amazon ECR, IAM roles, task definitions, and target groups. The course continues with implementing CPU, memory, step-based, and SQS-driven autoscaling policies using Terraform, followed by testing real-world scaling scenarios. Finally, you will explore AWS Fargate pricing models, compare costs with EC2, and apply optimization techniques using ARM architectures, Fargate Spot, and Savings Plans.
By the end of this course, you will be able to automate, deploy, scale, and optimize containerized applications on AWS using Terraform and Amazon ECS Fargate.
What You Will Learn
- Deploy a Web API application and SQS worker to AWS using AWS Fargate and Terraform.
- Deploy core AWS ECS infrastructure on AWS Fargate using Terraform.
- Understand AWS Fargate Auto Scaling and how it dynamically adjusts application capacity.
- Implement target tracking Auto Scaling policies using Terraform.
- Configure step scaling policies with Amazon CloudWatch alarms and Terraform.
Program Curriculum
- Flask App - Local Environment
- Flask App - Code Overview, How Application Works
- Chapter 1 Quiz
- Terraform Installation with tfenv
- AWS Profile and Terraform Configuration
- Running Base Terraform Scripts - Essential Introduction
- Applying Terraform - Part 1: Pre-init, Network, and SNS Terraform Modules
- Applying Terraform - Part 2: SQS Terraform Module, Testing Worker Mode
- Applying Terraform - Part 3: ALB Terraform Module and AWS Certificate Manager
- Applying Terraform - Part 4: AWS ALB Terraform Source Code
- Applying Terraform - Part 5: General Architecture Scheme and Request Workflow
- Chapter 2 Quiz
- What is AWS Fargate?
- Build Docker Image and Push It to the AWS ECR
- Fargate Terraform Module Overview - Part 1: ECS Cluster, Network Configurations
- Fargate Terraform Module Overview - Part 2: IAM Roles
- Fargate Terraform Module Overview - Part 3: ECS Service
- Fargate Terraform Module Overview - Part 4: Task Definition Template
- Target Group Terraform Module and Implementation Code - Part 1
- Target Group Terraform Module and Implementation Code - Part 2
- AWS Fargate - Apply Terraform Code, AWS Console, Inside Container
- Chapter 3 Quiz
- Autoscaling Types and Use Cases Being Covered
- When Should We Use Autoscaling?
- Autoscaling Terraform Module with Predefined CPU and RAM Target Metrics
- Testing Predefined CPU and Memory Autoscaling in Practice
- Target Tracking Autoscaling Surprises
- Step Autoscaling Terraform Module - Part 1
- Step Autoscaling Terraform Module - Part 2
- Applying Autoscaling with Predefined Custom SQS Metric, Testing Worker
- Terraform Code Autoscaling with Predefined Custom SQS Metric
- Testing Autoscaling with Predefined Custom SQS Metric in Practice
- Autoscaling Summary
- Chapter 4 Quiz
- How Much Fargate Costs, Price Comparison with EC2
- CPU Architecture and Saving Plans
- Fargate Spot
- Cost Optimization Recommendations
- Chapter 5 Quiz
Instructor
Sergii Demianchuk
Sergii Demianchuk is a software engineering professional with nearly 20 years of experience in building scalable applications and cloud-based solutions. As the CTO and System Architect at Clicktrans, one of Europe's largest transport marketplaces, he specializes in system architecture, machine learning, big data, DevOps, cybersecurity, and AWS. His expertise spans technologies including Python, PHP, Java, JavaScript, Docker, Flask, Spring, Vue.js, MySQL, Redis, and Elasticsearch.
Buy this course now
$99.99Couldn't load pickup availability
Get Immediate access for one year today!
Upgrade to Pro Plans and Get Full Access Today!
Get this course, along with 900+ courses and 70+ learning paths and more in one subscription. Learn more
Unlock All AccessPlans start from $33/mo. Cancel anytime.
Join over 1 Million professionals from the most renowned Companies in the world!
Choose the Pro Plan That Fits Your Learning Journey
Invest in your future with flexible Pro subscription plans. Whether you're starting your cybersecurity journey or expanding your expertise, choose the membership duration that works for you and gain access to our complete learning platform.
Pro
Ideal for continuous learning, offering extensive resources with 900+ courses and diverse Learning Paths to enhance your skills.
What is included
- Access to 900+ Premium Short Courses
- 70+ Structured Learning Paths
- Validation of Completion with All Courses and Learning Paths
- New Courses Added Every Month
Pro +
Experience immersive learning with Practice Labs and CTF Challenges for comprehensive skill-building.
Everything in Pro and
- 600+ Practice Labs with Guided Instructions
- 400+ CTF Challenges with Detailed Walkthroughs
- New Practice Labs and Challenges Added Every Month
Pro
Ideal for continuous learning, offering extensive resources with 900+ courses and diverse Learning Paths to enhance your skills.
What is included
- Access to 900+ Premium Short Courses
- 70+ Structured Learning Paths
- Validation of Completion with All Courses and Learning Paths
- New Courses Added Every Month
Pro +
Experience immersive learning with Practice Labs and CTF Challenges for comprehensive skill-building.
Everything in Pro and
- 600+ Practice Labs with Guided Instructions
- 400+ CTF Challenges with Detailed Walkthroughs
- New Practice Labs and Challenges Added Every Month
Related Courses
-
Software Development
Explore the basics of Bootstrap and learn to create a website in 4 easy steps
Explore the basics of Bootstrap and learn to create a website...
$49.99Beginner
1 hr 30 m
Hello
-
Security Architecture and Operations
A comprehensive guide to understanding the in-depth functioning of routers and switches for the preparation of CCNA Exam.
A comprehensive guide to understanding the in-depth functioni...
$49.99Intermediate
2 hr 0 m
Hello
-
Software Development
Learn full-stack web development using JavaScript (ReactJS, NodeJS, LoopbackJS, Redux and Material-UI)!
Learn full-stack web development using JavaScript (ReactJS, N...
$79.99Beginner
24 hr 17 m
Hello
-
DevSecOps
From React.js Fundamentals to Crafting an Online Storefront
From React.js Fundamentals to Crafting an Online Storefront
$49.99Advanced
3 hr 30 m
Hello
-
Cybersecurity
This course is ideal for individuals who desire to pass the Information Systems Security Professional CISSP Certification Exam and want to gain more insight and knowledge around IT, Information, and Cyber Security from a management/senior leader perspective.
This course is ideal for individuals who desire to pass the I...
$69.99Intermediate
6 hr 30 m
Hello
-
Software Development
A must tool for every DevOps engineer
A must tool for every DevOps engineer
$49.99Intermediate
1 hr 27 m
Hello
-
Vulnerability Assessment and Pentesting
Fun way to learn ethical hacking by playing online hacking games - hacking real websites legally
Fun way to learn ethical hacking by playing online hacking ga...
$69.99Beginner
4 hr 18 m
Hello
-
Software Development
Securing and Automating Linux and Windows Systems with Advanced Ansible Playbooks
Securing and Automating Linux and Windows Systems with Advanc...
$99.99Advanced
5 hr 34 m
Hello