elastic beanstalk Flashcards

1
Q

What is Elastic Beanstalk?

A

Elastic Beanstalk is the quickest and easiest way to deploy and scale web applications.

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

What programming languages are supported by Elastic Beanstalk?

A

Elastic Beanstalk supports Java, PHP, Python, Ruby, Go, .NET, and Node.js.

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

What are the benefits of using Elastic Beanstalk?

A

Elastic Beanstalk provisions AWS resources for you, performs sysadmin tasks, and allows you to manage EC2 instances or take full administrative control.

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

What are the Elastic Beanstalk deployment types?

A

The Elastic Beanstalk deployment types include: All at Once, Rolling, Rolling with Additional Batch, Immutable, and Traffic Splitting.

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

What is the All at Once deployment type?

A

The All at Once deployment type involves a service interruption where everything goes down. Rolling back requires a further All at Once Update.

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

What is the Rolling deployment type?

A

The Rolling deployment type involves reduced capacity during deployment. Rolling back requires a further rolling update.

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

What is the Rolling with Additional Batch deployment type?

A

The Rolling with Additional Batch deployment type maintains full capacity. Rolling back requires a further Rolling Update.

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

What is the Immutable deployment type?

A

The Immutable deployment type maintains full capacity. To roll back, delete the new instances. It is the preferred option for mission-critical production systems.

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

What is the Traffic Splitting deployment type?

A

The Traffic Splitting deployment type performs an Immutable deployment and then splits the traffic between the old and new deployment, enabling canary testing.

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

What are the two options for deploying RDS when working with Elastic Beanstalk?

A

The two options for deploying RDS when working with Elastic Beanstalk are: inside Beanstalk and outside Beanstalk.

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

What is the inside Beanstalk option for deploying RDS?

A

Inside Beanstalk, it is quick and easy to add a database. However, the database is also terminated when you terminate the Elastic Beanstalk stack. This option is suitable for development and testing only.

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

What is the outside Beanstalk option for deploying RDS?

A

Outside Beanstalk, deleting the stack doesn’t impact the database. Additional configuration is required, such as security group and connection information. This option is suitable for production environments and offers more flexibility.

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

What are the two options for deploying RDS when working with Elastic Beanstalk?

A

The two options for deploying RDS when working with Elastic Beanstalk are: inside Beanstalk and outside Beanstalk.

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

What is the inside Beanstalk option for deploying RDS?

A

Inside Beanstalk, it is quick and easy to add a database. However, the database is also terminated when you terminate the Elastic Beanstalk stack. This option is suitable for development and testing only.

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

What is the outside Beanstalk option for deploying RDS?

A

Outside Beanstalk, deleting the stack doesn’t impact the database. Additional configuration is required, such as security group and connection information. This option is suitable for production environments and offers more flexibility.

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

What is the Windows Web Application Migration Assistant for Elastic Beanstalk?

A

The Windows Web Application Migration Assistant for Elastic Beanstalk, formerly named the .NET Migration Assistant, is an open-source, interactive PowerShell utility that migrates .NET applications from on-premises Windows servers to Elastic Beanstalk.

17
Q

What are the customization options for Elastic Beanstalk environments in Amazon Linux 1?

A

In Amazon Linux 1, customization options include using the .ebextensions folder. This folder should be located at the top-level directory of your application source code bundle. Files within this folder must have a .config extension (e.g., myhealth checkurl.config).

18
Q

What are the customization options for Elastic Beanstalk environments in Amazon Linux 2?

A

In Amazon Linux 2, customization options include using the BUILDFILE, PROCFILE, and PLATFORM HOOKS. The BUILDFILE is created in the root directory of the application source and contains commands that exit upon completion (e.g., shell scripts). The PROCFILE is used for defining long-running processes, such as custom commands to start the application. PLATFORM HOOKS are custom scripts or executables that run at various stages, such as during EC2 instance provisioning. Examples include platform/hooks/prebuild, platform/hooks/predeploy, and platform/hooks/postdeploy.