AWS Services - Compute Flashcards
What is a EC2?
Amazon Elastic Compute Cloud (EC2)
- Cloud virtual servers
- Use preconfigured template called Amazon Machine Image (AMI) to luch instances
- Deploy applications directly to EC2 instances
- You receive 750 Compute hours per month on Free Tier plan
- EC2 offers Loading balancing and Auto Scalling
Category: Compute
Name 4 methods which can be used to connect to EC2 Instance?
- AWS Management Console
- Secure Shel (SSH)
- EC2 Instance Connent (EIC) - allows use of IAM policies to control ssh access to instances, removing the need to manage SSH keys
- AWS Systems Manager - allows you to manage your. EC2 Instances via web browser or the AWS CLI
List 5 EC2 pricing plans?
- On-Demand - Fixed price billed down to the second
- Spot - Unused EC2 capacity, only if capacity is vailable (Cheapest option)(Work loads can be interrrupted) (can save up 90% off On-Demand prices)
- Reserved Instances (1 year or 3 years contracts)(can save up 75% off On-Demand prices)(Pay all upront, Partially upfront, No upfront ) (provides convertible types at 54% discount)
- Dedicated Hosts - Fully dedicated physical server to you (You can bring your own license)(can save up 70% off On-Demand prices)
- Savings plans - commit to compute usage (measured per hour) (1 to 3 years contract) (Does not provide capacity reservation)(can save up 72% off On-Demand prices)
What is EC2 Auto Scaling?
EC2 Auto scaling:
- Add or reduces EC2 instances autmatically across AZs based on need and chaning demand
- reduces the impact of system failures and improves the availability of your applications.
- Horizontal scaling
NB: Vertical scaling or Scaling up means upgrades to EC2 Instance by adding more power (CPU, RAM) to an existing server.
What are 4 types of Elastic Load Balancing?
- Classic Load Balancer
- Application Load Balancer
- Gateway Load Balancer
- Network Load Balancer
What is Classic Load Balancer?
Classic Load Balancer distributes application traffic across multiple EC2 instances in multiple Availaibility Zones.
- Inproves fault tolerance on your applications
- Elastic Load balancing detects unhealty instances and routes traffic only to healthy instances
What is an Application Load Balancer?
Elastic Load Balancing automatically distributes your incoming traffic across multiple targets, such as EC2 instances, containers, and IP addresses, in one or more Availability Zones.
- It monitors the health of its registered targets, and routes traffic only to the healthy targets.
- Elastic Load Balancing scales your load balancer as your incoming traffic changes over time. It can automatically scale to the vast majority of workloads.
What is a Network Load Balancer?
Network Load Balancer is optimized to handle sudden and volatile traffic patterns while using a single static IP address per Availability Zone. It is integrated with other popular AWS services such as Auto Scaling, Amazon EC2 Container Service (ECS), Amazon CloudFormation, and AWS Certificate Manager (ACM).
What is a AWS Gateway Load Balancer?
AWS Gateway Load balancer makes it easy and cost-effective to deploy, scale and manage the availability of third-party virtual appliances such as firewalls, intrusion detection and prevention systems and deep packet inspection systems in the cloud. AWS Partner Network and AWS Marketplace partners can also offer their virtual appliances as-a-service to AWS customers without having to solve the complex problems of scale, availability and service delivery.
What is AWS Lambda?
AWS Lambda is a serverless compute service that lets you run code without managing servers.
- Deploy applications as functions using various programing languages such Python, java, Go etc ..
- Scales automatically
- 15 munites timeout
- You get charged on compute time used, request counter and the free usage plan includes 1 million free request per month (Even after free usage tier expires).
Category: Compute
What is AWS Fargate?
AWS Fargate is a serverless compute engine for containers that works with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS).
AWS Fargate makes it easy for you to focus on building your applications. Fargate removes the need to provision and manage servers, lets you specify and pay for resources per application, and improves security through application isolation by design
What is Amazon Lightsail?
Amazon Lightsail is a virtual private server (VPS) and is the easiest way to get started with AWS for developers, small businesses, students, and other users who need a solution to build and host their applications on cloud.
- Deploy preconfigured applications like WordPress websites at a click of a button.
- Includes a virtual Machine, SSD-based storage, data trasfer, DNS management and a static IP address
- Provides a low predicatable montly pricing fee as low as $3.50
What is AWS Outposts?
AWS Outposts is a fully managed service that offers the same AWS infrastructure, AWS services, APIs, and tools to virtually any datacenter, co-location space, or on-premises facility for a truly consistent hybrid experience. AWS Outposts is ideal for workloads that require low latency access to on-premises systems, local data processing, data residency, and migration of applications with local system interdependencies.
AWS compute, storage, database, and other services run locally on Outposts, and you can access the full range of AWS services available in the Region to build, manage, and scale your on-premises applications using familiar AWS services and tools.
- AWS delivers and installs servers in your internal data center
- Used for a hybrid experience
- Have access to the cloud services and APIs to develop apps on-premises
What is AWS Batch?
AWS Batch is a set of batch management capabilities that enables developers, scientists, and engineers to easily and efficiently run hundreds of thousands of batch computing jobs on AWS.
- Dynamically provisions instances based on volume
- AWS Batch plans, schedules, and executes your batch computing workloads across the full range of AWS compute services and features, such as AWS Fargate, Amazon EC2 and Spot Instances.