RPI 的 AWS 实例类型

AWS instances type for RPI

我有我的 docker 微服务-x 图像构建于 rpi

我的docker文件如下所示

FROM raspbian/stretch


....

此映像在 RPi 上运行。但是,如果我想在 AWS 实例上启动 docker 映像,我应该使用哪种 Amazon 机器映像 (AMI) 类型?

对于 AMI,我建议使用 AWS ECS docker 优化的 AMI (AMR)。

Amazon ECS-Optimized Amazon Linux 2 AMI (ARM)

Amazon EC2 Container Service makes it easy to manage containers at scale by providing a centralized service that includes programmatic access to the complete state of the containers and Amazon EC2 instances in the cluster, schedules containers in the proper location, and uses familiar Amazon EC2 features like security groups, Amazon EBS volumes, and IAM roles.

Amazon ECS-Optimized Amazon Linux 2 AMI (ARM)

例如你可以使用Amazon EC2 A1 instances.

Amazon EC2 A1 instances deliver significant cost savings for scale-out and Arm-based applications such as web servers, containerized microservices, caching fleets, and distributed data stores that are supported by the extensive Arm ecosystem. A1 instances are the first EC2 instances powered by AWS Graviton Processors that feature 64-bit Arm Neoverse cores and custom silicon designed by AWS.

您可以在这篇文章中找到更多信息

Docker & ARM demonstrated the integration of ARM capabilities into Docker Desktop Community for the first time. Docker & ARM unveiled go-to-market strategy to accelerate Cloud, Edge & IoT Development. These two companies have planned to streamline the app development tools for cloud, edge, and internet of things environments built on ARM platform. The tools include AWS EC2 A1 instances based on AWS’ Graviton Processors (which feature 64-bit Arm Neoverse cores). Docker in collaboration with ARM will make new Docker-based solutions available to the Arm ecosystem as an extension of Arm’s server-tailored Neoverse platform, which they say will let developers more easily leverage containers — both remote and on-premises which is going to be pretty cool.

building-arm-based-docker-images-on-docker-desktop-made-possible-using-buildx

amazon-ec2-systems-manager-adds-raspbian-os-and-raspberry-pi-support

忘了注意Ubuntu server 16.04 AMI类型同时支持X86和ARM架构