List the different cloud architecture design principles
security 24%
aws shared responsibility model
aws cloud security and compliance concepts
access management capabilities
resources for security support
Technology 36%
methods of deploying and operating in the AWS cloud
aws global infrastructure
core AWS services
technology support resources
Billing and pricing 12%
pricing models
account structures in relation to AWS billing and pricing
billing support resources
questions can be
multiple choice or
multiple response
resources
AWS training
AWS whitepapers
support plans
basic cloud computing
the practice of using a network of
remote servers hosted on the
internet to store, manage, and
process data, rather than a local
server or a personal computer
on-premise vs cloud providers
6 advantages and benefits
trade capital expense for variable expense
benefit from a massive economies of scale
stop guessing capacity
increase speed and agility
stop spending money on running
and maintaining data centers
go global in minutes
types of cloud computing
Saas
PaaS
IaaS
deployment models
cloud
hybrid
on-premise
global infrastructure
regions
geographically
distinct location
has atleast 2 AZs
US-EAST is the
biggest region
US-EAST-1 is where
the billing info can
be seen
not all services
are available for
all regions!
availibility zones
datacenter owned
and operated by AWS
atleast 2 per region
represented by region
code followed by a letter
identifier us-east-1a
multi-AZ - distributing your
instances across multiple AZs
allows failover config for handling
requests when one goes down
<10 ms latency between AZs
edge location
datacenter owned by trusted partner
serve requests for cloudfront and route53
requests going to either of
these services will be
routed to the nearest edge
location automatically
S3 transfer acceleration and API gateway also use AWS Edge Network
low latency no matter where the end user is geographically located
outnumber AZs
govcloud regions
special region for sensitive info
US citizens on US soil
Billing
preferences
can enable pdf invoicing
can enable free tier alerts
can enable custom alerts which can't be disabled
budgets
cost
Monitor your costs against a specified amount and receive
alerts when your user-defined thresholds are met.
reservation
Track the RI Utilization or RI Coverage associated with your reservations. These budgets
support Amazon EC2, RDS, Redshift, ElastiCache and Elasticsearch reservation models.
savings plan
Track the utilization and coverage associated with your Savings Plans.
usage
Monitor your usage of one or more specified
usage types or usage type groups and receive
alerts when your user-defined thresholds are met.
it's all on US-EAST 1 (N. Virginia)
cloudwatch
Set alarms on any of your metrics
to receive notifications when
your metric crosses your
specified threshold.
IAM
security principles
Establishing a principle of least privilege ensures that identities are only
permitted to perform the most minimal set of functions necessary to
fulfill a specific task, while balancing usability and efficiency.
Centrally manage and govern your environment as you scale your AWS
resources. Easily create new AWS accounts, group accounts to organize
your workflows, and apply policies to accounts or groups for governance.
Manage users and access across multiple services from your preferred identity source.
Using AWS Single Sign-On centrally manage access to multiple AWS accounts and
provide users with single sign-on access to all their assigned accounts from one place.
For extra security, we recommend that you require multi-factor authentication (MFA) for all users.
Change your own passwords and access keys regularly,
and make sure that all users in your account do as well.
Enable IAM Access Analyzer to analyze public, cross-account, and cross-organization access.
creating users
done by admin
most ppl should be power users,
instead of admin best practice
EC2
actual servers
connecting
you need to setup IAM or something else at first
IAM
SSM
AWS
recommended
way
simple session manager
has history
autoscaling groups
AMI
created from ec2 instance
creates instances as needed
EC2 - pricing models
reserved
BEST LONG TERM (up to 75% off)
steady state or predictable usage
commit to EC2 over 1 or 3 year term
can resell unused reserved instances
on demand
low cost and fleixble
only pay per hour
short term, spiky, unpredictable workloads
cannot be interrupted
for first time apps
LEAST COMMITEMENT
spot
requests spare computing capacity
flexible start and end times
can handle iterruptions
for non-critical background jobs
BIGGEST SAVING (up to 90%)
dedicated
MOST EXPENSIVE
dedicated servers
can be on-demand or reserved (upto 70% off)
when u need a guarantee of isolate hardware (enterprise needs)
Elastic Load Balancer
used for preventing downtime
types
applicaton
network
classic
target group
reference to instances to which to route traffic to
has a domain
name to point
traffik to
terminating it does not kil target group instances
S3
cloud storage
have their own unique names globally
s3 is global but buckets are regional
Cloudfront
content distribution network
can link to bucket, bucket will be copied around
the world for efficiency, to edge locations
RDS
tiers
production
test
free tier
various options
common ones
aurora - kinda mysql kinda postgresql
lambda
different runtimes
can run for ~50 max!
various triggers and integrations
Support plans
4 levels
basic
developer
business
enterprise
differences
response times
advisory checks
pricing
contact options
marketplace
various categories
can be free or associated charge
you can also subscribe to stuff
trusted advisor
advises u on security, saving money, performance, service limits and fault tolerance
7 on the free tier
types
cost optimization
performance
security
service limits
fault tolerance
consolidated billing
1 org, multiple member accounts
treated as they were 1 billing account
Cost explorer
visualiser for incurred cost
lots of options for visualizing and filtering
volume discounts
the more you use something, the less u pay?
Budgets
alarms on steroids
3 types
cost
usage
reservation
can be tracked monthly, quartely, yearly levels with custom start and end dates
exceed or approaching your budget
Total Cost Ownership
estimate how much you would save when moving to AWS from on-premise
provides detailed set of reports
AWS landing zone
quickly setup a secure AWS multiaccount
AWS account Vending Machine
auto provision and config new accounts via Service Catalog Template
uses Single Sign-on (SSO) for managing accessing accounts
tags
words / phrases that act as metadata for organizing your AWS resources
resource groups - collection of resources that share one or more tags
quick starts
prebuilt templates by AWS and AWS partners
3 parts
1. reference architecture for deployment
2. aws cloud formation templates that automate and configure the deployment
3. deployment guide explaining the architecture and implementation in detail
cost and usage report
place the reports in s3
use athena to turn the report into a queryable database
use quicksight to visualize your billing data as graphs
organizations and accounts
organizations
centrally manage billing, control access, compliance, security and share resources across your AWS account
root account user
is a single sign-in identity that has complete access to all AWS services and resources in an account
organization units
group of AWS accounts within an organization which can also contain other organizational units
service control policies
give central control over the allowed permissions for all accounts in your organization
networking
NACLs - firewalls at the subnet level
security groups act as firewall at the instance level
VPC logically isolated section of the AWS cloud
route table
IGW
Subnets are logical partition of an IP network into multiple smaller network segments
Database services
most important
dynamo db
nosql key/value db (cassandra)
redshift
columnar database, petabyte warehouse
aurora
mysql (5x faster) and psql (3x faster) fully managed
serverless - only runs when u need it, like aws lambda
other
documentdb
nosql document database that is mongodb compatible
neptune - managed graph database
elasticcache
redis or memcached db
provisioning - the allocation or creation of resources and services to a customer
elastic beanstalk - deploy and scale web apps (kinda like heroku)
OpsWorks - confg management service that provides managed instances of Chef and Puppet
CloudFormation - infrastrucre as code, JSON or YAML
AWS QuickStart - premade packages that can launch and configure your AWS compute, network, storage, and other services required to deploy
AWS marketplace - digital catalogue of software listings from vendors
computing
EC2 - elastic compute cloud
elastic container service - docker as a service
fargate - microservices where u dont think about the infrastructure, pay per task
EKS - kubernetes as a service
lambda - serverless functions
elastic beanstalk - orchestrate various AWS services
aws batch - plans, schedules, and executes your batch computing workloads across the full range of AWS compute services such as ec2 and spot instances
storage
s3
s3 glacier - low cost storage for archiving and long-term backup
storage gateway - hybrid cloud storage with local caching
Elastic Block Storage - hard drive in the cloud to attach to EC2 instances