Module 2: AWS Compute services. Flashcards

1
Q

What is EC2?

A

Amazon EC2 is a service that is used to create servers.

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

How we can save data in EC2?

A

We can use Instance storage Volumes which is attached directly to the EC2 instance, the problem with this is that only is useful on temporary data because if we shutdown the EC2 instance then all data is deleted (using this memory we get faster I/O on EC2 instance).

If we want to secure our data no matter what, the best option is to use a EBS volume.

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

Who we can secure our EC2 instances?

A

We can secure the access to our EC2 instances using Key pairs to login, and we can secure the network traffic using security groups and VPC.

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

How we can automatize the startup process of an EC2 instance?

A

At the moment we are creating our EC2 instance, at the part of User data we can put our scripts in order to automatize everything.

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

What are the states of a EC2 instances?

A

Star: Basically start your EC2 instance.
Stop: Basically turn off your EC2 instances, all of the content in your Instance Storage Volume will be deleted so use EBS instead if you want to store your data.
Terminate: Shut down your instance and delete it.

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

What is AMI?

A

At the moment we are creating an EC2 instance, we need to specify the OS that will be running in that instance. AMI is that.

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

What are the types of EC2 computing instances?

A
  1. General Purpose (T,M,A1) : This EC2 instance balance network, storage, and computational capabilities. Is used in applications like web services and code repositories.
  2. Computed Optimized (C): These are EC2 instances used for task where you need high performance and high computational capacity. Is used in engineering applications , video encoding, high performance servers.
  3. Memory Optimized (R,X): Used for intensive memory workloads (I/O).
  4. Accelerated Computing (P,D,TG,F): EC2 instances whit double processors, GPU and a lot more tools to do task like machine learning, data science, etc..
  5. Storage Optimized (I,D). To see more information look at it: https://tutorialsdojo.com/amazon-elastic-compute-cloud-amazon-ec2/
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the types of pricing for EC2 instances?

A
  1. On demand: Basic EC2 instances, you pay for the use of the instance.
  2. Reserved: if you want to use an instance for a long period of time (1 year - 3 years) you can use this instances and pay upfront to use this instance.
  3. Spot instances: Are unused instances so you pay a lower price for its use but the risk of loosing that instances is higher,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Bastion host?

A

A bastion host is a server whose purpose is to provide access to a private network from an external network, such as the Internet. Because of its exposure to potential attack, a bastion host must minimize the chances of penetration

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

What is Amazon EKS?

A

Is a service that allow us to use kubernetes in AWS, without installing operating or maintaining. https://www.youtube.com/watch?v=Mi0nCWoETZM

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

What is Amazon ECS?

A

Is a service used as a docker container for our serverless and microservice applications.

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

What is Amazon Wavelength?

A

Is a service to develop applications where we require high velocity and low latency.

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

What is Amazon ECR?

A

Is a service used in serverless applications, this service helps you to host your containers

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

What is Amazon Lightsail?

A

Is a service where you can host Full stack Applications in matter of seconds, they are similar to EC2 instances and has attached SSD disk to it.

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

What is Amazon Elastic Beanstalk?

A

Is a service used to focus on creating applications instead of focusing in configuring infrastructure. With Beanstalk you can migrate your python, java. net. docker apps, tomcat, nginx , servers, apps etc.. without worry about configurate servers, elastic beanstalk manages the provisioning, deploying, load balancing of your applications. (Basically a PaaS)

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

What is Amazon Fargate?

A

Is a service used in serverless applications, to manage your containers hosted on ECS and EKS. With fargate you don’t have to worry about launching containers using EC2 instances to run applications.

17
Q

What is an AMI?

A

Is a template that we can use for our EC2 instances, here we can install the Operating system, some network configuration, and other basic components.

18
Q

Can we create our own AMIs?

A

Yes, we can create our own AMIs from our EC2 instances. To do that we have to attack an EBS volume to our EC2 instance and take a snapshot of our instance in the EBS volume.

19
Q

What is the difference between a dedicated instance and a dedicated host on EC2?

A

A dedicated instance is a exclusive instance for your use on that don’t share its host with other instances. A dedicated host is just an exclusive server for your, here you have more control and that kind of things but with a higher cost.

20
Q

What is Amazon lightsail?

A

Is a service that is offered to do exactly the same thing an EC2 instance does, but without worry about configuration of your servers. In light Sail we have “Blueprints” (virtual private images) which are like AMI but with stack of software pre installed on them.

21
Q

What is Amazon Beanstalk?

A

Is like amazon lightsail but easier. Here you select pre configured environments optimized for specific use cases ( python, node, java, etc..) and pay for consumed resources. You don’t have to choose ram, cpu, etc.. because amazon is going to auto generate resources for you in case your application needs them.