Source: blog.laravel.com

Vapor: RDS Proxies Now Available

Category: Laravel, Laravel, PHP, PHP, MySQL, MySQL

Even though your serverless Laravel applications running on Vapor can handle extreme amounts of web traffic, traditional relational databases such as MySQL can become overwhelmed and crash due to connection limit restrictions. So, starting today, the Vapor UI allows you to create an RDS proxy to efficiently manage your database connections and allow many more connections than would typically be possible. The database proxy can be added via the Vapor UI or using the database:proxy CLI command: Next, you may instruct an environment to use the proxy associated with the database using the database-proxy configuration option within your vapor.yml file: Once the environment gets deployed, your application will automatically start using the RDS Proxy with zero downtime. Finally, before considering the usage of database proxies in Vapor, please consult Amazon's list of limitations.

At Laravel, we're committed to providing you with the most robust and developer friendly PHP experience in the world.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners