Jump to content

Elastic beanstalk deployment of PHP app


arbitrageur

Recommended Posts

I created a PHP app, and now is time to deploy.

Originally, the plan was just to get a good "x.large" EC2 instance and configure via FTP/SSH.

 

Now I realize that that isn't the best idea, because EC2 instances are quite expensive, and may disappear without notice.

 

So I heard of elastic beanstalk, with supposedly solves this problem. If true, this would be a HUGE help.

 

My question is: How do I deploy a PHP app on elastic beanstalk? I heard it needs .WAR files (a Java thing), which obviously PHP doesn't provide.

 

Also, since my app is using local file storage, I will need to rewrite it to use Amazon's S3 Bucket. Which is additional time.

 

 

Link to comment
Share on other sites

You don't have to use Beanstalk. You don't have to use S3.

At the very least you can use one EC2 box for your stuff, keep all the files there, do whatever like it's just a regular server. If you need unlimited/shared storage then you can migrate to S3. If you need deployment services then you can set up Beanstalk. If you need to maintain a number of EC2 instances, like I think is what you're imagining, then you can add autoscaling and load balancing.

 

and may disappear without notice.

...no. Where did you hear that? Edited by requinix
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.