Vapor: Amazon Linux 2 Runtimes Are Now Available

Nuno Maduro
Nuno Maduro

The runtime configuration option in the vapor.yml allows you to specify which PHP version a given environment uses.

Amazon recently announced the second version of its operating system: Amazon Linux 2 - that provides optimized performance and long term support, without any additional charges.

Starting today, you may start using PHP on top of Amazon Linux 2 by updating the runtime configuration option in the vapor.yml like so:

id: 3name: vapor-appenvironments: production:- runtime: php-8.0+ runtime: php-8.0:al2

Once the environment is deployed, your application will automatically start using Amazon Linux 2 with zero downtime.

Keep in mind that using Amazon Linux 2 is highly recommended, as Amazon Linux 1 will end-of-life its standard support on December 31, 2020. After that date, Amazon will only be making "maintenance support" updates to the operating system.

We hope you enjoy this new addition to Laravel Vapor. At Laravel, we're committed to providing you with the most robust and developer-friendly PHP experience in the world. If you haven't checked out Vapor, now is a great time to start! You can create your account today at:

Nuno Maduro
Nuno Maduro

Latest Stories

Here’s what we've been up to recently.

Request a code sample

Certified Quality. Great Prices

We use cookies to improve your experience and to help us understand how you use our site. By using this site, you accept our use of cookies. Cookie Infox