From 720fa8a3ed06c203606b807c5e02bedd948870b0 Mon Sep 17 00:00:00 2001 From: Piotr Grzesik Date: Thu, 1 Feb 2018 04:18:42 +0100 Subject: [PATCH] Add Fargate section (#586) --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 881d8ab..b059ba2 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Table of Contents | [DynamoDB](#dynamodb) | [πŸ“—](#dynamodb-basics) | [πŸ“˜](#dynamodb-tips) | [πŸ“™](#dynamodb-gotchas-and-limitations) | | [ElastiCache](#elasticache) | [πŸ“—](#elasticache-basics) | [πŸ“˜](#elasticache-tips) | [πŸ“™](#elasticache-gotchas-and-limitations) | | [ECS](#ecs) | [πŸ“—](#ecs-basics) | [πŸ“˜](#ecs-tips) | | +| [Fargate](#fargate) | [πŸ“—](#fargate-basics) | [πŸ“˜](#fargate-tips) | [πŸ“™](#fargate-gotchas-and-limitations) | | [Lambda](#lambda) | [πŸ“—](#lambda-basics) | [πŸ“˜](#lambda-tips) | [πŸ“™](#lambda-gotchas-and-limitations) | | [API Gateway](#api-gateway) | [πŸ“—](#api-gateway-basics) | [πŸ“˜](#api-gateway-tips) | [πŸ“™](#api-gateway-gotchas-and-limitations) | | [Route 53](#route-53) | [πŸ“—](#route-53-basics) | [πŸ“˜](#route-53-tips) | | @@ -230,6 +231,7 @@ General Information - [Inspector](https://aws.amazon.com/inspector/): Security audit - [Trusted Advisor](https://aws.amazon.com/premiumsupport/trustedadvisor/): Automated tips on reducing cost or making improvements - πŸ₯[Certificate Manager](https://aws.amazon.com/certificate-manager/): Manage SSL/TLS certificates for AWS services + - πŸ₯β›“[Fargate](https://aws.amazon.com/fargate/): Docker containers management, backend for ECS - **Compound services:** These are similarly specific, but are full-blown services that tackle complex problems and may tie you in. Usefulness depends on your requirements. If you have large or significant need, you may have these already managed by in-house systems and engineering teams. - [Machine Learning](https://aws.amazon.com/machine-learning/): Machine learning model training and classification - [Lex](https://aws.amazon.com/lex/): Automatic speech recognition (ASR) and natural language understanding (NLU) @@ -289,7 +291,7 @@ Many services within AWS can at least be compared with Google Cloud offerings or | Virtual server | EC2 | Compute Engine (GCE) | | Virtual Machine | DigitalOcean | OpenStack | | PaaS | Elastic Beanstalk | App Engine | App Engine | Web Apps | Heroku, AppFog, OpenShift | Meteor, AppScale, Cloud Foundry, Convox | | Serverless, microservices | Lambda, API Gateway | Functions | | Function Apps | PubNub Blocks, Auth0 Webtask | Kong, Tyk | -| Container, cluster manager | ECS | Container Engine, Kubernetes | Borg or Omega | Container Service | | Kubernetes, Mesos, Aurora | +| Container, cluster manager | ECS, Fargate | Container Engine, Kubernetes | Borg or Omega | Container Service | | Kubernetes, Mesos, Aurora | | Object storage | S3 | Cloud Storage | GFS | Storage Account | | Swift, HDFS | | Block storage | EBS | Persistent Disk | | Storage Account | DigitalOcean Volumes | NFS | | SQL datastore | RDS | Cloud SQL | | SQL Database | | MySQL, PostgreSQL | @@ -1356,6 +1358,31 @@ ECS 🚧 [*Please help expand this incomplete section.*](CONTRIBUTING.md) +Fargate +------- + +### Fargate Basics +- πŸ“’ [Homepage](https://aws.amazon.com/fargate/) βˆ™ [FAQ](https://aws.amazon.com/fargate/faqs/) βˆ™ [Pricing](https://aws.amazon.com/fargate/pricing/) +- **Fargate** allows you to manage and deploy containers without having to worry about running the underlying compute infrastructure +- Fargate serves as a new backend (in addition to the legacy EC2 backend) on which ECS and EKS tasks can be run +- Fargate and EC2 backends are called "Launch Types" +- Fargate allows you to treat containers as fundamental building blocks of your infrastructure + +### Fargate Tips +- Fargate follows a similar mindset to Lambda, which lets you focus on applications, instead of dealing with undelying infrastructure +- Fargate is supported by CloudFormation, aws-cli and ecs-cli +- Fargate tasks can be launched alongside tasks that use EC2 Launch Type +- πŸ’ΈBefore creating a large Fargate deployment, make sure to estimate costs and compare them against alternative solution that uses traditional EC2 deployment - Fargate prices can be several times those of equivalently-sized EC2 instances. To evaluate both solutions based on potential costs, refer to pricing for [EC2](https://aws.amazon.com/ec2/pricing/) and [Fargate](https://aws.amazon.com/fargate/pricing/). + +### Fargate Alternatives and Lock-in +- πŸšͺ[Azure Container Instances](https://azure.microsoft.com/en-us/services/container-instances/): Available on Microsoft Azure in preview version, allows to run applications in containers without having to manage virtual machines + +### Fargate Gotchas and Limitations +- As of January 2018, Fargate is only available in us-east-1 +- As of January 2018, Fargate can only be used with ECS, however there are plans to support EKS later in 2018 +- The smallest resource values that can be configured for an ECS Task that uses Fargate is 0.25 vCPU and 0.5 GB of memory + + Lambda ------