US $19.97
New

Deploy Fargate ECS Apps & Infrastructure: AWS with Terraform

——   Created by Niyazi Erdoğan

Learn to work with AWS ECS Fargate, implement complete infrastructure deployment using Terraform with an AWS Architect!

Share this course:

NEW
Course
70
Lessons
5h 02m
Lesson time
intermediate
Skill level

More about this course

Up-to-date with Terraform 0.14+!

Learn to implement production-ready infrastructure with AWS ECS Fargate container platform using Terraform today with an AWS Certified Solutions Architect!

Source code now updated with Terraform 12!

Do you want to implement your complete infrastructure as code? Do you want to learn the coolest and most popular infrastructure configuration management tool on the market, Terraform and make a huge contribution to your skillset?

Then this course is what you need! You will not only learn how to implement Terraform code but also implement an AWS Well-Architected Framework recommended deployment model which will be Highly-Available, Scalable, Fault-Tolerant and Resilient!

  • In this course, we will start by exploring the tools we need throughout the course. Just to note here too, we will need an IDE with a proper Terraform plugin available. An AWS account is also necessary so I will show you how to get one if you do not already have it. Sure we will set up our environment variables for Terraform deployments and also configure our IDE to use Terraform efficiently by installing a Terraform Plugin which will highlight the syntax and auto-complete everything we intend to do.
  • In between all these, I will also give you a crash course on Terraform where you will gain all the information you need to implement this infrastructure!
  • Once we have everything set up, now is time to get our hands dirty and write some Terraform code to implement our cool, shiny architecture!
  • We will start off with implementing our remote state and obtaining a key pair which we will use to connect to the instances we will launch. Once we get these done, we will first create the Virtual Private Cloud (VPC) environment. To meet the demands of high-availability, we will spread our private and public subnets to three different availability zones inside a region. We will also create our Private and Public Route Tables to manage the routing between our resources inside VPC.
  • We’ll also make sure to attach an Internet Gateway (IGW) to our VPC to use with public subnets so the resources in those will be able to access and receive public internet traffic. Our private subnet also need some form of internet connection but not both ways; we want only internet access for outgoing connections from our resources in private subnets! To satisfy this requirement, we will launch and attach a NAT Gateway to our private route table.
  • Now is the time to develop our AWS ECS platform! To start with, we will first register ourselves a domain which we will use for our Spring Boot application. Then we will create an ECS cluster, Target Group, Application Load Balancer, HTTPS Listener and Certificate and IAM roles for ECS cluster to prepare for application deployment.
  • Next up is to check out the Spring Boot application that we will deploy to AWS ECS Fargate! We will take a quick look and start by implementing our ECS Fargate Task Definition. We will move on to create our IAM Role and Policy, ECS Service, Target Group, Listener Rule and CloudWatch Log Group to finish up with getting ready to deploy our application!
  • In the next chapter, we will script the whole pipeline of our application from building with Maven to pushing Docker image to AWS Elastic Container Registry (ECR) and then to deploying to AWS ECS Fargate! We will create ourselves a shell-script to implement everything as a different stage and develop the whole pipeline!
  • Once we're satisfied with the pipeline, we'll start executing our stages one by one! We'll first build the code, build and push our Docker image to AWS ECR and finally we will deploy our Spring Boot application to AWS ECS Fargate to have it up and running with our registered domain!

There are much more to come in this course and I cannot wait for you to come and learn the best practices from an AWS Certified Solutions Architect!

70 Lessons

Introduction
2 mins
Welcome
free preview
4 mins
About This Course
free preview
3 mins
What We Will Build In This Course
free preview
3 mins
What Do You Need For This Course
free preview
Preparing The Environment for Development
4 mins
Section Overview
5 mins
About Tools and Environment
10 mins
Create an AWS Account If You Don t Already Have It!
10 mins
Logging in to AWS Console and A Walkthrough
12 mins
Let's Create Our AWS Credentials!
Linux Environment Setup
4 mins
Installing Terraform and IntelliJ Plugin
3 mins
Installing Docker
2 mins
Installing AWS CLI
View more lessons +

About the instructor

It you!

Hi, I'm Niyazi Erdoğan. I'm a software engineer and AWS Certified Solutions Architect with over ten years of experience in various fields. I'm living in one of the …

Read more
This course is included in Arbington Premium
$15/month gets you access to every course. Start your 14 day trial today. ☝️

Class benefits

  • Certificate of Completion
  • 30 day satisfaction guarantee
  • 24/7 streaming access
  • Direct teacher access
  • 5h 02m of on-demand video
  • 3 downloadable files
  • Have a coupon?
  • Checkout