1. 程式人生 > >Introducing AWS Fargate – Run Containers without Managing Infrastructure

Introducing AWS Fargate – Run Containers without Managing Infrastructure

Containers are a powerful way for developers to develop, package, and deploy their applications. At AWS we have over a hundred thousand active ECS clusters and hundreds of millions of new containers started each week. That’s 400+% customer growth since 2016. Container orchestration solutions, like

Amazon ECS and Kubernetes make it easier to deploy, manage, and scale these container workloads increasing your agility. However, with each of these container management solutions you’re still responsible for the availability, capacity, and maintenance of the underlying infrastructure. At AWS we saw this as an opportunity to remove some undifferentiated heavy lifting. We want to let you take full advantage of the speed, agility, and immutability that containers offer so you can focus on building your applications rather than managing your infrastructure.

AWS Fargate

AWS Fargate is an easy way to deploy your containers on AWS. To put it simply, Fargate is like EC2 but instead of giving you a virtual machine you get a container. It’s a compute engine that allows you to use containers as a fundamental compute primitive without having to manage the underlying instances. All you need to do is build your container image, specify the CPU and memory requirements, define your networking and IAM policies, and launch. With Fargate, you have flexible configuration options to closely match your application needs and you’re billed with per-second granularity.

The best part? You can still use all of the same ECS primitives, APIs, and AWS integrations. Fargate provides native integrations with Amazon Virtual Private Cloud, AWS Identity and Access Management (IAM), Amazon CloudWatch and load balancers. Fargate tasks use the AWSVPC networking mode and provision an Elastic Network Interface (ENI) in your VPC to communicate securely with your resources. With the AWS Command Line Interface (CLI) launching a Fargate task is simple.

aws ecs run-task --launch-type FARGATE --cluster BlogCluster --task-definition blog --network-configuration "awsvpcConfiguration={subnets=[subnet-b563fcd3]}"

It’s also easy to use the console to create task definitions and run tasks with the Fargate launch type.

Once we’ve launched a few tasks we can see them running in our cluster:

You’ll notice that ECS clusters are heterogeneous. They can contain tasks running in Fargate and on EC2.

If we dive a little deeper and look at a task we can see some useful information including the ENI that Fargate provisioned in our VPC and all of the containers used by that task. The logs tab gives me easy access to my CloudWatch Logs for that task as well.

Let’s take a look at the configuration options and pricing details for Fargate.

Pricing

AWS Fargate uses an on-demand pricing model. You pay per per-second for the amount of vCPU and memory resources consumed by your applications. Price per vCPU is $0.0506 per hour and per GB memory is $0.0127 per hour. With Fargate you have 50 configuration options for vCPU and Memory to support a wide range of workloads. The configuration options are below.

CPU (vCPU) Memory Values (GB)
0.25 0.5, 1, 2
0.5 1, 2, 3
1 Min. 2GB and Max. 8GB, in 1GB increments
2 Min. 4GB and Max. 16GB, in 1GB increments
4 Min. 8GB and Max. 30GB in 1GB increments

Things To Know

  • You can configure Fargate to closely meet your application’s resource requirements and pay only for resources required by your containers. You can launch tens or tens of thousands of containers in seconds.
  • Fargate tasks run similarly to tasks running on EC2. You can add them to VPCs, configure load balancers, and assign IAM roles.

On the Roadmap

I won’t spill all the beans, but we have a really exciting roadmap for AWS Fargate. I will tell you that we plan to support launching containers on Fargate using Amazon EKS in 2018. As always, we love your feedback. Please leave a note in the Amazon ECS forum letting us know what you think.

Fargate is available today in the US East (Northern Virginia) region.

相關推薦

Run containers without having to manage servers or clusters

AWS Fargate is a compute engine for Amazon ECS that allows you to run containers without having to manage servers or clusters. With AWS Fargate, y

Migrating Your Amazon ECS Containers to AWS Fargate

AWS Fargate is a new compute engine that works with Amazon Elastic Container Service (ECS) to run containers without having to manage servers or c

AWS終於支援Kubernetes,Serverless容器服務AWS Fargate同時釋出_Kubernetes中文社群

