AWS Fargate DevOps: Autoscaling with Terraform at practice
What you'll learn
- Web application deployment at AWS ECS Fargate using terraform
- Auto scaling AWS Fargate policies: predefined auto scaling , step auto scaling, auto scaling based on custom CloudWatch metrics
- Terrafom as tool for creating and managing auto scaling
- AWS Fargate usage cases and cost optimizations
Requirements
- Active AWS account
- Some active web domain
- AWS basic conceptions, e.g VPC, EC2, subnets, security groups...
- AWS ECS basics
- Terraform basics
- Basic knowledge at using docker and web programming
Description
What you'll learn:
How to deploy Web API application and SQS worker at AWS Cloud using AWS Fargate and Terraform
AWS ECS base components and how to deploy them using Terrafom
What is autoscaling and how it works at AWS Fargate
How to create autoscaling policies using target metric values + Terraform
How to create autoscaling policies using predefined step increments + CloudWatch alarms + Terrafom
How to create autoscaling policy based on a custom CloudWatch metric for scaling workers
How to use AWS Fargate wisely - CPU architectures, savings plans, and hybrid Fargate Spot systems as strategies for for cost reduction
Requirements:
Active AWS account
Some active web domain
Basic knowledge at using docker and web programming
Basic knowledge at Terraform
AWS basic conceptions, e.g VPC, EC2, subnets, security groups...
AWS ECS basics.
Short description:
This course is designed to guide you through the practical implementation of autoscaling using Terraform and AWS Fargate. It discovers how to optimize resource use effectively and ensure seamless application performance, all while managing costs wisely. ATTENTION - it is not the course where I will be writing code from zero, as it will take 6 hours to do it - it is the course where you will get ready code and solutions + clear explanations how to use it.
COURSE STRUCTURE:
The course consists of 5 sections:
In the 1st section we will create a test web application and test worker, forming the lab environment for hands-on auto scaling practice. No prior knowledge of those technologies are required.
In the 2d section we will create a base AWS infrastructure - all stuff related to the network, and additional services required for our lab environment - ALB, SNS, SQS, CW. Finally we will configure the real domain for our application using Route 53 and CM. Almost all that would be done rather fast, as we will be using ready terrafom modules.
The 3d section focuses on AWS Fargate. Here, we'll explore the core components of AWS Fargate and deploy our test API application, working towards achieving our desired final architecture.
The 4th section is the heart of our course, where we'll dive deep into autoscaling. We'll explore various autoscaling strategies, including target metric values and predefined step increments using CloudWatch alarms. You'll learn to work with CPU and memory utilization metrics and even create an autoscaling policy based on a custom CloudWatch metric for scaling workers.
In the final, 5th section, we'll discuss the costs involved with AWS Fargate, compare it with EC2 pricing and discuss how to navigate via Fargate limitations. You'll learn strategies to use this technology wisely, ensuring your expenses stay low while maximizing its benefits. We'll cover topics such as CPU architectures, savings plans, and hybrid Fargate Spot systems.
Who this course is for:
Anyone who is interested at autoscaling or who is responsible for Web resources:
Software engineer
DevOps
Admin
CTO
CEO
Who this course is for:
- Anyone who is interested at AWS Cloud, AWS Fargate and autoscaling
Instructors
My name is Sergii Demianchuk. I have almost 20 year’s experience as a software engineer. At my work I am mostly using next technologies: PHP, Python, Java, Javascript, Symfony, Flask, Spring, Vue, Docker, AWS Cloud, ML, Ansible, Jenkins, MySQL, Redis, ElasticSeach. I started my IT carrier as Engineer at national telecommunication Ukrainian networks. Than I worked as web full stack developer and IT manager for 10 years. After relocation to Poland at 2012, I continued my carrier path at Clicktrans company which represents one of the biggest transport marketplaces in Europe. Currently I am taking the position of CTO&System Architect at Clicktrans. My work is concentrated around architecture for complex systems, using ML for solving transport problems, big data sets analysis, search & recommendations systems. I am also deeply involved at devops and security world. My favorite slogan: "There is nothing impossible. The main question is how to do complicated system in the most efficient way having right people on a board with keeping it safe and simple at support :)"
Eduonix creates and distributes high quality technology training content. Our team of industry professionals have been training manpower for more than a decade. We aim to teach technology the way it is used in industry and professional world. We have professional team of trainers for technologies ranging from Mobility, Web to Enterprise and Database and Server Administration.