Deploy Fargate ECS Apps & Infrastructure: AWS with Terraform

th_Tg3bHd91m4XfSrLJXu3d5L143GPRAxku

立即与 AWS 认证解决方案架构师学习使用 Terraform 通过 AWS ECS Fargate 容器平台实施生产就绪型基础设施!

您想将完整的基础设施作为代码实现吗?您想学习市场上最酷、最受欢迎的基础设施配置管理工具 Terraform 并为您的技能做出巨大贡献吗?

那么这门课程就是你所需要的!您不仅将学习如何实施 Terraform 代码,还将实施 AWS Well-Architected Framework 推荐的部署模型,该模型将具有高可用性、可扩展性、容错性和弹性!

在本课程中,我们将从探索整个课程所需的工具开始。还要注意的是,我们需要一个带有适当 Terraform 插件的 IDE。AWS 帐户也是必要的,因此如果您还没有,我将向您展示如何获取它。当然,我们将为 Terraform 部署设置环境变量,并通过安装 Terraform 插件来配置我们的 IDE 以有效地使用 Terraform,该插件将突出显示语法并自动完成我们打算做的一切。

在所有这些之间,我还将为您提供有关 Terraform 的速成课程,您将获得实施此基础架构所需的所有信息!

一旦我们设置好了一切,现在是时候动手编写一些 Terraform 代码来实现我们酷炫、闪亮的架构了!

我们将首先实现我们的远程状态并获取一个密钥对,我们将使用它来连接到我们将启动的实例。完成这些后,我们将首先创建虚拟私有云 (VPC) 环境。为了满足高可用性的需求,我们将我们的私有和公共子网分布到一个区域内的三个不同的可用区。我们还将创建我们的私有和公共路由表来管理我们在 VPC 内的资源之间的路由。

我们还将确保将 Internet 网关 (IGW) 附加到我们的 VPC 以与公共子网一起使用,以便其中的资源能够访问和接收公共 Internet 流量。我们的私有子网也需要某种形式的互联网连接,但不是双向的;我们只需要从我们私有子网中的资源的传出连接访问互联网!为了满足这一要求,我们将启动一个 NAT 网关并将其附加到我们的私有路由表。

现在是开发我们的 AWS ECS 平台的时候了!首先,我们将首先为自己注册一个用于 Spring Boot 应用程序的域。然后我们将为 ECS 集群创建一个 ECS 集群、目标组、应用程序负载均衡器、HTTPS 侦听器和证书以及 IAM 角色,以准备应用程序部署。

接下来是检查我们将部署到 AWS ECS Fargate 的 Spring Boot 应用程序!我们将快速浏览并从实施我们的 ECS Fargate 任务定义开始。我们将继续创建我们的 IAM 角色和策略、ECS 服务、目标组、侦听器规则和 CloudWatch 日志组,以准备好部署我们的应用程序!

在下一章中,我们将编写应用程序的整个管道,从使用 Maven 构建到将 Docker 映像推送到 AWS Elastic Container Registry (ECR),然后部署到 AWS ECS Fargate!我们将创建自己的 shell 脚本,将所有内容作为不同的阶段来实现并开发整个管道!

一旦我们对管道感到满意,我们将开始一一执行我们的阶段!我们将首先构建代码,构建我们的 Docker 镜像并将其推送到 AWS ECR,最后我们将我们的 Spring Boot 应用程序部署到 AWS ECS Fargate 以使其在我们注册的域中启动并运行!

本课程还有更多内容,我迫不及待地等待您来学习 AWS 认证解决方案架构师的最佳实践!

h264, yuv420p, 180×270 |ENGLISH, aac, 44100 Hz, 2 channels | 4h 49 mn | 1.93 GB
Created by: Niyazi Erdogan

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


What you’ll learn

Learn how to work and code against AWS using Terraform!
Learn how to work with AWS Fargate using Terraform!
Implement ECS Fargate Applications on AWS using Terraform with Infrastructure-as-Code (IaC)!
Learn how to register a domain with Route53 and use with Application Load Balancer for AWS ECS Fargate!
Learn how to create an SSL HTTPS Certificate for your Route53 domain!
Learn to implement 3-Layered Production-Grade Infrastructure for your Applications on AWS using Terraform IaC!
You’ll be confident to work with AWS using Terraform for any kind of AWS Resource on VPC and ECS Fargate!
Learn how to Dockerize your Spring Boot Applications
Learn how to create a Dockerfile for your application
Learn how to create a Task Definition for your AWS ECS container application
Learn how to develop end-to-end pipeline with Shell Scripting for application deployment!
Learn how to read and code against an Terraform HCL language!
You’ll be able to launch your own infrastructure on AWS without even signing-in to AWS!
Learn the AWS Well-Architected Framework Best-Practices while implementing!

Requirements

An AWS Account – Free Tier Available!
General Knowledge on AWS Model would be nice
Theoretical Knowledge on VPC and ECS Concepts would be nice but not necessary!
Any IDE or even a text-editor, recommend with a Terraform Plugin

Description

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

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!
Who this course is for:

Who wants to learn AWS ECS Fargate; one of the best container environments out there!
Who wants to design and develop AWS ECS Fargate deployment from zero-to-hero using Terraform!
Who wants to learn how to implement Infrastructure-as-a-Code (IaaS) with Terraform on AWS
Who wants to learn Terraform, infrastructure configuration language from Terraform
Who wants to learn how to launch Virtual Private Clouds, Public-Private Subnets and more with Terraform code on AWS
Who wants to learn and launch Highly-Available, Scalable, Fault-Tolerant and Resilient architectures on AWS!
Beginners on AWS who wants to put their theory in practice

bPbmg2E5FzhDuddDblc10dswTJJ8NeaZ

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/13094.html

赞 (0)
steven的头像steven
上一篇 2021年6月10日
下一篇 2021年6月10日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部