Module 2: AWS Compute services. Flashcards
What is EC2?
Amazon EC2 is a service that is used to create servers.
How we can save data in EC2?
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.
Who we can secure our EC2 instances?
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 we can automatize the startup process of an EC2 instance?
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.
What are the states of a EC2 instances?
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.
What is AMI?
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.
What are the types of EC2 computing instances?
- General Purpose (T,M,A1) : This EC2 instance balance network, storage, and computational capabilities. Is used in applications like web services and code repositories.
- 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.
- Memory Optimized (R,X): Used for intensive memory workloads (I/O).
- 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..
- Storage Optimized (I,D). To see more information look at it: https://tutorialsdojo.com/amazon-elastic-compute-cloud-amazon-ec2/
What are the types of pricing for EC2 instances?
- On demand: Basic EC2 instances, you pay for the use of the instance.
- 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.
- Spot instances: Are unused instances so you pay a lower price for its use but the risk of loosing that instances is higher,
What is a Bastion host?
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
What is Amazon EKS?
Is a service that allow us to use kubernetes in AWS, without installing operating or maintaining. https://www.youtube.com/watch?v=Mi0nCWoETZM
What is Amazon ECS?
Is a service used as a docker container for our serverless and microservice applications.
What is Amazon Wavelength?
Is a service to develop applications where we require high velocity and low latency.
What is Amazon ECR?
Is a service used in serverless applications, this service helps you to host your containers
What is Amazon Lightsail?
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.
What is Amazon Elastic Beanstalk?
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)