I'm very confused about Elastic Beanstalk Application
I currently host all my websites in a windows server iis based, elastic ip server.
it is a medium ec2 instance so I pay quite a bit.
I was considering migrating it to Elastic Beanstalk Application instead of using my current one.
after creating one Elastic Beanstalk Application I notice it creates a t1.micro ec2 instance and Amazon say they scale under demand, which is fine.
my question is about how many Elastic Beanstalk Application applications I need to have?
can I have all my 30 websites under 1 Elastic Beanstalk Application?
if I have to create an Elastic Beanstalk Application(which is a t1.micro) for each website I will spend over $400.00 month
please, clarify
thanks
An environment is a collection of AWS resources running an application version. Each environment runs only one application version at a time, however, you can run the same application version or different application versions in many environments simultaneously.
Elastic Beanstalk applies an application's lifecycle policy each time you create a new application version, and deletes up to 100 versions each time the lifecycle policy is applied.
In AWS Elastic Beanstalk, you can create a load-balanced, scalable environment or a single-instance environment.
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.
With IIS, the option of deploying multiple apps is not available. Please refer to the following stackoverflow discussion Deploy multiple applications to a single EC2 instance using AWS Elastic Beanstalk
This feature is only available for java applications. You can bundle multple WAR files into one ZIP file for deployment.
Here is aws documentation for the feature release. https://aws.amazon.com/about-aws/whats-new/2015/06/aws-elastic-beanstalk-supports-multiple-war-files-and-m4-instances/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With