Compute Services Flashcards
AWS Batch
- AWS Batch enables developers, scientists, and engineers to easily and efficiently run hundreds of thousands of batch computing jobs on AWS
- AWS Batch dynamically provisions the optimal quantity and type of compute resources
Amazon LightSail
- Amazon Lightsail is great for users who do not have deep AWS technical expertise as it make it very easy to provision compute services
- Amazon Lightsail provides compute, storage, and networking capacity and capabilities to deploy and manage websites, web
applications, and databases in the cloud - Best suited to projects that require a few dozen instances or fewer
- Provides a simple management interface
- Good for blogs, websites, web applications, e-commerce etc.
- Can deploy load balancers and attach block storage
Amazon Elastic Container Service (ECS)
- ECS is used for running Docker containers in the cloud
- ECS containers are known as tasks
- EC2 launch type:
- You managed EC2 instances which are the hosts for running the
tasks - Fargate launch type:
- AWS manage the underlying compute, cluster, and scaling
- Amazon Elastic Container Registry (ECR) is a private
container image registry
Amazon Route 53
*Route 53 is the AWS Domain Name Service
* Route 53 performs three main functions:
* Domain registration – Route 53 allows you to register domain
names
* Domain Name Service (DNS) – Route 53 translates name to IP
addresses using a global network of authoritative DNS servers
* Health checking – Route 53 sends automated requests to your
application to verify that it’s reachable, available and functional
Amazon Route 53 Routing Policies
- Simple – IP address associated with name
- Failover – if primary is down, route to secondary
- Geolocation – route based on geographic location of request
- Geoproximity – route to closes Region withing geo area
- Latency – use lowest latency route to resources
- Multivalue answer – returns several IP addresses
- Weighted – relative weights (e.g. 80%/20%)
Amazon EC2 Auto Scaling
- Automates scaling of EC2 instances to handle the application load
- Launches and terminates EC2 instances based on demand
- You create collections of EC2 instances, called an Auto
Scaling group (ASG)
*Responds to EC2 status checks and CloudWatch metrics
*Can scale based on demand (performance) or on a schedule
Scaling policies
define how to respond to changes in demand
* Scaling policies include:
* Target Tracking – Attempts to keep the group at or close to the
metric
* Simple Scaling – Adjust group size based on a metric
* Step Scaling – Adjust group size based on a metric – adjustments
vary based on the size of the alarm breach
* Scheduled Scaling – Adjust the group size at a specific time
Amazon Elastic Load Balancing
- ELB automatically distributes incoming application traffic
across multiple targets, such as Amazon EC2 instances,
containers, and IP addresses - ELB can handle the varying load of your application traffic in
a single Availability Zone or across multiple Availability Zones - ELB features high availability, automatic scaling, and robust
security necessary to make your applications fault tolerant
types of Elastic Load Balancer (ELB)
There are two types of Elastic Load Balancer (ELB) that may
feature on the exam:
* Application Load Balancer (ALB) – layer 7 load balancer that
routes connections based on the content of the request
* Network Load Balancer (NLB) – layer 4 load balancer that
routes connections based on IP protocol data
Serverless
- With serverless there are no instances to manage
- You don’t need to provision hardware
- There is no management of operating systems or software
- Capacity provisioning and patching is handled automatically
- Provides automatic scaling and high availability
Name AWS Serverless services?
Serverless services include:
* AWS Lambda
* AWS Fargate
* Amazon EventBridge
* AWS Step Functions
* Amazon SQS
* Amazon SNS
* Amazon API Gateway
* Amazon S3
* Amazon DynamoDB
AWS Lambda Functions
- AWS Lambda executes code only when needed and scales
automatically - You pay only for the compute time you consume (you pay
nothing when your code is not running)
Benefits of AWS Lambda:
- No servers to manage
- Continuous scaling
- Millisecond billing
- Integrates with almost all other AWS services
Amazon Simple Queue Service (SQS)
- SQS offers a reliable, highly-scalable, hosted queue for
storing messages in transit between computers - SQS is used for distributed/decoupled applications
- SQS uses a message-oriented API
- SQS uses pull based (polling) not push based
Amazon MQ
- Message broker service
- Similar to Amazon SQS
- Based on Apache Active MQ and RabbitMQ
- Used when customers require industry standard APIs and
protocols - Useful when migrating existing queue-based applications
into the cloud