脚本宝典收集整理的这篇文章主要介绍了[SAA] 32. AWS Batch,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
Overview
- Run batch jobs as docker images
- Dynamic PRovisioning of the instances (EC2 & Spot Instances) - in VPC
- Optimal quantITy and tyPE based on volume and requirements
- No need to manage clusters, fully serverless
- You just pay for the underlying EC2 instance
- Example: batch process of images, running thousands of concurrent jobs
- Schedule Batch Jobs using CloudWatch Events
- Orchestrate Batch Jobs using AWS Step Functions
Lambda vs Batch
Lambda
- Time limit: 15 mins
- Limted runtime
- Limited temporary disk space
- Serverless
Batch
- No time limit
- Any runtinme as long as it's package as a Docker image
- Rely on EBS / instance Store for disk space
- Relies on EC2 (can be managed by AWS)
Compute environments
Managed Compute Environment
- AWS Batch managed the capacity and instance types within the environment
- You can choose On-Demand or Spot Instance
- You can set a maximum price for Spot instance
- Launched within your own VPC
- If you launch within your own private subnet, make sure it has access to the ECS service
- either using a NAT Gateway / instance or using VPC Endpoint for ECS
Unmanaged Compute Environment
- You control and manage instance configuration, provisioning and scaling
脚本宝典总结
以上是脚本宝典为你收集整理的[SAA] 32. AWS Batch全部内容,希望文章能够帮你解决[SAA] 32. AWS Batch所遇到的问题。
如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。