Elastic Beanstalk Flashcards

1
Q

What is Elastic Beanstalk?

A

-Allows you to quickly deploy and manage applications in the AWS Cloud without worrying about the infrastructure that runs those applications.
-Elastic Beanstalk automatically handles the details of capacity provisioning, load balancing, scaling, and application health monitoring for your applications.
-It is a Platform-as-a-Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What languages are supported by EB?

A

Go
Java
.NET
Node.js
PHP
Python
Ruby

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What web containers are supported by EB?

A

Tomcat
Passenger
Puma

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True/False. Elastic Beanstalk does not support Docker containers.

A

False. Elastic Beanstalk supports Docker containers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the workflow for EB?

A

Create Application -> Upload version -> Launch Environment -> Manage Environment

Additional flow between Management and Upload version.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the formation of your applications domain name?

A

subdomain.region.elasticbeanstalk.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Configuration page?

A

The Configuration page shows the resources provisioned for this environment. This page also lets you configure some of the provisioned resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the Health page?

A

The Health page shows the status and detailed health information about the EC2 instances running your application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the Monitoring page?

A

The Monitoring page shows the statistics for the environment, such as average latency and CPU utilization. You also use this page to create alarms for the metrics that you are monitoring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Events page?

A

The Events page shows any informational or error messages from services that this environment is using.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the Tags page?

A

The Tags page shows tags — key-value pairs that are applied to resources in the environment. You use this page to manage your environment’s tags.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

EB Concepts: Application

A

A logical collection of Elastic Beanstalk components, including environments, versions, and environment configurations. It is conceptually similar to a folder.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

EB Concepts: Application Version

A

Refers to a specific, labeled iteration of deployable code for a web application. An application version points to an Amazon S3 object that contains the deployable code. Applications can have many versions and each application version is unique.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EB Concepts: Environment

A

A version that is deployed on to AWS resources. Each environment runs only a single application version at a time, however, you can run the same version or different versions in many environments at the same time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

EB Concepts: Environment Tier

A

determines whether Elastic Beanstalk provisions resources to support an application that handles HTTP requests or an application that pulls tasks from a queue. An application that serves HTTP requests runs in a web server environment. An environment that pulls tasks from an Amazon SQS queue runs in a worker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

EB Concepts: Web Server Environment

A

An application that serves HTTP requests.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

EB Concepts: Worker Environment

A

An environment that pulls tasks from an Amazon SQS queue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

EB Concepts: Environment Configuration

A

identifies a collection of parameters and settings that define how an environment and its associated resources behave.

19
Q

EB Concepts: Saved Configuration

A

a starting point for creating unique environment configurations.

20
Q

EB Concepts: Platform

A

a combination of OS, language runtime, web/application server, and Elastic Beanstalk components.

21
Q

True/False. There is a limit to the number of application versions you can have.

A

True.

22
Q

How can you avoid hitting the limit of applications versions?

A

By applying an application version lifecycle policy to your EB to delete all application versions that are old or to delete application versions when the total number of versions for an application exceeds a specified number.

23
Q

What environment types are offered by EB?

A

-Load-balancing, Autoscaling Environment
-Single-Instance Environment

24
Q

What is Load-balancing, Autoscaling Environment?

A

Load-balancing, Autoscaling Environment – automatically starts additional instances to accommodate increasing load on your application.

25
Q

What is Single-Instance Environment

A

Single-Instance Environment – contains one Amazon EC2 instance with an Elastic IP address.

26
Q

What do environments consist of?

A

-EC2
-Auto Scaling Groups
-Elastic Load Balancing load balancer
-Integration with RDS (MySQL, PostgreSQL, Oracle, SQL Server)
-Environment Variables
-SNS
-unique subdomain

27
Q

What kind of load balancer can service traffic for multiple applications running multiple EB environments with the same VPC?

A

Application Load Balancer

28
Q

What deployment policies are supported with EB?

A

-All at once
-Rolling
-Rolling with additional batch
-Immutable
-Traffic Splitting

29
Q

What is an All at Once deployment policy?

A

deploys the new version to all instances simultaneously and will be out of service for a short time.

30
Q

What is a Rolling deployment policy?

A

deploys the new version in batches.

31
Q

What is a Rolling with Additional Batch policy?

A

deploys the new version in batches, but first launch a new batch of instances.

32
Q

What is an Immutable policy?

A

deploys the new version to a new set of instances.

33
Q

What is a traffic splitting policy?

A

deploys the new version to a new set of instances and temporarily splits incoming client traffic.

34
Q

How can connections between your application’s component environments be specified as named references?

A

The connections between your application’s component environments can be specified as named references using environment links.

35
Q

How long do you have to rebuild a terminated environment?

A

You can rebuild terminated environments within six weeks of their termination with the same name, ID, and configuration.

36
Q

What does EB monitoring show?

A

Elastic Beanstalk Monitoring console displays your environment’s status and application health at a glance. Elastic Beanstalk reports the health of a web server environment depending on how the application running in it responds to the health check.

37
Q

What is Enhanced Health Reporting?

A

A feature that you can enable on your environment to allow AWS Elastic Beanstalk to gather additional information about resources in your environment. Elastic Beanstalk analyzes the information gathered to provide a better picture of overall environment health and aid in the identification of issues that can cause your application to become unavailable.

38
Q

How can you monitor changes to your account?

A

You can create alarms for metrics to help you monitor changes to your environment so that you can easily identify and mitigate problems before they occur.

39
Q

How can you troubleshoot issues with EC2 instances in your EB environment?

A

EC2 instances in your Elastic Beanstalk environment generate logs that you can view to troubleshoot issues with your application or configuration files.

40
Q

What does EB prompt for when creating an environment?

A

Prompts for two IAM roles: a service role and an instance profile.

41
Q

Service Roles.

A

assumed by Elastic Beanstalk to use other AWS services on your behalf.

42
Q

Instance Profiles

A

applied to the instances in your environment and allows them to retrieve application versions from S3, upload logs to S3, and perform other tasks that vary depending on the environment type and platform.

43
Q

What are User Policies?

A

allow users to create and manage Elastic Beanstalk applications and environments.

44
Q

Beanstalk pricing?

A

There is no additional charge for Elastic Beanstalk. You pay only for the underlying AWS resources that your application consumes.