@roshdy/mup-aws-beanstalk
v0.8.4
Published
Deploy apps to AWS Elastic Beanstalk using Meteor Up
Readme
mup-aws-beanstalk
Plugin for Meteor Up to deploy using AWS Beanstalk.
Features:
- Load balancing with support for sticky sessions and web sockets
- Autoscaling
- Meteor settings.json
- Zero downtime deploys
- Automatically uses the correct node version
UPDATE :: (Using Launch Templates)
Key Changes:
createLaunchTemplateFromConfig:Converts the launch configuration to a launch template.
Integration in
createDesiredConfig:Added a reference to the Launch Template in
OptionSettingsunderaws:autoscaling:launchtemplate.Conditional Template Conversion:
In
prepareUpdateEnvironment, the script checks forlaunchConfigNameandlaunchTemplateNameand performs the conversion.Replaced Launch Configuration Reference:
Adjusted
roleNameto pull settings fromaws:autoscaling:launchtemplateinstead oflaunchconfiguration.Added Launch Template Specification:
The LaunchTemplate property is used to reference the
LaunchTemplateIdand its version dynamically.Dynamic Defaults:
Default values (
<launch-template-id>andversion) are included as fallbacks to ensure flexibility during deployment.
Usage
- Set
launchConfigNameorlaunchTemplateNameinmup.jsunderapp - Ensure that your Elastic Beanstalk environment settings include options for
LaunchTemplateIdandLaunchTemplateVersionto dynamically pull theseconfigurations.
