Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS ElasticBeanstalk in a production environment

I wonder about the choice of AWS Elastic Beanstalk as an environment for the production system. Do you have some experience in this regard?

like image 245
Matt Avatar asked May 07 '11 10:05

Matt


People also ask

What is AWS Elastic Beanstalk environment?

The AWS::ElasticBeanstalk::Environment resource is an AWS Elastic Beanstalk resource type that specifies an Elastic Beanstalk environment.

Is Elastic Beanstalk for production?

AWS Elastic Beanstalk makes it easy to create new environments for your application. You can create and manage separate environments for development, testing, and production use, and you can deploy any version of your application to any environment. Environments can be long-running or temporary.

When should you not use Elastic Beanstalk?

Elastic Beanstalk isn't great if you need a lot of environment variables. The simple reason is that Elastic Beanstalk has a hard limit of 4KB to store all key-value pairs. The environment had accumulated 74 environment variables — a few of them had exceedingly verbose names.

Which type of instance is not suitable for production environments?

Hi , Generally non production instance are those which are used to develop the project or if there are any improvement then we made that changes in non production environment e.g. dev instance,test instance.


2 Answers

More info as I have been using EB for more than 8 months...

So far so good, elastic beanstalk has its limitation though.

  1. It is designed for service handling, but when you just want a processing unit, you need to do something additional for ELB and autoscaling.
  2. Fixed in latest release: No VPC yet, so your Elastic Beanstalk is still exposed to the internet., but VPC support is limited and need manually config through config files.
  3. Fixed in latest release: Not easy to customize the webserver (e.g. tomcat) you have to use your own images.
  4. Limited tuning option on the webserver parameter.
  5. From my experience, reliability is OK not great, the main problem is the EB automation scripts sometime can stuck you environment.

But overall I like it.

like image 153
Leo Liang Avatar answered Oct 17 '22 20:10

Leo Liang


We deployed our Java webapplication (all three environments) Beta, Staging and live on ElasticBeanStalk. They are doing well, so far we haven't faced any issues with Elastic Beanstalk.

like image 38
Sangram Anand Avatar answered Oct 17 '22 20:10

Sangram Anand