在之前文章 我們提到微軟、Google、IBM及甲骨文等主要雲服務廠商都支援Kubernetes,細心朋友會發現唯一少了AWS,幸運的是在本週(11/29)Amazon宣佈開始支援Kubernetes容器排程服務,推出 Amazon Elastic Container Service for

Introducing AWS Single Sign-On

Today, AWS introduced AWS Single Sign-On (AWS SSO), a service that makes it easy for you to centrally manage SSO access to multiple AWS accounts a

Task Networking in AWS Fargate

AWS Fargate is a new compute engine for containers that allows you to focus on running your application without needing to provision, monitor, or

run containers in production

With Fargate, you pay for the amount of vCPU and memory resources that your containerized application requests. vCPU and memory resources are c

Building Real Time AI with AWS Fargate

This post is a contribution from AWS customer, Veritone. It was originally published on the company’s Website.  Here at Veritone,

Running AWS Fargate with virtual-kubelet

AWS Fargate is a new compute engine that allows you to run containers without having to provision, manage, or scale servers. Toda

Microservices on AWS Compute Using Containers and Serverless

Deploying microservices-based applications can be complex. First, it requires setting up your basic compute, storage, and networking capa

AWS Fargate – 無伺服器化容器解決方案

AWS Fargate 是可以與 Amazon ECS結合使用的技術,讓您在執行容器時不需要管理伺服器或叢集。使用 AWS Fargate,你不需要搭建控制平面,只需選擇合適的例項型別,或配置應用程式堆疊的所有其它部分,比如網路、擴充套件、服務發現、負載均衡,安全組、許可權或金鑰管理。你只需

AWS Fargate 簡介 – 執行容器無需管理基礎設施

容器是開發人員用來開發、封裝和部署其應用程式的一種強大方法。AWS 每週啟動超過十萬 ECS 群集和數億新容器。這相當於從 2016 年以來實現了超過 400% 的客戶增長。Amazon ECS 和 Kubernetes 這樣的容器編排解決方案讓部署、管理和擴充套件這些容器工作負載變得更簡單

AWS Fargate容器部署_無需管理伺服器與叢集的容器服務

AWS Fargate 是一種適用於 Amazon ECS 的計算引擎,讓您無需管理伺服器或群集即可執行容器。使用 AWS Fargate,您不必再預置、配置和擴充套件虛擬機器群集即可執行容器。這樣一來,您就無需再選擇伺服器型別、確定擴充套件群集的時間和優化群集打包。AWS Fargate

Introducing AWS AppSync – Build data-driven apps with real-time and off-line capabilities

In this day and age, it is almost impossible to do without our mobile devices and the applications that help make our lives easier. As our depende

AWS Fargate 定價

例如,您的服務使用 10 個 ECS 任務,每個 ECS 任務使用 0.25 個 vCPU 和 1GB 記憶體,每天執行 1 個小時(3600 秒),持續執行一個月(30 天)。 月度 CPU 費用 vCPU 總費用 = 任務數 x vCP

AWS Fargate 常見問題

問:AWS Fargate 如何與 ECS 搭配使用? Amazon Elastic Container Service (ECS) 一項高度可擴充套件的高效能容器管理服務,支援 Docker 容器,並讓您能夠在託管的 Amazon EC2 例項叢集上輕鬆

Introducing AWS Educate Classrooms

AWS Educate members now have access to expanded features provided by educational cloud-lab environment provider, Vocareum. The new features provid

AWS終於支援Kubernetes,Serverless容器服務AWS Fargate同時釋出

在之前文章 我們提到微軟、Google、IBM及甲骨文等主要雲服務廠商都支援Kubernetes,細心朋友會發現唯一少了AWS,幸運的是在本週(11/29)Amazon宣佈開始支援Kubernetes容器排程服務,推出 Amazon Elastic Container

mongodb在shutdown時報錯:shutdown must run from localhost when running db without auth

mongodb環境: 3.2.6 初學mongo,在用工具連線時mongo,想關閉mongo時報錯如下:  意思是說:如果沒有auth,必須在本地shutdown 於是在一個同事的幫助下,終於找到了原因 在伺服器上輸入alias,看到我設定了一個快捷鍵如下: alias mongo='

memcache can't run as root without the u switch

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!