Amazon Linux 2023

Elastic Beanstalk Python platform - Amazon Linux 2023

Overview

Amazon Linux 2023 is the base platform for Elastic Beanstalk Python applications running on 64-bit architecture.

Support Timeline

  • Initial Release: May 2023 (Platform v4.0.0)
  • Current Recommended: v4.9.0 (December 2025)
  • Amazon Linux 2023 Support: 5 years from release (through 2028)
  • Update Frequency: Monthly security and feature updates

Note: AWS provides a 90-day notice before retiring platform versions. Active environments continue to run on their selected platform version, but new features and security updates are only available on current versions. Monitor the Python Platform History for announcements.

Platform Details

Base System

  • Operating System: Amazon Linux 2023
  • Architecture: 64-bit (x86_64)

Python Support

Amazon Linux 2023 supports multiple Python versions for Elastic Beanstalk applications:

  • Python 3.12
  • Python 3.11
  • Python 3.9
  • Python 3.8

Key Features

Amazon Linux 2023 Benefits

  • Next-generation AL2: Successor to Amazon Linux 2
  • Security-focused: SELinux enabled by default
  • Deterministic updates: Predictable release schedule every 2 years
  • Standard support: 5 years of support
  • Modern tooling: Updated system packages and development tools
  • Performance: Kernel and system optimizations for AWS

Elastic Beanstalk Advantages

  • Fully managed: AWS handles provisioning, load balancing, scaling
  • Auto-scaling: Automatically scales based on application demand
  • Monitoring: Integrated CloudWatch metrics and logging
  • Rolling updates: Zero-downtime deployments
  • Multi-environment: Easy management of dev, staging, and production

Framework Support

Amazon Linux 2023 on Elastic Beanstalk supports:

  • Django: Full-featured web framework
  • Flask: Lightweight WSGI web application framework
  • FastAPI: Modern async web framework
  • Pyramid: Flexible web framework
  • Custom WSGI/ASGI applications

Platform Versions

For specific platform version details, see:

Configuration Options

Environment Variables

  • Set via EB console, CLI, or configuration files
  • Accessible to your application at runtime

.ebextensions

  • Configuration files for customizing EB environment
  • Install packages, run commands, configure services

Procfile

  • Define custom processes to run in your application

Best Practices

  1. Use specific platform versions for production stability
  2. Pin dependencies in requirements.txt
  3. Configure health checks for reliable auto-scaling
  4. Use environment variables for configuration
  5. Enable enhanced health reporting for better monitoring

References

Last modified February 5, 2026: Adds proposal summary (2c393ca)