Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
187 Cards in this Set
- Front
- Back
- 3rd side (hint)
Define Cloud Computing |
On Demand delivery of compute power, database storage, applications and other IT resources through a cloud services platform via the internet with PAYG pricing |
|
|
Benefits of Cloud Computing |
Upfront Expense for Variable Expense Guessing Capacity Data Centre Costs Economies of Scale Speed and Agility Global |
Ugly Gardens Don’t Encourage Safe Gardening |
|
Cloud Computing Models |
IaaS PaaS SaaS |
|
|
IaaS |
Infrastructure as a Service - provided servers, storage and networking, but you must install your own software, closest to on prem |
|
|
PaaS |
Platform as a Service - runs on top of IaaS, developers have access to already installed software (Elastic Beanstalk) |
|
|
SaaS |
Software as a Service - delivers an entire application via the web, everything is managed by a provider |
|
|
Cloud Deployments |
Private, On Prem, Public, Hybrid |
HOPP |
|
Hybrid Deployment |
A way to connect infrastructure and apps that on on prem with ones on cloud |
|
|
On Prem Deployment |
Private cloud, deploy with virtualisation and resource management tools, can provide dedicated resources |
|
|
EC2 |
A virtual server with customisable instance size (# CPUs and memory) |
|
|
How many AZs can an EC2 instance exist in? |
1 |
|
|
EC2 Instance Types |
General Purpose, Compute Optimised, Memory Optimised, Accelerated Computing, Storage Optimised |
Goofy Cats Make Amazing Superheroes |
|
General Purpose Instance |
Balance of compute, memory and networking, good for apps that don’t need to be optimised in a certain area |
|
|
Compute Optimised |
Good for apps that benefit from high performance processors, good for batch processing |
|
|
What instance type is best for batch processing? |
Compute Optimised |
|
|
Memory Optimised Instance |
Delivers fast performance for workloads that process large datasets or require lots of preloaded data, e.g. real time processing of unstructured data |
|
|
What type of instance is best for a high performance database? |
Memory Optimised Instance |
|
|
What instance type is best for the real time processing of unstructured data? |
Memory Optimised Instance |
|
|
Accelerated Computing Instance |
Uses hardware accelerators or coprocessors, good for floating point calculations, pattern matching and graphics processing |
|
|
What instance type is best for pattern matching? |
Accelerated Computing Instance |
|
|
What type of instance is best for floating point calculations? |
Accelerated Computing Instance |
|
|
What type of instance is best for graphics processing? |
Accelerated Computing Instance |
|
|
Storage Optimised Instance |
Good for high sequential read write access to large datasets on local storage |
|
|
What instance type is best for a distributed file system? |
Storage Optimised Instance |
|
|
What instance type is best for data warehousing? |
Storage Optimised Instance |
|
|
What instance type is best for high frequency OLTP systems? |
Storage Optimised Instance |
|
|
What instance type is best for apps with high IOPS requirements? |
Storage Optimised Instance |
|
|
Amazon ECS Pricing Types |
On Demand, Savings, Reserved Instances, Dedicated Host, Spot Instances |
|
|
On Demand Instances |
Pay for compute capacity by the second with no long term commitments |
|
|
What workloads are On Demand Instances good for? |
Short term or unpredictable usage that cannot be interrupted |
|
|
Spot Instances |
Request spare EC2 capacity for up to 90% off |
|
|
How much of a discount do you get with Spot Instances? |
Can be up to 90% |
|
|
When to use Spot Instances? |
Flexible start/stop times, urgent need for lots of additional capacity, stateless or fault tolerant, may not always be available |
|
|
Reserved Instances |
Book a certain amount of computing power and pay in advance, RIs are assigned to a specific AZ |
|
|
When to use Reserved Instances? |
Commit to using EC2 at a given price over the contract terms, apps with predictable usage and require reserve capacity |
|
|
Contract length for Reserved Instances |
1 or 3 year |
|
|
Payment options for Reserved Instances |
AURI, PURI, NURI |
|
|
AURI |
All Upfront Reserved Instance - pay in full at start of the term with no other additional hourly charges |
|
|
PURI |
Partial Upfront Reserved Instance - pay a portion of a RIs cost and then the remaining hours are billed at a discounted hourly rate regardless of if RI is being used |
|
|
NURI |
No Upfront Reserved Instance - Without paying ahead you are billed hourly regardless of whether RI is used |
|
|
How much of a discount does using Reserved Instances provide? |
Up to 75% |
|
|
Dedicated Hosts |
Physical EC2 server dedicated to your use |
|
|
When to use a Dedicated Host |
You can use your existing server bound software licenses and can also help meet compliance requirements |
|
|
Which is the most expensive EC2 pricing option? |
Dedicated Host |
|
|
EC2 Saving Plans |
Reduce costs by committing to a consistent amount of compute, usage up to commitment charged at discount, over charged as on demand |
|
|
How much discount does a EC2 savings plan provide? |
Up to 72% |
|
|
How long is the contract for a EC2 Savings Plan? |
1 or 3 years |
|
|
How does AWS Cloud allow users to focus on business value? |
Shift technical resources to revenue generating activities rather than managing infrastructure |
|
|
High Availability |
Availability is the percentage of time a workload is available for use. Minimal downtime. |
|
|
Elasticity |
The ability to acquire resources when you need them and release them when you do not - automatic scaling |
|
|
Scalability |
A system that can adapt to meet new levels of demand |
|
|
Agility |
How quickly your app can scale and provision resources to meet demand |
|
|
Auto Scaling Groups |
Automatically scale EC2 instances based on demand, you can set a min and max # of EC2 instances and automatically replace unhealthy instances |
|
|
Elastic Load Balancer |
A managed load balancer that acts as a single point of contact for all incoming web traffic to an EC2 instance |
|
|
ASG |
Auto Scaling Group |
|
|
ELB |
Elastic Load Balancer |
|
|
SNS |
Simple Notification Service |
|
|
SQS |
Simple Queue Service |
|
|
Simple Notification Service (SNS) |
A publish/subscribe service, subscribers can be web servers, email addresses, Lambda functions or more, publishers publish messages to subscribers |
|
|
Simple Queue Service |
Message queueing service to send, store and receive messages between software components |
|
|
Lambda |
Virtual functions, serverless and developer just provides code, scaling is handled by AWS and short execution times |
|
|
Serverless |
You don’t need to provision and manage instances, AWS figures out how to spin up servers to run the code |
|
|
FaaS |
Function as a Service, Lambda |
|
|
Example of FaaS |
AWS Lambda |
|
|
Event Driven |
Functions can be triggered by other AWS services when needed |
|
|
Benefits of AWS Lambda |
Easy pricing based on # invocations and execution time, easy monitoring on AWS CloudWatch and supports many programming languages |
|
|
Dynamic Scaling |
Responds to changes demand |
|
|
Predictive Scaling |
Automatically schedule instances based on predicted demand |
|
|
Monolithic Applications |
An app with tightly coupled components |
|
|
Microservices |
Having many services and components that fulfil different functions to ensure your app is loosely coupled |
|
|
What AWS services facilitate application integration? |
Amazon SNS and Amazon SQS |
|
|
Process of AWS Lambda |
Upload code to Lambda, set code to trigger from an event, code runs when triggered, pay only for compute time used |
|
|
What does it mean when we say Regions are isolated? |
Absolutely no data does in or out your environment without you explicitly granting permission for the data to be moved |
|
|
4 Factors to Choosing a Region |
Compliance with Data Governance and Legal Requirements Proximity to Customers Available Services Pricing |
|
|
Availability Zone |
One or more data centres with redundant power, networking and connectivity |
|
|
AZ |
Availability Zone |
|
|
Containers |
Provide a standard way to package your applications code and dependencies into a single object |
|
|
How many AZs in a region? |
Min 2, Max 6, usually 3 |
|
|
Does a multi-AZ (same region) deployment offer DR? |
No, it only offers high availability, multi-region deployment is needed for DR |
|
|
What is the CDN used by AWS? |
CloudFront |
|
|
CDN |
Content Delivery Network |
|
|
CloudFront |
The content delivery network (CDN) used by AWS |
|
|
Edge Location |
A site used by CloudFront to cache copies of your content for faster delivery to users at any location |
|
|
Outpost |
Extends AWS infrastructure and services to your on prem data centre, like installing a fully operating mini region |
|
|
Elastic Beanstalk |
A free and easy way to deploy and scale web apps and services. You provide code and config settings and Elastic Beanstalk deploys all the resources necessary for adjusting capacity, load balancing, auto scaling and app health monitoring |
|
|
CloudFormation |
Treat infrastructure like code and declare and define AWS resources. Provisions your resources in a safe and repeatable manner. Uses JSON or YAML templates |
|
|
CloudFormation Templates |
JSON or YAML, easily declare without you want without knowing exactly how |
|
|
AWS Container Based Compute Options |
Elastic Container Service, Elastic Kubernetes Service and Fargate |
|
|
Managed Tools for Interacting with AWS |
Elastic Beanstalk and CloudFormation |
|
|
DIY ways of interacting with AWS Services |
Management Console, CLI, SDK |
|
|
AWS Management Console |
Web based interface for accessing and managing AWS services |
|
|
Benefits of AWS Management Console |
Quickly access recently used services and search by name, keyword, acronym. Console included wizards and automated workflows to simplify tasks. |
|
|
AWS CLI |
Saves time making API requests and can automate actions using scripts. Scriptable and repeatable. Scripts can be set to be event triggered. |
|
|
Disadvantages of AWS Management Console |
Allows for more human error, and slow to click through options and interact with the interface if you know what you want |
|
|
AWS SDK |
Makes it easier to use services through an API designed for your language or platform, you can use AWS services with your existing apps. Documentation provided. |
|
|
VPC |
Virtual Private Cloud |
|
|
Amazon Virtual Private Cloud |
A networking service that enables you to provision an isolated section of the AWD cloud, your own data centre |
|
|
How many regions is a VPC tied to? |
1 region |
|
|
ECS |
Elastic Container Service |
|
|
Subnet |
Smaller network partitions if a VPC, a subnet is tied to an AZ |
|
|
By default do VPCs have access to the internet? |
No, by default they are isolated from the internet |
|
|
NACL |
Network Access Control List |
|
|
Network ACLs |
Operates at subnet level to control traffic in and out, supports allow and deny rules including only IP addresses, stateless |
|
|
Stateless |
All traffic is evaluated and separate inbound and outbound roles are needed, does not remember packets |
|
|
Security Group |
Operates at instance level, supports only ALLOW rules and can include IPs and other security groups. Stateful. |
|
|
Stateful |
Return traffic is automatically allowed and packets are remembered. Security Groups. |
|
|
Internet Gateway IGW |
Provides internet access at the VPC level |
|
|
IGW |
Internet Gateway |
|
|
NAT Gateway |
Gives internet access to private subnets |
|
|
EKS |
Elastic Kubernetes Service |
|
|
VPC Peering |
Connects two VPCs with non-overlapping IP Ranges, non transitive |
|
|
VPC Endpoints |
Provides private access to AWS Services from a VPC |
|
|
Private Link |
Securely connect to a service in a 3rd party VPC |
|
|
VPC Flow Logs |
Capture network traffic (IP) logs, can export to S3 or CloudWatch |
|
|
Site to Site VPN |
VPN over public internet between an on prem data centre and AWS, data is automatically encrypted |
|
|
Client VPN |
OpenVPN connection from your computer into your VPC |
|
|
Direct Connect |
Direct private, physical fibre connection from your on prem data centre to AWS |
|
|
Transit Gateway |
Connect thousands of VPCs and on prem networks together |
|
|
Route 53 |
Global managed DNS, collection of rules and records to understand how to reach a server through URLs |
|
|
What is the AWS DNS? |
Route 53 |
|
|
Fargate |
No need to provision and maintain underlying infrastructure, server less containers |
|
|
Route 53 Routing Policies |
Simple, Weighted, Latency, Failover |
|
|
DNS Resolution |
The process of translating a URL to an IP Address |
|
|
Simple Routing Policy |
Use for a single resource that performs a given function. No default health checks. |
|
|
Weighted Routing Policy |
Use to route traffic to multiple resources in proportions you specify |
|
|
Latency Routing Policy |
Use when you have resources in multiple regions you want to route to the region that provides the best latency |
|
|
Failover Routing Policy |
For disaster recovery |
|
|
Instance Stores |
Temporary block level storage behaving like physical hard drives, this disk storage is physically attached to the host |
|
|
Lifespan of an instance store |
Same as it’s host, when the EC2 instance is stopped or terminated, all data in the store is lost |
|
|
EBS |
Elastic Block Store |
|
|
Amazon Elastic Block Store (EBS) |
Provides persistent block level storage for EC2 instances, the volume is automatically replicated in its AZ for high availability and durability |
|
|
Elastic Container Service |
Highly scalable, high performance, container management system to run and scale containerised apps on AWS, supports Docker, but you need to provision and maintain the underlying infrastructure (EC2 Instances) |
|
|
You can attach multiple EBS volumes to an instance, True or False |
True |
|
|
You can attach an EBS volume to multiple instances? True or False |
False |
|
|
EBS Volumes must be in the same AZ as the instances they are attached to, True or False |
True |
|
|
Amazon S3 |
Object storage built to store and retrieve any amount of data from anywhere, store any type of file in S3 with unlimited storage |
|
|
What provides 11 9s of durability? |
Amazon S3 |
|
|
EBS Snapshots |
Snapshots take incremental backups of EBS volumes, subsequent backups only save changes since the most recent |
|
|
Object storage |
An object consists of data, metadata and a key, when a file in object storage is updated, the entire object is updated |
|
|
Max size of an object in S3 |
5TB |
|
|
How to manage access control in S3? |
You can create multiple buckets to store objects and set permissions for each bucket |
|
|
What are buckets used for in S3? |
Version control and access control |
|
|
Elastic Kubernetes Service |
Manage Kubernetes on AWS, Kubernetes is open sourced software that lets you deploy and manage containerised apps at scale |
|
|
What to consider when selecting a storage class? |
How often you plan to retrieve your data How available you need your data to be |
|
|
Typical use cases for Amazon S3 |
Backup and storage, media hosting, software delivery/downloads, static website |
|
|
What storage would you use for a static website? |
Amazon S3 |
|
|
S3 Storage Classes |
Standard, Intelligent Tiering, Standard IA, One Zone IA, Glacier Instant Retrieval, Glacier Flexible Retrieval, Glacier Deep Archive |
|
|
S3 Standard |
Durable, immediately available, frequently accessed |
|
|
Which S3 class is best for frequently accessed data? |
Standard S3 |
|
|
What S3 class is best for data that varies between being frequently and infrequently accessed? |
S3 Intelligent Tiering |
|
|
S3 Intelligent Tiering |
Automatically moves data to the most effective tier by analysing how often it is accessed, either Standard or Standard IA |
|
|
AWS Regions |
A cluster of physical data centres |
|
|
Two approached to Autoscaling |
Dynamic Scaling and Predictive Scaling |
|
|
S3 Standard IA |
Durable, immediately available, infrequent access, lower storage price, higher retrieval, stores data in minimum of 3AZs |
|
|
What is Amazon EFS good for? |
Big data and analytics, media processing, content management, web serving, home directories |
|
|
What type of storage is ideal for users where lots of services and resources need to access the same data at the same time? |
Amazon EFS |
|
|
One Zone Infrequent Access |
Stores data in only 1AZ, even lower storage price than standard IA |
|
|
What is One Zone IA good for? |
Good if you want to save on storage costs and you can easily reproduce your data if the one AZ fails |
|
|
Glacier Instant Retrieval |
For archived data that requires immediate access, can retrieve objects within milliseconds with same performance as S3 standard |
|
|
Glacier Flexible Retrieval |
Low cost storage for data archiving, retrieval takes minutes to hours |
|
|
Glacier Deep Archive |
Lowest cost storage for long term retention, retrieves objects within 12 hours |
|
|
What type of storage would be best for a photo analysis website? Needs to index many photos and allow multiple users to view at a time |
S3 - web enabled, serverless |
|
|
Which storage for a 80GB video file to edit |
EBS - block storage so only need to update the files containing the edits |
|
|
EFS |
Elastic File System |
|
|
Amazon Elastic File System |
Fully managed service that makes it easy to set up and scale file storage, think shared network storage |
|
|
Amazon EFS is a regional service, True of False? |
True |
|
|
Benefits of DynamoDB |
Serverless, autoscales, massively scalable, highly performant, great for datasets with variation from item to item, go global with touch of a button |
|
|
Amazon RedShift |
Fast fully managed data warehouse that makes it easy to analyse your data with standard SQL and existing BI tools |
|
|
What data warehousing service is the best for big data analytics? |
Amazon RedShift |
|
|
What is good for OLAP workloads? |
Amazon RedShift |
|
|
Amazon Neptune |
Graph database service for apps requiring highly connected datasets |
|
|
Amazon DocumentDB |
Document database for supporting MongoDB workloads |
|
|
Amazon Quantum Ledger Database |
A ledger database service, immutable system of record where entries cannot be removed from audits |
|
|
Amazon QLDB |
Amazon Quantum Ledger Database |
|
|
Amazon Managed Blockchain |
Service to create and manage blockchain networks with open source frameworks |
|
|
Amazon Elasticache |
Service that adds caching layers on top of your database to improve read time of common requests |
|
|
Amazon RDS |
Amazon Relational Database Service |
|
|
Amazon DAX |
DynamoDB Accelerator |
|
|
Amazon DynamoDB Accelerator |
An in memory cache for DynamoDB to improve response times from single digit milliseconds to microseconds |
|
|
Amazon EFS scales automatically to demand, True or False |
True |
|
|
What protocol does EFS use? |
NFS protocol |
|
|
Amazon Relational Database Service |
A managed service that makes it easy to set up, operate and scale a relational database in the cloud |
|
|
What database engines is Amazon RDS offered on? |
Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle Database and Microsoft SQL Server |
|
|
What storage type / database is good for OLTP? |
Amazon RDS |
|
|
What does Amazon RDS charge for? |
DB Instance hours, Storage, provisioned IOPS, backup storage |
|
|
Amazon Aurora |
An enterprise class relational database compatible with PostgreSQL and MySQL but much faster than them both |
|
|
Amazon DynamoDB |
Fully managed NoSQL database that provides fast and predictable performance with seamless scalability |
|