Compute Services Flashcards
Cloud service models :
Infrastructure as a service (Iaas) can be referred to as a ______ because _____
A hotel because you don’t own the building but you can lease out space and rooms. You manage the software but AWS takes care of the hardware.
Example: EC2
Cloud service models :
Platform as a service (PaaS)
You are not responsible for the ________ s______.
Example: elastic beanstalk
You are not responsible for operating system - windows or Linux instance. Just data and webapp
the process of matching the instance types and sizes to your demand and workload. The most effective way to control cloud cost.
right-sizing
Right sizing is the process of ensuring that the instance type selected for each application provides the right amount of resources for the application.
This feature provides the information required to launch an instance.
Amazon Machine Image (AMI)
You can launch multiple instances from a single AMI when you need multiple instances with the same configuration.
Increasing machine or system capacity would be qualified under ______ scaling.
vertical scaling.
when increasing:
disk i/o
storage
cpu
memory
A company runs a batch job on Amazon EC2 instance and it takes 6 hours to complete. The workload is expected to double in volume each month with a proportional increase in processing time. what is the most efficient cloud architecture to address the growing workload?
run the batch workload *horizontally* scaling across multiple amazon EC2 instances and distribute the workload across them.
This is an example of horizontal scaling (scaling out) and will allow the workload to keep growing in size without any issue and without increasing the overall processing timeframe.
Allows you to rent and manage virtual servers in the cloud
EC2
What are the 2 most common cases you would use EC2 in the real world?
- Deploy a database
- Deploy a web application
A company is launching a new website which is expected to have highly variable levels of traffic. The website will run on Amazon EC2 and must be highly available.
What is the MOST cost-effective solution? (2)
- Create an Amazon EC2 Auto Scaling group and
- Configure an Elastic Load Balancer.
the most cost effective approach for ensuring the website is highly available on EC2 instances = to use an Auto Scaling group.
Auto scaling group will ensure appropriate number of instances is always available to service the demand.
An elastic load balancer can be placed in front of the instances to distribute incoming connections.
A service which will automatically add additional EC2 /instances / servers based on traffic demand of your web applications.
Auto Scaling
Auto Scaling is included with a load balancer.
A load balancer will try first use incoming traffic to disperse users into different servers. But what if it overflows? (3 users in 2 servers)….we then create another EC2 instance horizontally by using auto scaling.
What is a good reason to deploy a database on an EC2 instance?
When we need full control over the instance and database.
Third-party database engine (not available in RDS)
How can you configure Amazon EC2 Auto Scaling to ensure the right number of Amazon EC2 instances are available ahead of the event? (when you anticipate an increase in application traffic) This service helps you to set up your own scaling schedule according to predictable load changes.
Configure a scheduled scaling policy
Customers using AWS services must patch operating systems on which of the following services? (An Iass Compute Service)
Amazon EC2
Amazon EC2 is an IaaS solution This means the underlying hardware and software layer for running a virtual server are managed for. you. As a customer you must manage the operating system and any software you install. This includes patches on the operating system as a part of regular maintenance activities.
A compute service that enables developers, scientists, and engineers to easily and efficiently run hundreds of thousands of batch computing jobs on AWS.
AWS Batch
A compute service that is easy-to-use service for deploying scaling web applications and services developed with Java, .Net, PHP, Node.js, Python, Ruby Go and Docker on familiar servers such as Apache Nginx, Passenger and IIS
AWS Elastic Beanstalk