How to create an elastic beanstalk configuration template for your environment

Whenever I create a new environment in Elastic Beanstalk, I manually configure the user AMI, SNS notifications, etc., but I want to do this automatically, i.e. save the settings (user ID AMI, SNS, key-pair, etc.,) to the configuration template. Using the command line or the AWS management console, we can create this configuration template. Please suggest me.

+4
source share
2 answers

The resilient Beanstalk console is pretty lacking when it comes to setting up templates. You cannot update or delete templates. For complete control, there is a command line tool .

You can also get the AWS Eclipse plugin . This is not as complete as the CLI, but much better than the web console.

+2
source

You can easily do this through the Amazon web console. If you need configuration, just click "Save Configuration". You can then use the edit / load configuration to redirect it to new environments.

Web console

If you use elastic beanstalk command-line tools when you set up your environment using the git aws.config command, it creates a directory named .elasticbeanstalk with a file in it called config, which looks like this:

[global] AwsCredentialFile=/path/to/file/with/aws/account/credentials ApplicationName=YourAppName DevToolsEndpoint=git.elasticbeanstalk.your-region-name.amazonaws.com EnvironmentName=yourEnvName Region=your-region-name 

Hope this helps!

+7
source

Source: https://habr.com/ru/post/1382234/


All Articles