Patrick Jürgens » Symfony » Deploying a Symfony application to Elastic Beanstalk

Deploying a Symfony application to Elastic Beanstalk

AWS Elastic Beanstalk is an orchestration service provided by Amazon Web Services (AWS) for application delivery that coordinates various AWS services such as EC2, S3, Simple Notification Service, CloudWatch, Autoscaling, and Elastic Load Balancers.

Elastic Beanstalk makes it very easy for developers to deploy Symfony applications. In the following I will describe in a step-by-step guide how to set up a deployment flow.

But first things first. First we need to create an AWS account and install the required software.

You can easily create your AWS account here (https://portal.aws.amazon.com/billing/signup). However, you will need a valid credit card. Even though the free quota should be sufficient this guide, Amazon requires a credit card for possible future payments.

In addition to the AWS account, you will also need the following software,
– PHP, Composer, Git and Symfony CLI for basic software development and
– EB CLI, https://github.com/aws/aws-elastic-beanstalk-cli-setup for controlling the beanstalk.

After you have installed the software, just create a Symfony demo project as described here https://symfony.com/doc/current/setup.html:

You can test your application with a browser here: http://127.0.0.1:8000

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Time limit is exhausted. Please reload the CAPTCHA.