arbitrageur Posted October 29, 2014 Share Posted October 29, 2014 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. Quote Link to comment https://forums.phpfreaks.com/topic/292124-elastic-beanstalk-deployment-of-php-app/ Share on other sites More sharing options...
requinix Posted October 29, 2014 Share Posted October 29, 2014 (edited) 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 October 29, 2014 by requinix Quote Link to comment https://forums.phpfreaks.com/topic/292124-elastic-beanstalk-deployment-of-php-app/#findComment-1495066 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.