Working With Amazon Beanstalk
Amazon Beanstalk Through AWS Console
We can create and manage Amazon Beanstalk using the AWS Management Console log in to your AWS account. follow the steps that have mentioned above in “How to Deploy an Application Using Elastic Beanstalk”
Amazon Beanstalk Through AWS Command Line Interface (AWS CLI)
AWS provides a set of commands that can be run on AWS-CLI (AWS Command Line Interface) to manage your services. Much like you’d manage from your AWS Console. Following is a list of commands that can be run for managing the AWS Elastic Beanstalk service.
- abort-environment-update
- apply-environment-managed-action
- check-dns-availability
- compose-environments
- create-application
- create-application-version
- create-configuration-template
- create-environment
- create-platform-version
- create-storage-location
- delete-application
- delete-application-version
- delete-configuration-template
- delete-environment-configuration
- delete-platform-version
- describe-account-attributes
- describe-application-versions
- describe-applications
- describe-configuration-options
- describe-configuration-settings
- describe-environment-health
- describe-environment-managed-action-history
- describe-environment-managed-actions
- describe-environment-resources
- describe-environments
- describe-events
- describe-instances-health
- describe-platform-version
- list-available-solution-stacks
- list-platform-branches
- list-platform-versions
- list-tags-for-resource
- rebuild-environment
- request-environment-info
- restart-app-server
- retrieve-environment-info
- swap-environment-names
- terminate-environment
- update-application
- update-application-resource-lifecycle
- update-application-version
- update-configuration-template
- update-environment
- update-tags-for-resource
- validate-configuration-settings
In simple words, Elastic Beanstalk is an automatic application deployment service. It is the easiest possible way to deploy your applications on AWS even with possibly no prior experience on the platform.
Introduction to AWS Elastic Beanstalk
AWS Elastic Beanstalk is an AWS-managed service for web applications. Elastic Beanstalk is a pre-configured EC2 server that can directly take up your application code and environment configurations and use it to automatically provision and deploy the required resources within AWS to run the web application. Unlike EC2 which is Infrastructure as a service, Elastic Beanstalk is a Platform As A Service (PAAS) as it allows users to directly use a pre-configured server for their application. Of course, you can deploy applications without ever having to use elastic beanstalk but that would mean having to choose the appropriate service from the vast array of services offered by AWS, manually provisioning these AWS resources, and stitching them up together to form a complete web application. Elastic Beanstalk abstracts the underlying configuration work and allows you as a user to focus on more pressing matters.
This raises a concern that if elastic Beanstalk configures most of the resources itself and abstracts the underlying details. Can developers change the configuration if needed? The answer is Yes. Elastic Beanstalk is provided to make application deployment simpler but at no level will it restrict the developers from changing any configurations.