Ultimate AWS associate Flashcards
(135 cards)
What problems exist with a traditional IT approach (owning / renting infrastructure)?
Costs for renting, power, cooling, maintenance, adding and replacing hardware takes time + cost, limited elasticity on demand, monitoring costs, security (physical and software), environmental disasters
What is cloud computing?
ON-DEMAND delivery of compute, power, database storage, applications and other IT resources. It is Pay-as-you-go, specific to your needs. Almost instant access.
Deployment models, Private vs
Private: single organization - complete control, security for sensitive needs.
Public: Cloud resource owned and operated by third-party cloud service provider. AWS
Hybrid: Keep some servers on premise, extend some capabilities into the cloud.
Five characteristics of cloud computing?
- On-demand self service: no human interaction required to access.
- Broad network access: Resources available over the network, accessed by diverse client platforms
- Multi-tenancy and resource pooling: multiple customers can share same infrastructure + apps with security and privacy & serviced from the same physical resources.
- Rapid elasticity and scalability (major advantage)
- Measured service (pay for use)
Six advantages of the cloud
- Trading capital expensive for operational (not buying infra, paying for using instead)
- Benefit from economies of scale from large infra provider
- Stop guessing capacity, scaled on measured usage.
- Increased speed + agility
- Stop spending money running and maintaining data centers
- Going global in minutes leveraging AWS infra
Problems we solve:
We are flexible, cost effective, scalable, elastic and highly available while being agile (rapidly developing, testing and launching software)
Types of cloud computing?
IaaS: providing building blocks for cloud IT, provides networking, computers, data storage
PaaS: Everything managed by service provider, all you need is to focus on deployment and management of Apps.
SaaS: Completed product, run and managed by service provider for you to use
Three different pricing models, compute, storage, data give a brief description of each
Compute, pay for compute time.
Storage - data stored in cloud.
Data transfer (only when it is going OUT) - data IN is free.
How do you choose an AWS region?
It depends,
Compliance: governments want data to be local? can’t leave?
Proximity: does the application need reduced latency?
Available services: new services and features aren’t available in every region
Pricing: varies from region to region.
What is comprised of an availability zone?
One or more discrete data centers with redundant power, networking and connectivity. Each being separate from each other to avoid disasters, all connected with high bandwidth, low latency networking.
What are points of presence?
Edge locations, it delivers to end users with lower latency by caching information that is frequently accessed.
What is a region vs an availability zone?
AWS Regions are separate geographic areas. AWS Regions consist of multiple, physically separated and isolated Availability Zones
What is the name for a IAM policy assigned only to an individual?
This is an inline policy
An IAM policy document consists of ….
A version, statement (Sid: statement id, effect (allow/deny), principle (account/user/role), action (actions that are allowed), resource: what can be accessed, AND lastly, condition: for when policy is in effect.
How can you increase security for an IAM user?
setting a password policy, password expiry, prevent password re-use, activating MFA.
The three options to access AWS?
- Management console
- Command Line Interface protected by access keys
- Software Developer Kit (SDK) protected by access keys
How do you create access keys for CLI
IAM -> Users -> username -> create access key
Asks for use case
create access key, download .csv file
in CLI it will just ask for these details. Enter them. Done.
Cloudshell vs CLI
AWS CloudShell is a browser-based shell that you can launch directly from your AWS console and run the standard CLI commands. CloudShell is an extension to the AWS CLI and offers many advantages compared to AWS CLI.
An EC2 instance needs to action something what do we need to do?
the EC2 instance will require permission given by an IAM role. IAM roles can be given to services.
What does an IAM credential report show?
All account’s users and the status of their credentials
Access advisor would be used for what purpose? what kind of ‘level’ is this? individual, account, user, group?
shows service permissions granted to a user and when those services were last accessed. User-level.
Shared responsibility model for IAM?
I am responsible for creating users, groups, roles, policies management and monitoring, using MFA on all accounts, rotating keys, IAM tools to apply appropriate permissions, analyze access patterns and review permissions.
List two security tools for IAM
IAM Credentials report (all account’s users and the status of their credentials) and the access advisor (service permissions granted to a user and when last accessed)
List the capabilities surrounding EC2
- Renting virtual machines (EC2)
- Storing data on virtual drives (EBS)
- Distributing load across machines (ELB)
- Scaling services using an auto-scaling group (ASG)