

Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.

# Comparaison AL1 et AL2 023
<a name="compare-with-al1"></a>

Les rubriques suivantes décrivent les principales différences entre AL1 et AL2 023 qui ne sont pas déjà couvertes par la [comparaison avec AL2](https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html).

**Note**  
AL1 a atteint sa date d'expiration end-of-life (EOL) le 31 décembre 2023 et ne recevra aucune mise à jour de sécurité ni aucune correction de bogue à compter du 1er janvier 2024. Pour plus d'informations sur l' AL1EOL et le support de maintenance, consultez le billet de blog [Update on Amazon Linux AMI end-of-life](https://aws.amazon.com/blogs/aws/update-on-amazon-linux-ami-end-of-life/). Nous vous recommandons de mettre à niveau les applications vers la version AL2 023, qui inclut un support à long terme jusqu'en 2028.

**Topics**
+ [Support pour chaque version](#al1-eol-date)
+ [`systemd` remplace `upstart` en tant que système `init`](#al1-systemd)
+ [Python 2.6 et 2.7 ont été remplacés par Python 3](#python2.6-no-more)
+ [OpenJDK 8 en tant que plus ancien JDK](#al1-java)
+ [AL2023 modifications du noyau depuis Amazon Linux 1 (AL1)](compare-with-al1-kernel.md)
+ [Comparaison des packages installés sur Amazon Linux 1 (AL1) et Amazon Linux 2023 AMIs](amzn1-al2023-ami.md)
+ [Comparaison des packages installés sur Amazon Linux 1 (AL1) et Amazon Linux 2023 Minimal AMIs](amzn1-al2023-minimal-ami.md)
+ [Comparaison des packages installés sur les images des conteneurs de base Amazon Linux 1 (AL1) et Amazon Linux 2023](amzn1-al2023-container.md)

## Support pour chaque version
<a name="al1-eol-date"></a>

 Pour AL2 2023, nous offrons cinq ans de support à compter de la date de sortie. AL1 a mis fin au support standard au 31 décembre 2020 et au support de maintenance au 31 décembre 2023. 

 Pour de plus amples informations, veuillez consulter [Cadence de publication](release-cadence.md). 

## `systemd` remplace `upstart` en tant que système `init`
<a name="al1-systemd"></a>

 AL2 `upstart`Il a été remplacé par `systemd` as the `init` system. AL2023 utilise également `systemd` comme `init` système, adoptant en outre de nouvelles fonctionnalités de`systemd`. 

## Python 2.6 et 2.7 ont été remplacés par Python 3
<a name="python2.6-no-more"></a>

 Bien que Python 2.6 ait été AL1 marqué comme EOL dans la version 2018.03, les packages étaient toujours disponibles dans les référentiels à installer. AL2 livré avec Python 2.7 comme première version de Python prise en charge, et la version AL2 023 complète la transition vers Python 3. Aucune version de Python 2.x n'est incluse dans les référentiels AL2 023. 

Pour plus d'informations relatives à Python sur Amazon Linux, consultez [Pythondans AL2023](python.md).

## OpenJDK 8 en tant que plus ancien JDK
<a name="al1-java"></a>

 AL2023 est livré avec [Amazon Corretto](https://aws.amazon.com/corretto/) comme kit de développement Java (JDK) par défaut (et unique). Tous Java les packages basés dans AL2 023 sont construits avec Amazon Corretto 17. 

 En AL1, OpenJDK 1.6.0 `java-1.6.0-openjdk` () est passé en EOL avec la première version 2018.03, et OpenJDK 1.7.0 `java-1.7.0-openjdk` () est passé en EOL à la mi-2020, bien que les deux versions soient disponibles dans les référentiels. AL1 La première version d'OpenJDK disponible en AL2 2023 est OpenJDK 8, fournie par Amazon Corretto 8. 

# AL2023 modifications du noyau depuis Amazon Linux 1 (AL1)
<a name="compare-with-al1-kernel"></a>

## Kernel Live Patching
<a name="al1-kernel-livepatch"></a>

 Les deux AL2023 et AL2 ajoutez la prise en charge de la fonctionnalité de mise à jour en direct du noyau. Cela vous permet de corriger les failles de sécurité critiques et importantes du noyau Linux sans redémarrage ni interruption de service. Pour de plus amples informations, veuillez consulter [Kernel Live Patching en 2023 AL2](live-patching.md). 

## Prise en charge des systèmes de fichiers par le noyau
<a name="al1-kernel-fs-changes"></a>

Plusieurs modifications ont été apportées aux systèmes de fichiers dans lesquels le noyau AL1 prendra en charge le montage, ainsi que des changements dans les schémas de partitionnement que le noyau analysera.


| Option `CONFIG` | AL1/4,14/x86\$164 | AL2023/6.1/aarch64 | AL2023/6,1/x86\$164 | AL2023/6.12/aarch64 | AL2023/6,12/x86\$164 | AL2023/6.18/aarch64 | AL2023/6,18/x86\$164 | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  [`CONFIG_AFS_FS`](compare-with-al2-kernel.md#CONFIG_AFS_FS)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_AF_RXRPC`](compare-with-al2-kernel.md#CONFIG_AF_RXRPC)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_BSD_DISKLABEL`](compare-with-al2-kernel.md#CONFIG_BSD_DISKLABEL)  |  y  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_CRAMFS`](compare-with-al2-kernel.md#CONFIG_CRAMFS)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_CRAMFS_BLOCKDEV`](compare-with-al2-kernel.md#CONFIG_CRAMFS_BLOCKDEV)  | N/A | N/A | N/A | N/A | N/A | N/A | N/A | 
|  [`CONFIG_DM_CLONE`](compare-with-al2-kernel.md#CONFIG_DM_CLONE)  | N/A |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_DM_ERA`](compare-with-al2-kernel.md#CONFIG_DM_ERA)  |  n  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_DM_INTEGRITY`](compare-with-al2-kernel.md#CONFIG_DM_INTEGRITY)  |  m  |  m  |  m  |  m  |  m  |  m  |  m  | 
|  [`CONFIG_DM_LOG_WRITES`](compare-with-al2-kernel.md#CONFIG_DM_LOG_WRITES)  |  n  |  m  |  m  |  m  |  m  |  m  |  m  | 
|  [`CONFIG_DM_SWITCH`](compare-with-al2-kernel.md#CONFIG_DM_SWITCH)  |  n  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_DM_VERITY`](compare-with-al2-kernel.md#CONFIG_DM_VERITY)  |  n  |  m  |  m  |  m  |  m  |  m  |  m  | 
|  [`CONFIG_ECRYPT_FS`](compare-with-al2-kernel.md#CONFIG_ECRYPT_FS)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_EXFAT_FS`](compare-with-al2-kernel.md#CONFIG_EXFAT_FS)  | N/A |  m  |  m  |  m  |  m  |  m  |  m  | 
|  [`CONFIG_EXT2_FS`](compare-with-al2-kernel.md#CONFIG_EXT2_FS)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_EXT3_FS`](compare-with-al2-kernel.md#CONFIG_EXT3_FS)  |  m  |  n  |  n  |  n  |  n  | N/A | N/A | 
|  [`CONFIG_GFS2_FS`](compare-with-al2-kernel.md#CONFIG_GFS2_FS)  |  n  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_HFSPLUS_FS`](compare-with-al2-kernel.md#CONFIG_HFSPLUS_FS)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_HFS_FS`](compare-with-al2-kernel.md#CONFIG_HFS_FS)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_JFS_FS`](compare-with-al2-kernel.md#CONFIG_JFS_FS)  |  n  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_LDM_PARTITION`](compare-with-al2-kernel.md#CONFIG_LDM_PARTITION)  |  y  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_MAC_PARTITION`](compare-with-al2-kernel.md#CONFIG_MAC_PARTITION)  |  y  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_NFS_V2`](compare-with-al2-kernel.md#CONFIG_NFS_V2)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_NTFS_FS`](compare-with-al2-kernel.md#CONFIG_NTFS_FS)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_ROMFS_FS`](compare-with-al2-kernel.md#CONFIG_ROMFS_FS)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_SOLARIS_X86_PARTITION`](compare-with-al2-kernel.md#CONFIG_SOLARIS_X86_PARTITION)  |  y  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_SQUASHFS_ZSTD`](compare-with-al2-kernel.md#CONFIG_SQUASHFS_ZSTD)  |  y  |  y  |  y  |  y  |  y  |  y  |  y  | 
|  [`CONFIG_SUN_PARTITION`](compare-with-al2-kernel.md#CONFIG_SUN_PARTITION)  |  y  |  n  |  n  |  n  |  n  |  n  |  n  | 

## Modifications de configuration du noyau axées sur la sécurité
<a name="al1-security-kernel-config-changes"></a>


| Option `CONFIG` | AL1/4,14/x86\$164 | AL2023/6.1/aarch64 | AL2023/6,1/x86\$164 | AL2023/6.12/aarch64 | AL2023/6,12/x86\$164 | AL2023/6.18/aarch64 | AL2023/6,18/x86\$164 | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  [`CONFIG_BUG_ON_DATA_CORRUPTION`](kernel-hardening.md#CONFIG_BUG_ON_DATA_CORRUPTION)  |  y  |  y  |  y  |  y  |  y  |  y  |  y  | 
|  [`CONFIG_DEFAULT_MMAP_MIN_ADDR`](kernel-hardening.md#CONFIG_DEFAULT_MMAP_MIN_ADDR)  |  4096  |  65536  |  65536  |  65536  |  65536  |  65536  |  65536  | 
|  [`CONFIG_DEVMEM`](compare-with-al2-kernel.md#CONFIG_DEVMEM)  |  y  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_DEVPORT`](compare-with-al2-kernel.md#CONFIG_DEVPORT)  |  y  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_FORTIFY_SOURCE`](compare-with-al2-kernel.md#CONFIG_FORTIFY_SOURCE)  |  y  |  y  |  y  |  y  |  y  |  y  |  y  | 
|  [`CONFIG_HARDENED_USERCOPY_FALLBACK`](kernel-hardening.md#CONFIG_HARDENED_USERCOPY_FALLBACK)  | N/A | N/A | N/A | N/A | N/A | N/A | N/A | 
|  [`CONFIG_INIT_ON_ALLOC_DEFAULT_ON`](kernel-hardening.md#CONFIG_INIT_ON_ALLOC_DEFAULT_ON)  | N/A |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_INIT_ON_FREE_DEFAULT_ON`](kernel-hardening.md#CONFIG_INIT_ON_FREE_DEFAULT_ON)  | N/A |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_IOMMU_DEFAULT_DMA_STRICT`](kernel-hardening.md#CONFIG_IOMMU_DEFAULT_DMA_STRICT)  | N/A |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_LDISC_AUTOLOAD`](compare-with-al2-kernel.md#CONFIG_LDISC_AUTOLOAD)  |  y  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_SCHED_CORE`](kernel-hardening.md#CONFIG_SCHED_CORE)  | N/A | N/A |  y  | N/A |  y  | N/A |  y  | 
|  [`CONFIG_SCHED_STACK_END_CHECK`](kernel-hardening.md#CONFIG_SCHED_STACK_END_CHECK)  |  y  |  y  |  y  |  y  |  y  |  y  |  y  | 
|  [`CONFIG_SECURITY_DMESG_RESTRICT`](compare-with-al2-kernel.md#CONFIG_SECURITY_DMESG_RESTRICT)  |  n  |  y  |  y  |  y  |  y  |  y  |  y  | 
|  [`CONFIG_SECURITY_SELINUX_DISABLE`](compare-with-al2-kernel.md#CONFIG_SECURITY_SELINUX_DISABLE)  |  y  |  n  |  n  | N/A | N/A | N/A | N/A | 
|  [`CONFIG_SHUFFLE_PAGE_ALLOCATOR`](kernel-hardening.md#CONFIG_SHUFFLE_PAGE_ALLOCATOR)  | N/A |  y  |  y  |  y  |  y  |  y  |  y  | 
|  [`CONFIG_SLAB_FREELIST_HARDENED`](kernel-hardening.md#CONFIG_SLAB_FREELIST_HARDENED)  |  y  |  y  |  y  |  y  |  y  |  y  |  y  | 
|  [`CONFIG_SLAB_FREELIST_RANDOM`](kernel-hardening.md#CONFIG_SLAB_FREELIST_RANDOM)  |  n  |  y  |  y  |  y  |  y  |  y  |  y  | 

## Autres modifications de configuration du noyau
<a name="al1-general-kernel-config-changes"></a>


| Option `CONFIG` | AL1/4,14/x86\$164 | AL2023/6.1/aarch64 | AL2023/6,1/x86\$164 | AL2023/6.12/aarch64 | AL2023/6,12/x86\$164 | AL2023/6.18/aarch64 | AL2023/6,18/x86\$164 | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  [`CONFIG_HZ`](compare-with-al2-kernel.md#CONFIG_HZ)  |  250  |  100  |  100  |  100  |  100  |  100  |  100  | 
|  [`CONFIG_NR_CPUS`](compare-with-al2-kernel.md#CONFIG_NR_CPUS)  |  8192  |  4096  |  8192  |  4096  |  8192  |  4096  |  8192  | 
|  [`CONFIG_PANIC_ON_OOPS`](compare-with-al2-kernel.md#CONFIG_PANIC_ON_OOPS)  |  n  |  y  |  y  |  y  |  y  |  y  |  y  | 
|  [`CONFIG_PANIC_ON_OOPS_VALUE`](compare-with-al2-kernel.md#CONFIG_PANIC_ON_OOPS_VALUE)  |  0  |  1  |  1  |  1  |  1  | N/A | N/A | 
|  [`CONFIG_PPP`](compare-with-al2-kernel.md#CONFIG_PPP)  |  m  |  m  |  m  |  m  |  m  |  m  |  m  | 
|  [`CONFIG_SLIP`](compare-with-al2-kernel.md#CONFIG_SLIP)  |  m  |  n  |  n  |  n  |  n  |  n  |  n  | 
|  [`CONFIG_XEN_PV`](compare-with-al2-kernel.md#CONFIG_XEN_PV)  |  y  | N/A |  n  | N/A |  n  | N/A |  n  | 

# Comparaison des packages installés sur Amazon Linux 1 (AL1) et Amazon Linux 2023 AMIs
<a name="amzn1-al2023-ami"></a>

Une comparaison entre la norme RPMs actuelle AL1 et la norme AL2 AMIs 023.

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/fr_fr/linux/al2023/ug/amzn1-al2023-ami.html)

# Comparaison des packages installés sur Amazon Linux 1 (AL1) et Amazon Linux 2023 Minimal AMIs
<a name="amzn1-al2023-minimal-ami"></a>

Une comparaison du RPMs présent sur le AL1 AL2 023 Minimal AMIs.

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/fr_fr/linux/al2023/ug/amzn1-al2023-minimal-ami.html)

# Comparaison des packages installés sur les images des conteneurs de base Amazon Linux 1 (AL1) et Amazon Linux 2023
<a name="amzn1-al2023-container"></a>

Comparaison des images RPMs présentes sur les conteneurs de base AL2 023 AL1 et 023.

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/fr_fr/linux/al2023/ug/amzn1-al2023-container.html)