Module 5: Adding a compute layer with eC2 Flashcards
Role of cloud architect when designing a compute layer
Analyse key characteristics of the workload to choose AMI, EC2 instance type and storage options that optimize the perf and security
What are the different type of compute options proposed by AWS
1) Virtual Machines
2) Containers
3) Virtual Private Servers
4) Platform as a service
5) Serverless
What AWS service propose virtual Machines
EC2
What AWS Services allow the usage of containers?
Amazon Elastic Container Service (ECS)
Amazon Elastic Kubernetes Service (EKS)
Use both service to run container application in highly available and scalable environment
What AWS service allows for Virtual Private servers (VPS)
Amazon Lightsail
What AWS service aloow computing in a PaaS setting
Beanstalk
What serverless computing services are part of the AWS ecosystem
AWS lambda
AWS fargate
What is EC2?
Elastic Cloud compute.
It provides secure and resizable virtual servers in the cloud that can run workloads of differing sizes.
What is ECS?
Elastic Container Services:
Allows you to use docker containers in the cloud
What is EKS
Elastic Kubernetes services
Allows you to use kubernetes
What is Amazon Lightsail?
Lightsail is a virtual private server that provides devekopers with compute storage and networking capabilities. Light weight with everything. Simple management interface. Use case include running website, devloping apps, blog, e-commerce…..
What is Lambda?
Serverless compute solution allowing you to run code like Java, Go, Powershell, Node.js, C#, Python or Ruby
What is Beanstalk
Solution that runs web apps and services developped in java, .net, php, node.js, ruby, Go and docker. you upload your code and the service automatically handle the devlopment for you.
What languages are supported by beanstalk?
Java
:NET
PHP
Node.js
Python
Ruby
Go
Docker
What is Fargate?
serverless compute for containers
What is the advantage of serverless services?
They enable you to run workloads withou having to provision configure or manage servers
Compute service categories differentiators
Structure of an EC2
The instance runs on top of an Hypervisor. The hypervisor is the platform that provides access to the actual hardware supporting the machine.
What is an instance store ?
Ephemeral storage physically attached to the host computer and provides temporary block storage to the instance
What is a common supporting memory service to EC2?
EBS (Elastic Block Store) used for the boot disk and other storage needs. Provides persistent block storage volumes. The data will be persisted even when the instance is stopped.
How does EBS optimized instance improve the synergy with EC2?
By minimizing the I/O contention between the volume and other traffic from the instance
Why choose EC2?
You need complete control of your computing resources, OS; CPU; STORAGE; Applications… It can be used for running any type of workload
Type of instances for optimizing cost?
On demand instance,
Reserved instances,
Spot instances,
Saving plans
Dedicated hosts
What do you need to configure if you want to access the instance using Secure Shell (SSH)or Remote desktop Protocol (RDP)
You need to setup a key pair. A set of security credentials