Amazon EC2 vs Jib
Amazon EC2
aws.amazon.comJib
github.comSide by side
| Figure | Amazon EC2 | Jib |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | Yes | — |
| Android | Yes | — |
| API | Yes | — |
| Plans published | 8 | 1 |
| Spec score · Container Build Tools | 9.1 (#2) | 7.7 (#17) |
| Security | AWS says EC2 security is built on the Nitro System, which offloads virtualization functions to dedicated hardware and isolates customer workloads. | The repository links to a security policy for reporting security issues. |
| Support | Basic AWS Support is included for all AWS customers and provides 24/7 customer service, documentation, communities, Trusted Advisor core checks, and AWS Health. | For usage questions, the project directs users to Stack Overflow and also links to GitHub issues and a FAQ. |
| What it does | Amazon EC2 provides on-demand, scalable virtual-server capacity in AWS Cloud, allowing customers to increase or decrease capacity as workloads change. | Jib builds optimized Docker and OCI images for Java applications without a Docker daemon. |
Plans
Amazon EC2
- AWS Free Tier credits for EC2Free
- Free TierFree
- Spot InstancesFree
- Dedicated HostsPrice not published
- On-Demand InstancesPrice not published
- Reserved InstancesPrice not published
- Savings PlansPrice not published
- Spot InstancesPrice not published
In their own words
Amazon EC2
Amazon EC2 provides resizable, secure compute capacity as virtual servers in the cloud. It offers over 1,000 instance types across Intel, AMD, and Arm processors for workloads including web and enterprise applications, high-performance computing, machine learning, SAP, Windows, and macOS. EC2 Auto Scaling can add or remove instances under dynamic or predictive policies. Instances can use persistent block storage through Amazon EBS and shared file storage through Amazon EFS; the service also provides a Query API and AWS SDKs. AWS says its Nitro System moves virtualization functions to dedicated hardware and isolates customer workloads. EC2 appears in AWS’s compliance program scope, though customers remain responsible for applicable compliance requirements. AWS states a 99.99% availability SLA commitment for each Region. Billing is per instance-hour or per second depending on instance type and operating system; eligible per-second use has a 60-second minimum. New AWS customers can receive up to $200 in credits, and the free plan lasts six months after account creation. The T4g free trial has monthly hour limits and surplus CPU credits can incur charges.
Jib
Jib builds Docker and OCI images for Java applications without a Docker daemon. It can be used as a Maven or Gradle plugin, a Java library, or a command-line interface, and runs on Linux, macOS, and Windows. Jib divides application contents into layers, allowing code changes to be rebuilt without rebuilding the whole image. It can push images to a container registry of the user's choice, uses an OpenJDK base image by default, and accepts a custom base image. The project says that rebuilding an image from the same contents produces the same image. It supports local build caches and multi-architecture builds, and the project says it works well with Google Cloud Build. Examples cover Spring Boot, Micronaut, multi-module projects, and Spark Java with a Java Agent. Jib is free and open source under Apache License, Version 2.0. The project is not an officially supported Google product; it directs usage questions to Stack Overflow and also links to GitHub issues and a FAQ.