Cram Deck Flashcards
Benefits of Cloud Computing
Opex vs. Capex, Running data center, capacity guessing, massive economies of scale, increase speed and agility, global in minutes
EC2
Elastic compute cloud. General purpose, compute optimized, memory optimized, accelerated, storage optimized
EC2: General Purpose
balance of compute, memory, networking. Application servers, gaming servers, backend servers for enterprise applications, small and medium databases
EC2: Compute Optimized
High performance processing. high performance web servers, compute intensive applications servers, and dedicated gaming servers, batch processing workloads that require processing many transactions in a single group
EC2: Memory Optimized
fast performance for workloads that process large datasets in memory. workload that requires large amounts of data to be preloaded before running an application. This scenario might be a high performance database or a workload that involves performing real time processing of a large amount of unstructured data.
EC2: Accelerated Computing
hardware accelerators, or coprocessors, to perform some functions more efficiently than is possible in software running on CPUs. floating point number calculations, graphics processing, and data pattern matching.
EC2: Storage Optimized
require high, sequential read and write access to large datasets on local storage.
distributed file systems, data warehousing applications, and high frequency online transaction processing (OLTP) systems.
Storage optimized instances are designed to deliver tens of thousands of low latency, random IOPS to applications.
IOPS
input/output operations per second
performance of a storage device.
EC2 Pricing Models
On demand, EC2 savings plans, reserved instances, spot instances, dedicated hosts.
EC2: On Demand Pricing
short term, irregular workloads that cannot be interrupted.
No upfront costs or minimum contracts apply.
run continuously until stopped
pay for compute time used
applications that have unpredictable usage patterns
not for work lasting > year (use Reserved Instances).
EC2: Savings Plans Pricing
1 - 3 year term.
savings of up to 72% over On Demand costs.
EC2: Reserved Instances Pricing
Standard, Convertible, Scheduled
Standard & Convertible for 1 - 3 year
Scheduled Reserved Instances for a 1 year term.
greater cost savings with the 3 year option.
EC2: Spot Instances Pricing
For flexible start and end times, or that can withstand interruptions.
cost savings at up to 90% vs. On Demand
2-Minute Warning before stop/hibernate/terminate
EC2: Dedicated Hosts Pricing
physical servers with Amazon EC2 instance capacity that is fully dedicated to your use.
use your existing per socket, per core, or per VM software licenses.
On Demand Dedicated Hosts and Dedicated Hosts Reservations.
Dedicated Hosts are the most expensive.
EC2 Auto Scaling
automatically add or remove Amazon EC2 instances in response to changing application demand.
Dynamic scaling responds to changing demand.
Predictive scaling automatically schedules on predicted demand.
Can set minimum capacity, desired capacity, and maximum capacity
Elastic Load Balancing
automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances.
Amazon SNS
Simple Notification Service is a publish/subscribe service. NS topics, a publisher publishes messages to subscribers. subscribers can be web servers, email addresses, AWS Lambda functions, etc.
Amazon SQS
Simple Queue Service.
send, store, and receive messages between software components, without losing messages or requiring other services to be available.
Serverless Computing
code runs on servers, but you do not need to provision or manage these servers.
focus more on innovating new products and features instead of maintaining servers.
AWS Lambda, fargate, sqs, sns, s3, etc.
AWS Lambda
Run code without provision or manage servers.
pay only for the compute time that you consume.
E.G. automatically resizing uploaded images to the AWS Cloud.
Containers
package application code and dependencies into a single object.
can also use containers for processes and workflows in which there are essential requirements for security, reliability, and scalability.
Amazon ECS
Elastic Container Service.
highly scalable, high performance container management system that enables you to run and scale containerized applications on AWS.
supports Docker containers.
Amazon EKS
Elastic Kubernetes Service. fully managed service that you can use to run Kubernetes on AWS.
Kubernetes
open source software that enables you to deploy and manage containerized applications at scale. A large community of volunteers maintains Kubernetes, and AWS actively works together with the Kubernetes community.
AWS Fargate
serverless compute engine for containers. It works with both Amazon ECS and Amazon EKS. do not need to provision or manage servers. AWS Fargate manages your server infrastructure for you.
AWS Regions
consists of multiple, isolated, and physically separate AZ’s within a geographic area. 24 regions today. Select based on compliance, proximity, available services, pricing.
AWS AZs
Availability Zones. 77 globally. is a single data center or a group of data centers within a Region. located tens of miles apart from each other, close for low latency between AZs, but distant enough to reduce the chance disaster affects multiple AZs.
Edge Locations
a site that Amazon CloudFront uses to store cached copies of your content
AWS Management Console
a web based interface for accessing and managing AWS services. can also use the AWS Console mobile application. Multiple identities can stay logged into the AWS Console mobile app at the same time.
AWS Command Line Interface
enables you to control multiple AWS services directly from the command line within one tool. AWS CLI is available for users on Windows, macOS, and Linux. Can automate the actions that your services and applications perform through scripts.
AWS SDK
Software Development Kits. use AWS services through an API designed for your programming language or platform. Supported programming languages include C++, Java, .NET, and more.
AWS Elastic Beanstalk
you provide code and configuration settings for web apps, and Elastic Beanstalk deploys the resources necessary to perform the following tasks: Adjust capacity, load balancing, automatic scaling, application health monitoring.
AWS CloudFormation
treat your infrastructure as code. you can build an environment by writing lines of code instead of using the AWS Management Console to individually provision resources..
Amazon VPC
Virtual Private Cloud. A networking service. enables you to provision an isolated section of the AWS Cloud. VPCs connected via IG, VPG, AWS DC. Resources in VPC organized into subnets.
IG
Internet Gateway. A connection between a VPC and the internet.
VPG
Virtual Private Gateway. allows protected internet traffic from approved networks into VPC. enables virtual private network (VPN) connection.
AWS DC
Direct Connect. establish a dedicated private connection between your data center and a VPC.
Subnets
Public and Private subnets. Networking organization within VPC.
ACL
Access Control List. Virtual firewall in VPC. checks packet permissions for subnets. Default allows all in/out traffic. Custom network ACLs in/out denied until rules added. All ACLs Explicit Deny… if no matching rule, is denied.
Stateless Filtering
Network ACLs perform stateless packet filtering. They remember nothing and check packets that cross the subnet border each way: inbound and outbound.
Security Groups
a virtual firewall that controls inbound and outbound traffic for an Amazon EC2 instance. By default, a security group denies all inbound traffic and allows all outbound traffic. Multiple Amazon EC2 instances within a subnet can be same SG or different SGs.
Stateful Filtering
Security groups perform stateful packet filtering. They remember previous decisions made for incoming packets.
DNS
Domain Name System. Phone book for the internt. Matches domain names with IP addresses.
Amazon Route 53
Is a DNS web service. Connects user requests to infrastructure running in AWS. Can register domain names with R53 and transfer DNS records for existing domain names managed by other domain registrars.
Amazon EBS
Elastic block store.
block level storage for EC2.
if EC2 instance terminated, data on EBS volume remains available.
incremental backups of EBS volumes via creating Amazon EBS snapshots.
Single AZ.
Instance Store
temporary block storage for EC2 instance.
physically attached to EC2 host
same lifespan as EC2 instance.
data in instance store lost at EC2 termination.
EBS Snapshot
Elastic Block Store incremental backup.
Amazon S3
Simple Storage Service
Object level storage in buckets.
Any file type.
Max file size = 5TB.
Amazon S3 Classes
Standard, Standard Infrequent Access (S IA), One Zone Infrequent Access (1Z IA), Intelligent Tiering, Glacier, Glacier Deep Archive).
S3 Standard
Designed for frequently accessed data, min 3x AZ. websites, content distribution, and data analytics. S3 Standard has a higher cost
S3 Standard IA
Ideal for infrequently accessed data, Similar to S3 Standard but has a lower storage price and higher retrieval price. Infrequently accessed, but needs high availability. Min 3x AZs. Lower storage price, higher retrieval price.
S3 One Zone IA
Stores data in a single Availability Zone, Has a lower storage price than S3 Standard IA.
S3 Intelligent Tiering
Ideal for data with unknown or changing access patterns, Requires a small monthly monitoring and automation fee per object. @ 30 days > IA tier, @ 90 days > archive tier, @180 days, > deep archive tier. If access in IA tier, moves back to Standard.
S3 Glacier
Durable (11 Nines of durability)
Lower cost than other s3 products
retrieval: Expedited: 1 5 min Standard: 3 5 hours Bulk: 5 12 hours AES 256 encryption multiple copies on multiple devices, multiple AZs Write once/read many capable
S3 Glacier Deep Archive
Durable (11 Nines of durability)
Lowest cost object storage class
retrieval:
Standard: 12 hours Bulk: 48 hours moves copy of data into temporary S3 1Z
File Storage
multiple clients (such as users, applications, servers, and so on) can access data that is stored in shared file folders. In this approach, a storage server uses block storage with a local file system to organize files. Clients access data through file paths. ideal for use cases in which a large number of services and resources need to access the same data at the same time.
Amazon EFS
Elastic File System
Linux file systems
in cloud and/or on prem servers (via direct connect or vpn) automatically scales with files stored 2 Performance Modes General Purpose, Max I/O 2 Storage Classes Standard, Infrequent Access (IA)
Across multiple AZs
no min fees or setup costs
Relational Database
data is stored in a way that relates it to other pieces of data. use structured query language (SQL) to store and query data.
Amazon RDS
Relational Database Service. managed service that automates tasks such as hardware provisioning, database setup, patching, and backups. Can integrate with other AWS services (e.g. Lambda).
Amazon RDS DB Engines
Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle Database, Microsoft SQL Server
Amazon Aurora
enterprise class relational database. It is compatible with MySQL and PostgreSQL. up to five times faster than standard MySQL databases and up to three times faster than standard PostgreSQL databases. replicates six copies of your data across three Availability Zones and continuously backs up your data to Amazon S3.
Nonrelational Database
you create tables. A table is a place where you can store and query data. NoSQL. E.g. key value pairs.
Amazon DynamoDB
a key value database service. It delivers single digit millisecond performance at any scale. Serverless. Automatic Scaling.
Amazon Redshift
a data warehousing service that you can use for big data analytics. It offers the ability to collect data from many sources and helps you to understand relationships and trends across your data.
AWS DMS
Database Migration Service. enables you to migrate relational databases, nonrelational databases, and other types of data stores. Move from source to target db. Can be same or different types. Source data operational during migration. Dev and testing, consolidation, replication.
Amazon DocumentDB
a document database service that supports MongoDB workloads.
Amazon Neptune
a graph database service. You can use Amazon Neptune to build and run applications that work with highly connected datasets, such as recommendation engines, fraud detection, and knowledge graphs.
Amazon QLDB
Quantum Ledger Database is a ledger database service. You can use Amazon QLDB to review a complete history of all the changes that have been made to your application data.
Amazon Managed Blockchain
a service that you can use to create and manage blockchain networks with open source frameworks. Blockchain is a distributed ledger system that lets multiple parties run transactions and share data without a central authority.
Amazon ElastiCache
a service that adds caching layers on top of your databases to help improve the read times of common requests. It supports two types of data stores: Redis and Memcached.