Elastic Beanstalk Flashcards
You have created a Java application that uses RDS for its main data storage and ElastiCache for user session storage. The application needs to be deployed using Elastic Beanstalk and every new deployment should allow the application servers to reuse the RDS database. On the other hand, user session data stored in ElastiCache can be re-created for every deployment.
Which of the following configurations will allow you to achieve this? (Select two)
- RDS database defined in .ebextensions/
- ElastiCache defined in .ebextensions/
- ElastiCache database defined externally and referenced through environment variables
- RDS database defined externally and referenced through environment variables
- ElastiCache bundled with the application source code
- ElastiCache defined in .ebextensions/
- RDS database defined externally and referenced through environment variables
Which Elastic Beanstalk deployment policies launch new instances?
- Immutable
- traffic splitting
When creating configuration files for AWS Elastic Beanstalk which naming convention should you follow?
.ebextensions/<mysettings>.config</mysettings>
Example .ebextensions/network-load-balancer.config
What are Elastic Beanstalk immutable deployment characteristics?
- Zero downtime
- Slower
- Replaces instances
- Quick and safe rollback
- Second Auto Scaling group alongside the old, until the new instances pass health checks.
What are the Elastic Beanstalk traffic splitting characteristics?
- Zero downtime
- Canary testing
- Replaces instances
- Test the health of version using a portion of incoming traffic,
- Keeps the rest of the traffic served by the old version.
What are the Elastic Beanstalk environment types?
- Load-balanced
- Single-instance
- Dedicated worker