This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Elastic Beanstalk

AWS Elastic Beanstalk platform documentation

AWS Elastic Beanstalk is a fully managed service for deploying and scaling web applications and services.

These pages document the various Elastic Beanstalk platform versions used across our applications.

1 - Amazon Linux 2023 v4.9.0

Elastic Beanstalk Python platform - Amazon Linux 2023 v4.9.0

Overview

Amazon Linux 2023 v4.9.0 is an Elastic Beanstalk platform version for running Python applications on 64-bit Amazon Linux 2023.

Platform Timeline

  • Created: December 15, 2025
  • Last Updated: December 16, 2025
  • Lifecycle State: Recommended (Current recommended version)
  • Status: Ready

Note: AWS does not publish specific EOL dates for Elastic Beanstalk platforms. Platform versions typically receive 90-day retirement notices when end-of-life is planned. Check the Python Platform History for updates.

Platform Details

Base System

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

Python Support

This platform version supports Python applications. Common Python versions available:

  • Python 3.12
  • Python 3.11
  • Python 3.9

The specific Python version is determined by your application’s configuration.

Key Features

Amazon Linux 2023 Benefits

  • Security-focused: Regular security updates and long-term support
  • Optimized for AWS: Built specifically for AWS environments
  • Modern tooling: Updated system packages and build tools
  • Performance: Optimized for cloud workloads

Elastic Beanstalk Integration

  • Managed platform updates
  • Auto-scaling capabilities
  • Integrated monitoring with CloudWatch
  • Load balancing
  • Rolling deployments

Framework Support

This platform is commonly used for:

  • Django applications
  • Flask applications
  • FastAPI applications
  • Generic WSGI/ASGI applications

Configuration

Applications on this platform can be configured through:

  • Environment variables
  • .ebextensions configuration files
  • Platform-specific settings in the EB console

References

2 - Amazon Linux 2023 v4.8.0

Elastic Beanstalk Python platform - Amazon Linux 2023 v4.8.0

Overview

Amazon Linux 2023 v4.8.0 is an Elastic Beanstalk platform version for running Python applications on 64-bit Amazon Linux 2023.

Platform Timeline

  • Created: November 20, 2025
  • Last Updated: December 16, 2025
  • Lifecycle State: Available (Superseded by v4.9.0)
  • Status: Ready

Note: AWS does not publish specific EOL dates for Elastic Beanstalk platforms. Platform versions typically receive 90-day retirement notices when end-of-life is planned. Check the Python Platform History for updates.

Platform Details

Base System

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

Python Support

This platform version supports Python applications. Common Python versions available:

  • Python 3.12
  • Python 3.11
  • Python 3.9

The specific Python version is determined by your application’s configuration.

Key Features

Amazon Linux 2023 Benefits

  • Security-focused: Regular security updates and long-term support
  • Optimized for AWS: Built specifically for AWS environments
  • Modern tooling: Updated system packages and build tools
  • Performance: Optimized for cloud workloads

Elastic Beanstalk Integration

  • Managed platform updates
  • Auto-scaling capabilities
  • Integrated monitoring with CloudWatch
  • Load balancing
  • Rolling deployments

Framework Support

This platform is commonly used for:

  • Django applications
  • Flask applications
  • FastAPI applications
  • Generic WSGI/ASGI applications

Configuration

Applications on this platform can be configured through:

  • Environment variables
  • .ebextensions configuration files
  • Platform-specific settings in the EB console

Migration Considerations

Applications on this platform should plan to upgrade to v4.9.0 or later to benefit from the latest security patches and platform improvements.

References

3 - 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