Elastic Beanstalk uses and reason for choosing [DEPRECATED] - Revature-RPM/Launch-Testing-Service GitHub Wiki
AWS Elastic Beanstalk is used to deploy projects from an S3 bucket to a newly spun up EC2 instance. We chose this because the project were theoretically already being stored in an s3 bucket we just needed to grab them and run them on a new server.
The important parts of an elastic beanstalk lifecycle is Create application version: using the CreateApplicationVersionRequest object from the SDK we take a given s3 bucket and turn the program into a runnable application for elasticbeanstalk
Setting environment up we use CreateEnvironmentRequest to tell elasticbeanstalk all the specifics of the environment we need to run the specific application
Running application on environment to run the application elastic beanstalk will look within your application version for a file called "procfile" procfile will contain a line looking like "web:java -jar webserver.jar" this tells elastic beanstalk how to run the application as a webserver for future use. anything after the "web:" will be the exact command line entry for running this project allowing for any kind of project to be run so long as a valid executable statement is given.in the current iteration (as of 6/25/19) this procfile is being hard set and not placed properly into the s3 bucket before application versioning is done. future additions will generate this file using java file writers and then place it into the application folder on the s3 bucket before turning it into an application version.
termination finally we use the TerminateEnviornmentRequest to terminate our elasticbeanstalk and all its related AWS resources